summaryrefslogtreecommitdiff
path: root/modules/unlinkdir
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-06-26 16:46:25 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-06-26 16:46:51 -0700
commit652baf7debde3d02e8f3b75f2aaaefd0eec6bce6 (patch)
treec73ae281d085c900a1e349cd3efd5373f372ea7e /modules/unlinkdir
parentd4903bb0efac5e399b785c71367d8cda3fb539ab (diff)
downloadgnulib-652baf7debde3d02e8f3b75f2aaaefd0eec6bce6.tar.gz
root-uid: new module
This is for portability to Tandem's NonStop Kernel. * lib/root-uid.h, modules/root-uid: New files. * lib/euidaccess.c, lib/pt_chown.c, lib/unlinkdir.c: * lib/write-any-file.c, tests/test-sethostname2.c: Include "root-uid.h". * lib/euidaccess.c (euidaccess): * lib/pt_chown.c (main): * lib/unlinkdir.c (cannot_unlink_dir): * lib/write-any-file.c (can_write_any_file): * m4/mknod.m4 (gl_FUNC_MKNOD): * tests/test-sethostname2.c (geteuid, main): Don't assume ROOT_UID == 0. * modules/euidaccess (Depends-on): * modules/pt_chown (Depends-on): * modules/sethostname-tests (Depends-on): * modules/unlinkdir (Depends-on): * modules/write-any-file (Depends-on): Add root-uid.
Diffstat (limited to 'modules/unlinkdir')
-rw-r--r--modules/unlinkdir1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/unlinkdir b/modules/unlinkdir
index b5dfa100b7..6ebd027122 100644
--- a/modules/unlinkdir
+++ b/modules/unlinkdir
@@ -9,6 +9,7 @@ m4/unlinkdir.m4
Depends-on:
stdbool
priv-set
+root-uid
configure.ac:
gl_UNLINKDIR