Lines Matching refs:posix
3 * sysdeps/posix/getaddrinfo.c: Implement configuration file
7 * posix/gai.conf: New file.
8 * posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c.
9 * posix/tst-rfc3484-2.c: Likewise.
14 * posix/regex.h: g++ still cannot handled [restrict].
79 * posix/Makefile (tests): Add tst-getaddrinfo3.
80 * posix/tst-getaddrinfo3.c: New file.
82 * sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test
199 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused
270 * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags
272 * posix/tst-rfc3484-2.c (do_test): Likewise.
274 * posix/tst-rfc3484.c: Include <ifaddrs.h> early.
275 * posix/tst-rfc3484-2.c: Likewise.
286 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
293 * posix/bits/unistd.h (__readlinkat_chk): New prototype.
310 * sysdeps/posix/sigset.c (sigset): Return correct value reflecting
325 * posix/regex.h: Remove obsolete <sys/types.h> comment and special
338 * posix/tst-rfc3484.c: Update fake __check_pf implementation.
339 * posix/tst-rfc3484-2.c: Likewise.
349 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop
361 * sysdeps/posix/getaddrinfo.c: Pretty printing.
372 * sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6
374 * posix/Makefile (tests): Add tst-rfc3484-2.
375 * posix/tst-rfc3484-2.c: New file.
481 * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min
647 * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias):
788 * posix/unistd.h: Match return value of readlink to what POSIX
822 * sysdeps/posix/getaddrinfo.c (gaih_inet): No need to duplicate
1076 * sysdeps/posix/sysconf.c (__sysconf): Use #if _POSIX_FOO > 0
1299 * posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t):
1421 * sysdeps/posix/Makefile: New file.
1422 * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix
1475 * posix/unistd.h: Add fifth parameter to linkat.
1812 in misc/, not posix/.
1817 * posix/sched_yield.c (__sched_yield): Add libc_hidden_def.
1925 * posix/unistd.h (getresuid, getresgid, setresuid, setresgid):
1927 * posix/getresuid.c (__getresuid): Fix argument order in definition.
1928 * posix/getresgid.c (__getresgid): Likewise.
1929 * posix/setresuid.c (__setresuid): Likewise.
1930 * posix/setresgid.c (__setresgid): Likewise.
2026 * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose
2201 * posix/regcomp.c (calc_eclosure_iter): Remove dead variables.
2627 * posix/regex_internal.c (re_string_reconstruct): Adjust for
3492 * posix/glob.c: Assume freestanding C89 compiler. Simplify cruft that
3674 * posix/get_child_max.c: New file.
3675 * posix/Makefile (routines): Add it.
3677 * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it.
3879 * sysdeps/posix/Dist: File removed.
4031 * posix/unistd.h [__USE_ATFILE]: Declare faccessat.
4043 * sysdeps/posix/euidaccess.c: Likewise.
4044 * posix/unistd.h [__USE_GNU]: Declare eaccess.
4104 * posix/unistd.h: Likewise.
4226 * posix/unistd.h (ctermid): Remove __nonnull attribute.
4259 * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
4264 * posix/getconf.c: Update copyright year.
4438 * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
4497 * posix/tst-execle1.c (do_test): Add a const.
4498 * posix/tst-execle2.c (do_test): Likewise.
4500 * posix/transbug.c (run_test): Add some casts.
4501 * posix/bug-regex22.c (main): Likewise.
4502 * posix/bug-regex5.c (main): Likewise.
4677 * sysdeps/posix/sprofil.c: Likewise.
4787 * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.
4788 * sysdeps/posix/gai_strerror-strs.h: New file.
4789 * sysdeps/posix/Dist: New file.
4791 * sysdeps/posix/getaddrinfo.c (gaih): Mark as const.
4986 * posix/unistd.h: Declare linkat, symlinkat, readlinkat.
5033 * sysdeps/mach/hurd/init-posix.c: Likewise.
5036 * sysdeps/posix/profil.c: Likewise.
5037 * sysdeps/posix/shm_open.c: Likewise.
5038 * sysdeps/posix/shm_unlink.c: Likewise.
5039 * sysdeps/posix/sprofil.c: Likewise.
5095 * posix/_exit.c: ...here.
5133 * posix/alarm.c: ...here.
5311 * posix/environ.c: ...here.
5325 * posix/execve.c: ...here.
5367 * posix/fexecve.c: ...here.
5383 * posix/fork.c: ...here.
5385 * posix/fpathconf.c: ...here.
5433 * posix/gai_strerror.c: ...here.
5437 * posix/getaddrinfo.c: ...here.
5453 * posix/getegid.c: ...here.
5457 * posix/geteuid.c: ...here.
5459 * posix/getgid.c: ...here.
5461 * posix/getgroups.c: ...here.
5473 * posix/getlogin.c: ...here.
5475 * posix/getlogin_r.c: ...here.
5483 * posix/getpgid.c: ...here.
5485 * posix/getpgrp.c: ...here.
5487 * posix/getpid.c: ...here.
5491 * posix/getppid.c: ...here.
5497 * posix/getresgid.c: ...here.
5499 * posix/getresuid.c: ...here.
5507 * posix/getsid.c: ...here.
5519 * posix/getuid.c: ...here.
5533 * posix/glob.c: ...here.
5535 * posix/glob64.c: ...here.
5539 * posix/group_member.c: ...here.
5556 * sysdeps/generic/init-posix.c: Moved to...
5557 * posix/init-posix.c: ...here.
5753 * posix/nanosleep.c: ...here.
5771 * posix/pathconf.c: ...here.
5773 * posix/pause.c: ...here.
5787 * posix/posix_madvise.c: ...here.
5789 * posix/pread.c: ...here.
5791 * posix/pread64.c: ...here.
5813 * posix/pwrite.c: ...here.
5815 * posix/pwrite64.c: ...here.
6041 * posix/sched_getaffinity.c: ...here.
6043 * posix/sched_getp.c: ...here.
6045 * posix/sched_gets.c: ...here.
6047 * posix/sched_primax.c: ...here.
6049 * posix/sched_primin.c: ...here.
6051 * posix/sched_rr_gi.c: ...here.
6053 * posix/sched_setaffinity.c: ...here.
6055 * posix/sched_setp.c: ...here.
6057 * posix/sched_sets.c: ...here.
6059 * posix/sched_yield.c: ...here.
6097 * posix/setgid.c: ...here.
6111 * posix/setlogin.c: ...here.
6113 * posix/setpgid.c: ...here.
6115 * posix/setpgrp.c: ...here.
6121 * posix/setresgid.c: ...here.
6123 * posix/setresuid.c: ...here.
6131 * posix/setsid.c: ...here.
6139 * posix/setuid.c: ...here.
6203 * posix/sleep.c: ...here.
6211 * posix/spawni.c: ...here.
6337 * posix/sysconf.c: ...here.
6381 * posix/times.c: ...here.
6407 * posix/uname.c: ...here.
6433 * posix/vfork.c: ...here.
6593 * posix/wait.c: ...here.
6595 * posix/wait3.c: ...here.
6597 * posix/wait4.c: ...here.
6599 * posix/waitid.c: ...here.
6601 * posix/waitpid.c: ...here.
6625 * posix/wordexp.c: ...here.
6700 * posix/regex_internal.h: Include <stdint.h> if available.
6704 * posix/regex_internal.h (SIZE_MAX): Provide a default definition.
6800 * posix/getconf.c: Likewise.
6934 * sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are
6937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication.
6946 * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cache
7270 * posix/unistd.h: Declare fchownat and unlinkat.
7381 * posix/execl.c: Likewise.
7382 * posix/execv.c: Likewise.
7390 * sysdeps/generic/init-posix.c: Likewise.
7391 * sysdeps/posix/gettimeofday.c: Likewise.
7392 * sysdeps/posix/system.c: Likewise.
7393 * sysdeps/unix/bsd/init-posix.c: Likewise.
7443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple
7446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible
7693 * posix/regcomp.c (init_word_char, duplicate_node_closure,
7701 * posix/regex_internal.h: Remove last traces of
7713 * posix/regexec.c: Finish prototyping of static functions.
7714 * posix/regex_internal.c: Likewise.
7746 * posix/fnmatch_loop.c: Adjust for changed secondary hash function.
7747 * posix/regcomp.c: Likewise.
7811 * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge,
7824 * posix/regex_internal.c (re_string_peek_byte_case,
7831 * posix/regex_internal.c (re_string_skip_chars, register_state,
7833 * posix/regexec.c (acquire_init_state_context, check_halt_node_context,
7839 * posix/regex.c: No need to use K&R definitions for static functions.
7840 * posix/regex_internal.c: Likewise.
7841 * posix/regcomp.c: Likewise.
7937 * posix/regex.h: Pretty printing.
7942 * posix/regexec.c (update_cur_sifted_state, check_arrival,
8102 * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const.
8112 * posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer,
8141 * posix/regcomp.c (build_equiv_class, build_charclass):
8149 * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain,
8151 * posix/regexec.c (check_dst_limits_calc_pos_1,
8154 * posix/regcomp.c (utf8_sb_map): Don't assume initializer
8156 * posix/regex_internal.h (BITSET_WORD_BITS): Renamed from UINT_BITS.
8169 * posix/regexec.c (build_trtable): Don't assume bitset_t has no
8231 * posix/getconf.c: Add new option -a to print the names of
8238 * sysdeps/posix/getaddrinfo.c (fls): New function.
8241 * posix/Makefile (tests): Add tst-rfc3484.
8242 * posix/tst-rfc3484.c: New file.
8250 * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop if
8321 * posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
8322 * posix/regcomp.c: Remove unnecessary uses of
8324 * posix/regex_internal.h: Likewise.
8325 * posix/regex_internal.c: Likewise.
8326 * posix/regexexec.c: Likewise.
8409 * sysdeps/posix/spawni.c (__spawni): Automatically recognize some
8510 * posix/regexec.c (find_recover_state): Remove unnecessary
8536 * posix/regex_internal.h (re_match_context_t): Make dfa a const
8551 * posix/regexec.c (merge_state_with_log): Define dfa as const pointer.
8559 * posix/regex_internal.c (re_string_reconstruct): Avoid calling
8564 * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability
8569 * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg
8572 * posix/regex_internal.h: Adjust prototypes.
8576 * posix/regcomp.c (search_duplicated_node): Make first pointer arg
8578 * posix/regex_internal.c (create_ci_newstate, create_cd_newstate,
8580 * posix/regexec.c (search_cur_bkref_entry, check_dst_limits):
8586 * posix/regexec.c (re_search_internal): Simplify update of
8592 * posix/regcomp.c (re_compile_internal): Change third parameter type
8596 * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc
8598 * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for
8603 * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char):
8607 * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain):
8609 * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise.
8611 * posix/regcomp.c (optimize_subexps, lower_subexp):
8613 * posix/regexec.c (check_dst_limits_calc_pos_1):
8615 * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we
8618 * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there
8620 * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise;
8623 * posix/regex_internal.h (BYTE_BITS): Remove. All uses changed to
8626 * posix/regex_internal.h (re_sub_match_top_t): Remove unused member
8629 * posix/regcomp.c (init_dfa): Don't initialize unused members.
8633 * posix/regexec.c (set_regs): Don't alloca with an unbounded size.
8636 * posix/regex.c: Remove portability cruft for alloca. This no longer
8639 * posix/regex_internal.h: Include <alloca.h>.
8641 * posix/regexec.c (build_trtable): Remove "#ifdef _LIBC",
8650 * posix/regexec.c (find_recover_state): Change "err" to "*err".
8654 * posix/regcomp.c (regerror): Pointer args are 'restrict',
8656 * posix/regex.h (regerror): Likewise.
8661 * posix/regex.c: Do not include <sys/types.h>, as POSIX no longer
8666 * posix/regexec.c (sift_states_bkref): re_node_set_insert returns
8669 * posix/regex_internal.c (calc_state_hash): Put 'inline' before type,
8672 * posix/regcomp.c (create_initial_state): Remove duplicate decl.
8676 * posix/regex.h (_RE_ARGS): Remove. No longer needed, since we assume
8681 * posix/regex.c: Prevent using C++ compilers.
8685 * posix/regcomp.c (duplicate_node): Return new index, not an error
8698 * posix/regexec.c (proceed_next_node): Redo local variables to
8703 * posix/regex_internal.c (re_acquire_state): Minor code rearrangement.
8708 * posix/regex_internal.c (re_string_realloc_buffers):
8715 * posix/regcomp.c (init_dfa): Store __btowc value in wint_t, not
8867 * posix/regex.h: Remove spurious space-before-tab. From gnulib.
8936 * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,
9107 * posix/Makefile (tests): Add tst-execvp4.
9108 * posix/tst-execvp4.c: New file.
9113 * posix/execvp.c (execvp): Change path_malloc to
9183 * posix/getopt.c: Likewise.
9233 * posix/getopt.c: Likewise.
9286 * posix/bits/unistd.h: Add definitions for new debug versions.
9400 * posix/regcomp.c (re_compile_internal): Call __libc_lock_init
9535 * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
9726 * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
9728 * sysdeps/posix/signal.c: Likewise.
9729 * sysdeps/posix/sigset.c: Likewise.
9730 * sysdeps/posix/sysv_signal.c: Likewise.
9764 * sysdeps/posix/posix_fallocate64.c: Likewise.
9837 * posix/tst-mmap.c (main): Fill the test file with enough data for the
10099 * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
10137 * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
10140 * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
10141 * posix/regexec.c (regexec, re_search_stub): Add locking.
10286 * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
10290 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10398 * posix/unistd.h: Remove __nonnull from acct decl.
10407 * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
10428 * sysdeps/posix/clock_getres.c
10590 * posix/execvp.c (execvp): Use file name including path when
10592 * posix/Makefile: Add rules to build and run tst-execvp3.
10593 * posix/tst-execvp3.c: New file.
10983 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
11012 * posix/tst-execle1.c (do_test): Fix execle arguments.
11013 * posix/tst-execle2.c (do_test): Likewise.
11175 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
11247 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
11249 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
11268 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
11284 * posix/bits/unistd.h (read, pread, pread64, readlink,
11466 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
11477 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
11479 * posix/regex_internal.c (re_string_reconstruct): Add cast to
11502 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
11566 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
11601 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
11633 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
11705 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
11708 * posix/tst-execl1.c: New file.
11709 * posix/tst-execl2.c: New file.
11710 * posix/tst-execle1.c: New file.
11711 * posix/tst-execle2.c: New file.
11712 * posix/tst-execlp1.c: New file.
11713 * posix/tst-execlp2.c: New file.
11714 * posix/tst-execv1.c: New file.
11715 * posix/tst-execv2.c: New file.
11716 * posix/tst-execve1.c: New file.
11717 * posix/tst-execve2.c: New file.
11718 * posix/tst-execvp1.c: New file.
11719 * posix/tst-execvp2.c: New file.
11767 * posix/execvp.c (execvp): Fix invalid free.
11834 * posix/regcomp.c (lower_subexp): Do not optimize empty
11836 * posix/rxspencer/tests: Add a previously failing testcase.
11893 * posix/unistd.h: Include <bits/unistd.h> for fortification.
11894 * posix/bits/unistd.h: New file.
11895 * posix/Makefile (headers): Add bits/unistd.h.
11918 * posix/unistd.h: symlink and readlink are unconditionally
11966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
11978 * posix/regex_internal.h (gettext): Remove INTUSE on it.
12354 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
12358 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
12360 * posix/regexec.c (re_search_internal): If nmatch includes unused
12363 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
12366 * posix/regexec.c (transit_state_mb): Do not examine nodes
12373 * posix/execvp.c: Include stdbool.h.
12380 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
12409 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
12412 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
12421 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
12423 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
12427 * posix/regex_internal.h (re_token_t): Add accept_mb field.
12429 * posix/regexec.c (proceed_next_node, transit_states_mb,
12447 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
12452 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
12455 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
12457 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
12459 * posix/rxspencer/tests: Add some new tests.
12551 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
12574 * posix/execl.c: Do not allocate potentially large buffers on the
12576 * posix/execle.c: Likewise.
12577 * posix/execlp.c: Likewise.
12578 * posix/execvp.c: Likewise.
12588 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
12644 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
12663 * posix/getconf.c: Update copyright year.
12823 * posix/unistd.h: Remove __wur from dup2.
12936 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
12991 * posix/unistd.h: Likewise.
13348 * posix/regex_internal.h (struct re_dfastate_t): Make
13350 * posix/regexec.c (build_trtable): Fill in either state->trtable
13355 * posix/regex_internal.c (free_state): Free word_trtable.