annotate modules/priv-set @ 11538:af683213eeb0

priv-set: new module and accompanying tests; adapt write-any-file * lib/priv-set.c: New file. * lib/priv-set.h: New file. * lib/unlinkdir.c: Make cannot_unlink_dir thread-safe. * lib/write-any-file.c: Simplify by using priv-set module. * m4/priv-set.m4: New file. * modules/priv-set: New file. * modules/unlinkdir: Add dependency on priv-set module. * modules/write-any-file: Likewise. These changes address a problem that originally arose with GNU tar: http://thread.gmane.org/gmane.comp.gnu.tar.bugs/3242 Tests for module 'priv-set'. * modules/priv-set-tests: New file.
author David Bartley <dtbartle@csclub.uwaterloo.ca>
date Wed, 29 Apr 2009 03:52:26 -0400
parents
children 16d02df1b46e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11538
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
1 Description:
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
2 Query, remove or restore a Solaris privilege
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
3
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
4 Files:
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
5 lib/priv-set.h
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
6 lib/priv-set.c
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
7 m4/priv-set.m4
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
8
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
9 Depends-on:
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
10 errno
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
11 stdbool
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
12
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
13 configure.ac:
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
14 gl_PRIV_SET
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
15
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
16 Makefile.am:
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
17 lib_SOURCES += priv-set.c
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
18
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
19 Include:
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
20 "priv-set.h"
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
21
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
22 License:
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
23 GPL
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
24
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
25 Maintainer:
af683213eeb0 priv-set: new module and accompanying tests; adapt write-any-file
David Bartley <dtbartle@csclub.uwaterloo.ca>
parents:
diff changeset
26 David Bartley