Turn on bos restricted code
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Thu, 24 Dec 2009 13:00:53 +0000 (13:00 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 31 Dec 2009 12:54:52 +0000 (04:54 -0800)
commitf085951d39c0d6c1e6a626177c30235704317600
tree3c569ab89402306f9d37da7dc13937afcf1b7b1c
parentbd4c636e9169cc098696916a40da1301c3100d88
Turn on bos restricted code

Remove the #ifdef's around the bos restricted mode code. This makes
restricted mode available as part of the standard build, but a server
will not go into restricted mode unless the relevant command line
options are specified, or bos setrestricted is run.

Document bos_setrestricted and bos_getrestricted, and the new
'-restricted' command line option. Add a note to the man pages of
all of the commands whose behaviour is affected by restricted mode.

Add 'setr' and 'getr' aliases for setrestart and getrestart so that
these documented shortcuts continue to work (otherwise they'd be
ambiguous against setrestricted and getrestricted). Note that
setre, setres, and setrest will not work once this patch is applied.

Change-Id: Ie69d21493ea5f78757f0a3d478de43fdaabd3c31
Reviewed-on: http://gerrit.openafs.org/1028
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
16 files changed:
acinclude.m4
doc/man-pages/pod8/bos.pod
doc/man-pages/pod8/bos_create.pod
doc/man-pages/pod8/bos_delete.pod
doc/man-pages/pod8/bos_exec.pod
doc/man-pages/pod8/bos_getlog.pod
doc/man-pages/pod8/bos_getrestricted.pod [new file with mode: 0644]
doc/man-pages/pod8/bos_install.pod
doc/man-pages/pod8/bos_prune.pod
doc/man-pages/pod8/bos_setrestricted.pod [new file with mode: 0644]
doc/man-pages/pod8/bos_uninstall.pod
doc/man-pages/pod8/bosserver.pod
src/bozo/bos.c
src/bozo/bosoprocs.c
src/bozo/bosserver.c
src/config/afsconfig-windows.h