glibc/posix
Adhemerval Zanella 33099d72e4 linux: Simplify get_nprocs
This patch simplifies the memory allocation code and uses the sched
routines instead of reimplement it.  This still uses a stack
allocation buffer, so it can be used on malloc initialization code.

Linux currently supports at maximum of 4096 cpus for most architectures:

$ find -iname Kconfig | xargs git grep -A10 -w NR_CPUS | grep -w range
arch/alpha/Kconfig-	range 2 32
arch/arc/Kconfig-	range 2 4096
arch/arm/Kconfig-	range 2 16 if DEBUG_KMAP_LOCAL
arch/arm/Kconfig-	range 2 32 if !DEBUG_KMAP_LOCAL
arch/arm64/Kconfig-	range 2 4096
arch/csky/Kconfig-	range 2 32
arch/hexagon/Kconfig-	range 2 6 if SMP
arch/ia64/Kconfig-	range 2 4096
arch/mips/Kconfig-	range 2 256
arch/openrisc/Kconfig-	range 2 32
arch/parisc/Kconfig-	range 2 32
arch/riscv/Kconfig-	range 2 32
arch/s390/Kconfig-	range 2 512
arch/sh/Kconfig-	range 2 32
arch/sparc/Kconfig-	range 2 32 if SPARC32
arch/sparc/Kconfig-	range 2 4096 if SPARC64
arch/um/Kconfig-	range 1 1
arch/x86/Kconfig-# [NR_CPUS_RANGE_BEGIN ... NR_CPUS_RANGE_END] range.
arch/x86/Kconfig-	range NR_CPUS_RANGE_BEGIN NR_CPUS_RANGE_END
arch/xtensa/Kconfig-	range 2 32

With x86 supporting 8192:

arch/x86/Kconfig
 976 config NR_CPUS_RANGE_END
 977         int
 978         depends on X86_64
 979         default 8192 if  SMP && CPUMASK_OFFSTACK
 980         default  512 if  SMP && !CPUMASK_OFFSTACK
 981         default    1 if !SMP

So using a maximum of 32k cpu should cover all cases (and I would
expect once we start to have many more CPUs that Linux would provide
a more straightforward way to query for such information).

