client: flag in cachemanager if rmtsys is enabled
authorChristof Hanke <christof.hanke@rzg.mpg.de>
Thu, 12 Sep 2013 11:34:04 +0000 (13:34 +0200)
committerDerrick Brashear <shadow@your-file-system.com>
Thu, 12 Sep 2013 15:28:11 +0000 (08:28 -0700)
commitdb1de98ecf6fd22b9c36b3ba284984f03cb0ae35
tree6ccc8d4e9e501b0d479f076421f05eb5c13ed9c8
parent73ae85bd59cfe9fca2daeb7dc0aa0917368bb5bf
client: flag in cachemanager if rmtsys is enabled

when processing "fs sysname" on a client, a rmtsys-related
checks are executed by default. These prevent a user with gid
2750 and 274i8 (0xabc and 0xabe) from executing this command.
Add a new flag inside the cachemanager for the rmtsys-
functionality. This flag is set through a new ioctl by the afsd
on startup.

Change-Id: Idf95aa81cc1dbb46c70a11b9ae2ccfa04bfb4c4f
Reviewed-on: http://gerrit.openafs.org/10245
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/afs.h
src/afs/afs_call.c
src/afs/afs_pioctl.c
src/afsd/afsd.c
src/config/afs_args.h