diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-06-01 07:23:15 -0400 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-06-01 07:23:42 -0400 |
commit | 6286cca2cb8389dcffec39238a8bf15ffea96396 (patch) | |
tree | 24416c15f2e4ac4be92e27ceb2d61c0f958713b2 /misc/ualarm.c | |
parent | 5f828ff824e3b7cd133ef905b8ae25ab8a8f3d66 (diff) | |
download | glibc-6286cca2cb8389dcffec39238a8bf15ffea96396.tar.gz glibc-6286cca2cb8389dcffec39238a8bf15ffea96396.tar.xz glibc-6286cca2cb8389dcffec39238a8bf15ffea96396.zip |
support: Don't fail on fchown when spawning sgid processes
In some cases (e.g. when podman creates user containers), the only other group assigned to the executing user is nobody and fchown fails with it because the group is not mapped. Do not fail the test in this case, instead exit as unsupported. Reported-by: Frédéric Bérat <fberat@redhat.com> Tested-by: Frédéric Bérat <fberat@redhat.com> Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'misc/ualarm.c')
0 files changed, 0 insertions, 0 deletions