afsconf: Rework security flags
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 4 Mar 2011 22:37:10 +0000 (22:37 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 13 Mar 2011 14:34:28 +0000 (07:34 -0700)
commit7a0bbff4a61b1709cccc643ec8aa4440d2b4a936
treef31e8d5856bc2079d9f5d1eeb8b60b221d550d25
parent419fbfb4536242bbb6321d6e1c468ca939bf7009
afsconf: Rework security flags

BuildServerSecurityObjects takes a set of flags, which makes it
hard to use it as a callback function. Rework this so that the
security flags are part of the afsconf directory structure, and
so BuildServerSecurityObjects only takes a rock, and its return
parameters.

Update all of the callers for this new function, and add tests
for it to the test suite.

Change-Id: I48219ed199d128c6aec3765ca425bda9e464b937
Reviewed-on: http://gerrit.openafs.org/4201
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
16 files changed:
src/auth/authcon.c
src/auth/cellconfig.p.h
src/bozo/bosserver.c
src/budb/server.c
src/libafsauthent/afsauthent.def
src/ptserver/ptserver.c
src/shlibafsauthent/libafsauthent.map
src/update/server.c
src/viced/viced.c
src/vlserver/vlserver.c
src/volser/volmain.c
tests/TESTS
tests/auth/.gitignore
tests/auth/Makefile.in
tests/auth/authcon-t.c [new file with mode: 0644]
tests/auth/superuser-t.c