aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/getdents.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-06-12 15:30:14 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-06-28 09:19:11 -0300
commitd35fbd3e684e6bb5e5ec452ad8dac6ada8424bdd (patch)
tree2d7d7c1b39f09e1ab59fb96740c5969401e1ec7d /sysdeps/unix/sysv/linux/getdents.c
parenta9fed5ea811c3fe3d5186d260494710d424786ef (diff)
downloadglibc-d35fbd3e684e6bb5e5ec452ad8dac6ada8424bdd.tar
glibc-d35fbd3e684e6bb5e5ec452ad8dac6ada8424bdd.tar.gz
glibc-d35fbd3e684e6bb5e5ec452ad8dac6ada8424bdd.tar.bz2
glibc-d35fbd3e684e6bb5e5ec452ad8dac6ada8424bdd.zip
linux: Return unsupported if procfs can not be mount on tst-ttyname-namespace
Trying to mount procfs can fail due multiples reasons: proc is locked due the container configuration, mount syscall is filtered by a Linux Secuirty Module, or any other security or hardening mechanism that Linux might eventually add. The tests does require a new procfs without binding to parent, and to fully fix it would require to change how the container was created (which is out of the scope of the test itself). Instead of trying to foresee any possible scenario, if procfs can not be mount fail with unsupported. Checked on aarch64-linux-gnu. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/getdents.c')
0 files changed, 0 insertions, 0 deletions