diff options
author | David Bartley <dtbartle@csclub.uwaterloo.ca> | 2009-04-29 03:48:15 -0400 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-05-03 19:12:16 +0200 |
commit | 6249eb0596dfe50e1f959c4121e3c2515216cc60 (patch) | |
tree | 7078b6cede5902abdbdbd88f1bad4e6982a84062 /tests/rm/rm1 | |
parent | 181615b22a16eba3590cd747692af2432721b703 (diff) | |
download | coreutils-6249eb0596dfe50e1f959c4121e3c2515216cc60.tar.xz |
mv, rm: adapt to new and improved gnulib interfaces
Use gnulib's new priv-set module and updated write-any-file.
With them, the remove-called can_write_any_file function no
longer tries to drop the unlink-directory privilege, so now
each caller of remove must do that separately, calling
priv_set_remove_linkdir.
* bootstrap.conf (gnulib_modules): Add priv-set.
* src/rm.c: Include "priv-set.h".
(main): Call priv_set_remove_linkdir.
* src/mv.c (main): Likewise.
* gnulib: Update submodule to latest.
Diffstat (limited to 'tests/rm/rm1')
0 files changed, 0 insertions, 0 deletions