diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-11-12 01:25:45 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-11-14 09:52:42 +0100 |
commit | 40324ca8b22a538e31aa2f9a8ac03f03f7d0537e (patch) | |
tree | 4a5a2c43a3bf870f64bf5e27fdd5aa342be246d1 /doc | |
parent | b8b6dd27a61dce58d6537dfbee65c7428f4ae3cd (diff) | |
download | coreutils-40324ca8b22a538e31aa2f9a8ac03f03f7d0537e.tar.xz |
id: fail when getuid, getgid, etc. fail, e.g., on GNU/Hurd
POSIX-conforming getuid, geteuid, etc. functions cannot fail,
but on GNU/Hurd systems and some others, they may.
* src/id.c (main) [__GNU__]: Detect and diagnose any such failure.
* tests/id/gnu-zero-uids: New file.
* tests/Makefile.am (TESTS): Add it to the list.
* tests/init.cfg (require_gnu_): New function.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions