Lines Matching refs:posix
3 * posix/regexec.c (find_collation_sequence_value): Fix skipping
167 * posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`.
207 * posix/bug-getopt1.c: New file.
208 * posix/bug-getopt2.c: New file.
209 * posix/bug-getopt3.c: New file.
210 * posix/bug-getopt4.c: New file.
211 * posix/bug-getopt5.c: New file.
216 * posix/getopt.c (_getopt_internal_r): Skip optional - or + before
220 * posix/getopt.c (_getopt_internal_r): Reject '-;' as short
226 * posix/getopt.c (_getopt_internal_r): Handle '-Wfoo' identically
297 * posix/getopt.c (_getopt_internal_r): Fix arguments printed in error
315 * sysdeps/posix/remove.c (IS_NO_DIRECTORY_ERROR): Define.
366 * posix/gai.conf: Document problems with IPv4 site-local addresses and
401 * posix/glob.c (glob): Initialize oldcount early, too.
426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't assume success always
432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before
451 * sysdeps/posix/cuserid.c: Fix typo.
471 * sysdeps/posix/cuserid.c (cuserid): Make sure the returned string
491 * posix/tst-gnuglob.c: Add tests with empty patterns. For this
494 * posix/bug-glob3.c: New file.
495 * posix/Makefile (tests): Add bug-glob3.
500 * posix/glob.c (glob): Clean up gl_pathc and gl_pathv earlier.
564 * posix/getconf.c: Update copyright year.
1068 * posix/regexec.c (extend_buffers): Avoid overflow in realloc
1072 * posix/regexec.c (re_copy_regs): Don't leak when allocation
1076 * posix/regexec.c (re_search_2_stub): Check for overflow
1080 * posix/regexec.c (re_search_internal): Avoid overflow
1084 * posix/regexec.c (prune_impossible_nodes): Avoid overflow
1088 * posix/regexec.c (build_trtable): Avoid arithmetic overflow
1092 * posix/regexec.c (re_search_2_stub): Use simpler method than
1097 * posix/regex_internal.c (re_string_skip_chars): Simplify test for
1103 * posix/regex_internal.c (re_string_skip_chars): Don't assume WEOF
1107 * posix/regex_internal.c (re_string_reconstruct): Remove declaration
1111 * posix/regex_internal.c (re_dfa_add_node): Extend the overflow
1115 * posix/regex_internal.c (re_string_realloc_buffers):
1173 * posix/regcomp.c: Fix a few more cases of ignored return values.
1174 * posix/regex_internal.c: Likewise.
1175 * posix/regexec.c: Likewise.
1212 * posix/regcomp.c (alc_eclosure_iter): Do not ignore
1227 * posix/unistd.h: Relax conditions for ualarm, usleep, getwd, vfork,
1241 * posix/unistd.h: Change getpagesize and getdtablesize declaration
1246 * posix/unistd.h: Declare getpagesize in _GNU_SOURCE mode.
1288 * posix/sched.h: Define time_t and pid_t for XPG7.
1358 * posix/sys/wait.h: Don't define W* macros etc. if
1382 * posix/unistd.h: Likewise.
1384 * posix/unistd.h: Include environments.h also for XPG6 and up.
1414 * posix/sys/types.h: Define id_t, clock_t, blksize_t for XPG7.
1425 * posix/glob.h: Define size_t.
1427 * posix/sys/wait.h: Define idtype_t and declare waitid for XPG7.
1521 * posix/confstr.c: Implement _CS_V6_ENV and _CS_V7_ENV.
1696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix error handling of
1708 * posix/unistd.h (execve, fexecve, execv, execvp, execvpe): Mark the
1844 * posix/bug-regex30.c: New file.
1845 * posix/Makefile: Add rules to build and run bug-regex30.
1846 * posix/regcomp.c (re_compile_fastmap_iter): Add all multibyte
1887 * posix/bug-regex29.c: Include stdio.h.
2061 * sysdeps/posix/tempname.c (__gen_tempname): Take new second
2360 * posix/getconf.c (main): Handle -- on command line.
2379 * posix/getconf.c (vars): Handle POSIX2_LINE_MAX in addition to
2530 * posix/regcomp.c (parse_dup_op): Verify the expression is correctly
2532 * posix/Makefile (tests): Add bug-regex29.
2533 * posix/bug-regex29.c: New file.
2535 * posix/unistd.h: Define _POSIX_VERSION and _POSIX2_* correctly if
2889 * sysdeps/posix/getaddrinfo.c (gaih_inet): If NSS module contains no
2932 * posix/tst-rfc3484.c (do_test): Initialize entire sockaddr_in
2934 * posix/tst-rfc3484-2.c (do_test): Likewise.
2935 * posix/tst-rfc3484-3.c (do_test): Likewise.
3376 * posix/getconf.c (main): Likewise.
3426 * posix/tst-cpucount.c: Don't try more than CPU_SETSIZE bits.
3453 * sysdeps/posix/libc_fatal.c: Allocate buffer for message, copy it,
3595 * posix/Makefile (routines): Add execvpe.
3596 * posix/Versions: Export execvpe for GLIBC_2.11.
3597 * posix/execvp.c: Now only a wrapper. Move code to...
3598 * posix/execvpe.c: ...here. New file.
3599 * posix/unistd.h: Declare execvpe.
3763 * posix/sys/wait.h: Fix typos. Pretty printing.
4014 * posix/bits/posix1_lim.h: Cleanup namespace a bit.
4128 * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy
4131 * sysdeps/posix/preadv.c: Fix up comment.
4216 * sysdeps/posix/preadv.c: Reading of zero bytes is no error.
4217 * sysdeps/posix/readv.c: Likewise.
4455 * sysdeps/posix/readv.c: Since read is a cancellation point we have
4457 * sysdeps/posix/writev.c: Likewise for write.
4677 * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND,
4681 * posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L.
4836 * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and
4840 * posix/unistd.h: fexecve is in POSIX 2008.
4881 * posix/Versions: Export __posix_getopt.
4882 * posix/getopt.c (_getopt_initialize): Take additional parameter.
4890 * posix/getopt.h: Add redirection for getopt.
4891 * posix/getopt1.c (getopt_long): Pass additional zero to
4896 * posix/getopt_int.h: Adjust declarations of _getopt_internal and
4903 * sysdeps/posix/sysconf.c (__sysconf): Handle
4942 * posix/spawn.h: Likewise.
5044 * posix/confstr.c: Handle SUSv5 and SUSv7 environments.
5045 * posix/getconf.c: Likewise.
5046 * posix/sysconf.c: Likewise.
5047 * sysdeps/posix/sysconf.c: Likewise.
5048 * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7
5085 * posix/getconf.c (main): Send --version output to stdout.
5328 * posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0]
5330 * posix/rxspencer/tests: Add testcases.
5335 * posix/bug-regex17.c: Add testcases.
5336 * posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
5355 * posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc.
5356 * posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer,
5358 * posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define.
5396 * posix/getconf.c: Update copyright year.
5420 * sysdeps/posix/getaddrinfo.c (gaih_inet): When the
5495 * posix/regex_internal.h (build_wcs_upper_buffer):
5500 * posix/globtest.sh: Use mktemp to create temporary file and
5527 * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use
5569 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search
5744 * posix/spawnattr_getschedparam.c (posix_spawnattr_getschedparam):
5777 * posix/bits/unistd.h (getgroups): Call __getgroups_chk for
6071 * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline
6130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial
6186 * posix/wordexp.c (exec_comm): Use pipe2 if possible to create
6337 * posix/unistd.h: Declare dup3 and pipe2.
6506 * posix/tst-regex.c (main): Rename to...
6531 * sysdeps/posix/getaddrinfo.c: Move _res_hconf_init call to a
6550 * sysdeps/posix/getaddrinfo.c (gai_inet): Remove unnecessary test.
6620 * posix/glob.c (globfree): Likewise.
6770 * sysdeps/posix/getaddrinfo.c (gaih_inet): If nscd reports no
6782 * sysdeps/posix/getaddrinfo.c (gaih_inet): After gethostbyname4_r
6800 * posix/regcomp.c (optimize_utf8): Add a note on why we test
6807 * posix/regex_internal.c (create_cd_newstate): Don't look at
6842 * sysdeps/posix/getaddrinfo.c (get_scope): Loopback addresses have
6847 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init
6849 * posix/tst-rfc3484.c: Add dummy definition of _res_hconf_init.
6850 * posix/tst-rfc3484-2.c: Likewise.
6851 * posix/tst-rfc3484-3.c: Likewise.
6853 * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite,
7017 * sysdeps/posix/getaddrinfo.c: Use gethostbyname4_r function is
7419 * sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection.
7421 * posix/getopt.c (_getopt_internal_r): Remove old POSIX-demanded
7470 * posix/gai.conf: Fix comment for scope nullbits.
7471 * sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present,
7528 * sysdeps/posix/sprofil.c (__sprofil): Likewise.
7579 * posix/getopt.c (_getopt_internal_r): Clarify error message by
7892 * posix/regex.h: Likewise.
7897 * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change
7933 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of
7939 * sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order
7951 * posix/tst-rfc3484.c: Adjust for change of rfc3484_sort.
7952 * posix/tst-rfc3484-2.c: Likewise.
7953 * posix/tst-rfc3484-3.c: Likewise.
8020 * posix/getconf.c: Update copyright year.
8099 * posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/,
8225 * posix/unistd.h: Declare fsync also for __USE_XOPEN2K.
8226 * posix/regex.h (REG_ENOSYS): Likewise.
8298 * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables.
8304 * posix/tst-rfc3484.c (do_test): Initialize scopes.
8305 * posix/tst-rfc3484-2.c (do_test): Likewise.
8306 * posix/gai.conf: Document scopev4 defaults.
8307 * posix/Makefile (tests): Add tst-rfc3484-3.
8308 * posix/tst-rfc3484-3.c: New file.
8310 * sysdeps/posix/getaddrinfo.c (default_labels): Describe entry for
8312 * posix/gai.conf: Update for current default tables.
8376 * sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code.
8381 * posix/tst-rfc3484.c: Adjust for addition of index field and change
8383 * posix/tst-rfc3484-2.c: Likewise.
8396 * posix/tst-rfc3484.c: Adjust for addition of prefixlen field.
8397 * posix/tst-rfc3484-2.c: Likewise.
8413 * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element.
8730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): When sorting addresses
8816 * posix/glob.c: Reimplement link_exists_p to use fstatat64.
8818 * posix/glob.c: Add some branch prediction throughout.
8823 * sysdeps/posix/getaddrinfo.c (struct sort_result): Add
8828 * posix/tst-rfc3484.c (do_test): Adjust for addition of
8830 * posix/tst-rfc3484-2.c (do_test): Likewise.
8905 * posix/fnmatch_loop.c: Take rule index returned as part of
8907 * posix/regcomp.c: Likewise.
8908 * posix/regexec.c: Likewise.
8976 * posix/glob.c (glob): Recognize patterns starting \/.
8977 * posix/tst-gnuglob.c (find_file): Handle absolute path names.
9196 * posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn,
9238 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use
9244 * posix/regcomp.c (lookup_collation_sequence_value): Check that
9285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid unnecessary
9572 * posix/unistd.h: Include bits/unistd.h when __extern_always_inline
9647 * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross
9726 * posix/regex_internal.h: Prevent some declarations and definitions
9729 * posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT.
9730 * posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise.
10085 * sysdeps/posix/tempname.c: Add new parameter which is added to
10173 * posix/Makefile ($(objpfx)getconf.speclist): Fix typo.
10243 * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to
10246 * posix/Makefile ($(objpfx)getconf.speclist): New target.
10307 * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree.
10309 * posix/sched_cpualloc.c: New file.
10310 * posix/sched_cpufree.c: New file.
10311 * posix/tst-cpuset.c: New file.
10312 * posix/Versions: Export __sched_cpualloc and __sched_cpufree for
10315 * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S
10320 * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE
10381 * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe
10384 * posix/runtests.c (struct a_test): Make data field const char *.
10495 * sysdeps/posix/posix_fallocate64.c: Undefine
10523 * posix/Makefile (install-others-programs): Likewise.
10625 * posix/sched.h: Likewise.
10647 * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS.
10727 * posix/getconf.c: Likewise.
11026 * posix/sched_cpucount.c: Adjust.
11028 * posix/sched_cpucount.c (__sched_cpucount): Allow using special
11487 * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add
11601 * posix/unistd.h: Remove __THROW from fdatasync.
11717 * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate
11743 * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):
11814 * sysdeps/posix/getaddrinfo.c: Remove commented-out code.
11824 * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
11983 * posix/sys/wait.h: Remove unnecessary forward declaration.
11992 * posix/Makefile (routines): Add sched_cpucount.
11994 * posix/sched_cpucount.c: New file.
11995 * posix/tst-cpucount.c: New file.
11996 * posix/Versions: Export __sched_cpucount with version GLIBC_2.6.
11999 * posix/sched.h: Define CPU_COUNT.
12003 * posix/fnmatch.c (STRUCT): Define.
12005 * posix/fnmatch_loop.c (struct STRUCT): New type.
12011 * posix/Makefile (tests): Add tst-fnmatch2.
12012 * posix/tst-fnmatch2.c: New test.
12199 * posix/bits/unistd.h: Likewise.
12346 * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for
12466 * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut
12539 * posix/glob.c (attribute_hidden): Define if not defined.
12549 * posix/globtest.sh: Add a couple of new tests.
12594 * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0'
12597 * posix/Makefile (tests): Add bug-regex27 and bug-regex28.
12598 * posix/bug-regex27.c: New test.
12599 * posix/bug-regex28.c: New test.
12678 * posix/wordexp.c: Likewise.
12699 * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa
12760 * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot
12926 * posix/execvp.c: Include alloca.h.
12931 * posix/Makefile: Add rules to build and run tst-vfork3 test.
12932 * posix/tst-vfork3.c: New test.
12941 * posix/getconf.c: Update copyright year.
12965 * posix/wordexp.c: Remove some unnecessary tests.
13339 * posix/unistd.h (sysconf): Remove const attribute.
13341 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for
13631 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4
13831 * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val
13843 * posix/glob.c (glob_in_dir): Add some comments and asserts to
13890 * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a
13902 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4,
14088 * posix/tst-exec.c (do_prepare): Likewise.
14089 * posix/tst-preadwrite.c (do_prepare): Likewise.
14090 * posix/tst-spawn.c (do_prepare): Likewise.
14091 * posix/tst-truncate.c (do_prepare): Likewise.
14129 * posix/regex_internal.c (re_string_reconstruct): Handle
14134 * posix/Makefile: Add rules to build and run bug-regex26 test.
14135 * posix/bug-regex26.c: New test.
14256 * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not
14258 * posix/bits/unistd.h: Likewise.
14316 sysdeps/posix/pause.c implementation instead.
14509 * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables.
14569 * sysdeps/posix/pause.c
14694 * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and
14699 * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces.
14706 * posix/regex_internal.c (re_string_skip_chars): If no character has
14712 * posix/Makefile: Add rules to build and run bug-regex25 test.
14713 * posix/bug-regex25.c: New test.
14736 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in
14863 * sysdeps/posix/getaddrinfo.c: Add unique labels to the default
14867 * posix/gai.conf: Update to match the new default tables.
15034 * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the
15040 * posix/wordexp.c: Remove numerous NULL pointer tests before FREE
15075 * posix/wordexp.c (w_addword): Free word if realloc fails and it
15078 * posix/getconf.c (print_all): Free confstr data after printing.
15081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if