A test is added to check if sched_getaffinity can successfully return
with large buffers.

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
2021-09-27 09:18:12 -03:00
..
bits posix: Fix attribute access mode on getcwd [BZ #27476] 2021-09-16 22:32:53 +02:00
bug-ga2.root/etc Use libnss_files.so for tests posix/bug-ga2 and resolv/tst-leaks2 [BZ #26821] 2020-11-23 10:51:24 +01:00
rxspencer [BZ 697] 2009-01-08 00:47:30 +00:00
sys y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
_exit.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
_Fork.c posix: Consolidate fork implementation 2021-06-24 10:02:06 -03:00
alarm.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
annexc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
BOOST.tests Update. 2003-12-27 23:40:06 +00:00
bsd-getpgrp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-ga1.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-ga2.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-getopt1.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-getopt2.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-getopt3.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-getopt4.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-getopt5.c Avoid insecure usage of tmpnam in tests. 2018-07-18 21:04:12 +00:00
bug-glob2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-glob3.c Add test for last glob bug. 2010-03-24 12:10:51 -07:00
bug-regex1.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
bug-regex2.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex3.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex4.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
bug-regex5.c Fix posix/bug-regex5.c test case, adapt to iso14651_t1_common upate 2018-02-27 16:58:44 +01:00
bug-regex6.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
bug-regex7.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex8.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex9.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex10.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex11.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex12.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex13.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex14.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex15.c
bug-regex16.c
bug-regex17.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex18.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex19.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
bug-regex20.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex21.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex22.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex23.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex24.c Update. 2004-11-15 22:00:25 +00:00
bug-regex25.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex26.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex27.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex28.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex29.c Add missing stdio.h include. 2009-11-14 19:11:44 -08:00
bug-regex30.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex31.c Fix warning in posix/bug-regex31.c. 2014-11-25 21:40:51 +00:00
bug-regex31.input One more regex memory leak fixed. 2010-10-12 09:00:33 -04:00
bug-regex32.c Fix unnecessary overallocation due to incomplete character 2011-05-28 17:14:30 -04:00
bug-regex33.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
bug-regex34.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex35.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex36.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex37.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
bug-regex38.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
confstr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
cpio.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Depend
environ.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
execl.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execle.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execlp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execv.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execve.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execveat.c linux: Add execveat system call wrapper 2021-05-03 16:46:06 -03:00
execvp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execvpe.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fexecve.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
flexmember.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fnmatch_loop.c posix: Sync fnmatch with gnulib 2021-01-04 09:02:39 -03:00
fnmatch.c posix: Falling back to non wide mode in case of encoding error [BZ #14185] 2021-02-23 15:58:04 -03:00
fnmatch.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fork.c posix: Add _Fork [BZ #4737] 2021-06-28 15:55:56 -03:00
fpathconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gai_strerror.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gai.conf [BZ #11438] 2012-09-28 10:15:05 -06:00
get_child_max.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getaddrinfo.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getconf-speclist.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getconf.c Fix argv overrun in getconf (bug 27761) 2021-04-21 15:11:26 +02:00
getegid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
geteuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getgroups.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getopt1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getopt_int.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getopt.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getopt.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getpgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getpgrp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getpid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getppid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getresgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getresuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getsid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
glob64-lstat-compat.c posix: Add glob64 with 64-bit time_t support 2021-06-15 10:42:11 -03:00
glob64-time64.c Fix extra PLT reference in libc.so due to __glob64_time64 if build with gcc 7.5 on 32bit. 2021-07-01 16:46:59 +02:00
glob64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
glob_internal.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
glob_pattern_p.c posix: Sync glob code with gnulib 2021-01-04 08:41:53 -03:00
glob-lstat-compat.c hurd: Fix glob lstat compatibility 2021-07-22 20:31:52 +02:00
glob.c posix: Add glob64 with 64-bit time_t support 2021-06-15 10:42:11 -03:00
glob.h posix: Add glob64 with 64-bit time_t support 2021-06-15 10:42:11 -03:00
globfree64-time64.c posix: Add glob64 with 64-bit time_t support 2021-06-15 10:42:11 -03:00
globfree64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
globfree.c posix: Sync glob code with gnulib 2021-01-04 08:41:53 -03:00
globtest.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
globtest.sh Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
group_member.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
init-posix.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
Makefile linux: Simplify get_nprocs 2021-09-27 09:18:12 -03:00
nanosleep.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pathconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pause.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
PCRE.tests posix: Sync gnulib regex implementation 2018-07-04 09:54:45 -03:00
posix_madvise.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
posix-conf-vars.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
posix-conf-vars.list Use posix-conf-vars.list to generate spec array 2014-12-29 19:56:27 +05:30
posix-envs.def Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pread64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pread.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
PTESTS posix: remove some iso-8859-encoded characters 2021-09-01 14:29:59 -04:00
PTESTS2C.sed posix: remove some iso-8859-encoded characters 2021-09-01 14:29:59 -04:00
pwrite64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pwrite.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
re_comp.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
regcomp.c regex: copy back from Gnulib 2021-09-21 08:00:44 -07:00
regex_internal.c regex: copy back from Gnulib 2021-09-21 08:00:44 -07:00
regex_internal.h regex: copy back from Gnulib 2021-09-21 08:00:44 -07:00
regex.c regex: copy back from Gnulib 2021-09-21 08:00:44 -07:00
regex.h regex: copy back from Gnulib 2021-09-21 08:00:44 -07:00
regexbug1.c Fix -Wformat-security warnings in posix/regexbug1.c 2014-12-11 13:08:26 -08:00
regexec.c regex: copy back from Gnulib 2021-09-21 08:00:44 -07:00
register-atfork.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
runptests.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
runtests.c * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to 2007-07-28 20:36:21 +00:00
sched_cpualloc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_cpucount.c linux: Use sched_getaffinity for __get_nprocs (BZ #27645) 2021-05-07 13:54:09 -03:00
sched_cpufree.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_getaffinity.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_getp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_gets.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_primax.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_primin.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_rr_gi.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_setaffinity.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_setp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_sets.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched_yield.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sched.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
setgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setpgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setpgrp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setresgid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setresuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setsid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setuid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
shm-directory.c nptl: Move sem_close, sem_open into libc 2021-05-05 17:19:38 +02:00
sleep.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addchdir.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addclose.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addclosefrom.c posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
spawn_faction_adddup2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addfchdir.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_addopen.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_faction_destroy.c posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
spawn_faction_init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn_int.h posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
spawn_valid_fd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawn.h posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
spawnattr_destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getdefault.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getflags.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getpgroup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_getsigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setdefault.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setflags.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setpgroup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnattr_setsigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawni.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
spawnp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
streams-compat.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sysconf.c sysconf: Add _SC_MINSIGSTKSZ/_SC_SIGSTKSZ [BZ #20305] 2021-02-01 11:00:52 -08:00
tar.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
test-errno.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-ssize-max.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-vfork.c Use (void) in no-arguments function definitions. 2013-06-08 00:22:23 +00:00
testfnm.c FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
TESTS
TESTS2C.sed
times.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
transbug.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
tst-_Fork.c posix: Add _Fork [BZ #4737] 2021-06-28 15:55:56 -03:00
tst-boost.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-chmod.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-cpucount.c When iterating over CPU bitmask, don't try more than CPU_SETSIZE. 2009-06-15 21:12:57 -07:00
tst-cpuset.c * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. 2007-07-29 22:24:44 +00:00
tst-dir.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-exec-static.c Support run tst-exec and tst-spawn directly 2013-01-10 14:14:55 -08:00
tst-exec.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-execl1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execl2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execle1.c 2005-12-27 Roland McGrath <roland@redhat.com> 2005-12-27 22:49:45 +00:00
tst-execle2.c 2005-12-27 Roland McGrath <roland@redhat.com> 2005-12-27 22:49:45 +00:00
tst-execlp1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execlp2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execv1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execv2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execve1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execve2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execveat.c posix: Fix Hurd build failure in tst-execveat 2021-05-04 16:03:07 +02:00
tst-execvp1.c posix: execvpe cleanup 2016-03-07 00:21:37 -03:00
tst-execvp2.c posix: execvpe cleanup 2016-03-07 00:21:37 -03:00
tst-execvp3.c posix: execvpe cleanup 2016-03-07 00:21:37 -03:00
tst-execvp4.c posix: execvpe cleanup 2016-03-07 00:21:37 -03:00
tst-execvpe1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execvpe6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fexecve.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch2.c FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
tst-fnmatch3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-fnmatch.c posix: remove some iso-8859-encoded characters 2021-09-01 14:29:59 -04:00
tst-fnmatch.input Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
tst-fork.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-getaddrinfo2.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-getaddrinfo3.c * posix/Makefile (tests): Add tst-getaddrinfo3. 2006-04-30 20:19:09 +00:00
tst-getaddrinfo4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getaddrinfo5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getaddrinfo.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getconf.sh Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-getopt_long1.c getopt: merge from gnulib: alloca avoidance 2017-04-07 07:51:52 -04:00
tst-getopt-cancel.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-glob_lstat_compat.c posix: tst-glob_lstat_compat no longer needs to be an internal test 2021-03-09 21:07:24 +01:00
tst-glob_symlinks.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-glob-tilde.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-gnuglob64-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-gnuglob64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-gnuglob-skeleton.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-gnuglob.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mmap-offset.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mmap.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-nanosleep.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-nice.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-pathconf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-pcre.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-posix_fadvise64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-posix_fadvise-common.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-posix_fadvise.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-posix_spawn-fd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-posix_spawn-setsid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-preadwrite64.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-preadwrite-common.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-preadwrite.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-regcomp-truncated.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
tst-regex2.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-regex.c Add generic C.UTF-8 locale (Bug 17318) 2021-09-06 11:30:28 -04:00
tst-regex.input Fix posix/tst-regex by using UTF-8 and own test input 2019-08-29 02:38:14 -07:00
tst-regexloc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rfc3484-2.c posix/tst-rfc3484: Fix compile failure linking to local __stat64 2021-02-03 16:12:13 -03:00
tst-rfc3484-3.c posix/tst-rfc3484: Fix compile failure linking to local __stat64 2021-02-03 16:12:13 -03:00
tst-rfc3484.c posix/tst-rfc3484: Fix compile failure linking to local __stat64 2021-02-03 16:12:13 -03:00
tst-rxspencer-no-utf8.c Split up rules for tests using mtrace and something else. 2014-02-14 13:45:14 +00:00
tst-rxspencer.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-sched_getaffinity.c linux: Simplify get_nprocs 2021-09-27 09:18:12 -03:00
tst-sched_rr_get_interval-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-sched_rr_get_interval.c tst: Provide test for sched_rr_get_interval 2021-02-16 20:35:37 +01:00
tst-spawn2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-spawn3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-spawn4-compat.c posix: tst-spawn4-compat can be a regular test 2021-03-09 21:07:24 +01:00
tst-spawn4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-spawn5.c Use support_open_dev_null_range io/tst-closefrom, misc/tst-close_range, and posix/tst-spawn5 (BZ #28260) 2021-08-26 17:13:47 -03:00
tst-spawn-chdir.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-spawn-static.c Support run tst-exec and tst-spawn directly 2013-01-10 14:14:55 -08:00
tst-spawn.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-sysconf-empty-chroot.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-sysconf.c Hurd: Update posix_opt.h 2012-05-10 15:57:27 -07:00
tst-truncate64.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-truncate-common.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-truncate.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-vfork1.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-vfork2.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-vfork3.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-wait3-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-wait3.c posix: Add wait3 tests 2021-04-15 11:32:40 -03:00
tst-wait4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-wait4.c posix: Add wait3 tests 2021-04-15 11:32:40 -03:00
tst-wait-skeleton.c posix: Add wait3 tests 2021-04-15 11:32:40 -03:00
tst-waitid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-wordexp-nocmd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tstgetopt.c
uname-values.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
uname.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
unistd.h posix: Fix attribute access mode on getcwd [BZ #27476] 2021-09-16 22:32:53 +02:00
Versions posix: Add posix_spawn_file_actions_addclosefrom_np 2021-07-08 14:08:15 -03:00
vfork.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wait3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wait4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wait.h
waitid.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
waitpid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordexp-test.c wordexp: handle overflow in positional parameter number (bug 28011) 2021-06-27 19:35:42 +02:00
wordexp-tst.sh Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wordexp.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wordexp.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00