glibc/nss
DJ Delorie 2fe64148a8 Allow for unpriviledged nested containers
If the build itself is run in a container, we may not be able to
fully set up a nested container for test-container testing.
Notably is the mounting of /proc, since it's critical that it
be mounted from within the same PID namespace as its users, and
thus cannot be bind mounted from outside the container like other
mounts.

This patch defaults to using the parent's PID namespace instead of
creating a new one, as this is more likely to be allowed.

If the test needs an isolated PID namespace, it should add the "pidns"
command to its init script.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-04-04 14:17:08 -04:00
..
nss_compat
nss_db
nss_files
tst-nss-compat1.root
tst-nss-db-endgrent.root/etc
tst-nss-db-endpwent.root
tst-nss-files-hosts-long.root/etc
tst-nss-gai-actions.root/etc Simplify allocations and fix merge and continue actions [BZ #28931] 2022-03-22 19:38:36 +05:30
tst-nss-test3.root
tst-reload1.root
tst-reload2.root
alias-lookup.c
bug17079.c
bug-erange.c
compat-lookup.c
databases.def
db-Makefile
Depend
digits_dots.c
ethers-lookup.c
function.def
getent.c
getnssent_r.c
getnssent.c
getXXbyYY_r.c
getXXbyYY.c
getXXent_r.c
getXXent.c
grp-lookup.c
hosts-lookup.c
key-lookup.c
makedb.c
Makefile Simplify allocations and fix merge and continue actions [BZ #28931] 2022-03-22 19:38:36 +05:30
netgrp-lookup.c
network-lookup.c
nss_action_parse.c
nss_action.c
nss_action.h
nss_database.c
nss_database.h
nss_fgetent_r.c
nss_files_data.c
nss_files_fopen.c
nss_files_functions.c
nss_hash.c
nss_module.c
nss_module.h
nss_parse_line_result.c
nss_readline.c
nss_test1.c
nss_test2.c
nss_test_errno.c
nss_test.h
nss_test.ver
nss.h
nsswitch.c
nsswitch.conf
nsswitch.h
proto-lookup.c
pwd-lookup.c
rewrite_field.c
rpc-lookup.c
service-lookup.c
sgrp-lookup.c
spwd-lookup.c
test-digits-dots.c
test-netdb.c
tst-cancel-getpwuid_r.c
tst-field.c
tst-nss-compat1.c
tst-nss-db-endgrent.c
tst-nss-db-endpwent.c
tst-nss-files-alias-leak.c
tst-nss-files-alias-truncated.c
tst-nss-files-hosts-erange.c
tst-nss-files-hosts-getent.c
tst-nss-files-hosts-long.c
tst-nss-files-hosts-multi.c
tst-nss-gai-actions.c Simplify allocations and fix merge and continue actions [BZ #28931] 2022-03-22 19:38:36 +05:30
tst-nss-getpwent.c
tst-nss-static.c
tst-nss-test1.c
tst-nss-test2.c
tst-nss-test3.c
tst-nss-test4.c
tst-nss-test5.c
tst-nss-test_errno.c
tst-reload1.c
tst-reload2.c Allow for unpriviledged nested containers 2022-04-04 14:17:08 -04:00
valid_field.c
valid_list_field.c
Versions
XXX-lookup.c