author | Rich Felker <dalias@aerifal.cx> | 2022年04月20日 09:06:54 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022年04月20日 09:06:54 -0400 |
commit | 55b727d7ad6c3c8ac147622c441e2995e553e91d (patch) | |
tree | 51513fd3135f98d88e47b9af744160c52f4826db | |
parent | 8cf87b3027009c0acac591d9ae80262dc25daccf (diff) | |
download | musl-55b727d7ad6c3c8ac147622c441e2995e553e91d.tar.gz |
-rw-r--r-- | include/unistd.h | 2 | ||||
-rw-r--r-- | src/conf/confstr.c | 2 |
diff --git a/include/unistd.h b/include/unistd.h index 212263a7..80be3b26 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -467,6 +467,8 @@ pid_t gettid(void); #define _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS 1147 #define _CS_V6_ENV 1148 #define _CS_V7_ENV 1149 +#define _CS_POSIX_V7_THREADS_CFLAGS 1150 +#define _CS_POSIX_V7_THREADS_LDFLAGS 1151 #ifdef __cplusplus } diff --git a/src/conf/confstr.c b/src/conf/confstr.c index 02cb1aa2..3d417284 100644 --- a/src/conf/confstr.c +++ b/src/conf/confstr.c @@ -7,7 +7,7 @@ size_t confstr(int name, char *buf, size_t len) const char *s = ""; if (!name) { s = "/bin:/usr/bin"; - } else if ((name&~4U)!=1 && name-_CS_POSIX_V6_ILP32_OFF32_CFLAGS>33U) { + } else if ((name&~4U)!=1 && name-_CS_POSIX_V6_ILP32_OFF32_CFLAGS>35U) { errno = EINVAL; return 0; } |