]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 26 May 2017 11:31:02 +0000 (07:31 -0400)
commit703f7219ab1eb43cefe6f2805d5c46122dcff226
tree95b447a79c991782b54d7e86385824737929f053
parent2a011abc47a03f927d1501a95795a1597a12bdc3
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
2748 and 2750 (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.

Reviewed-on: http://gerrit.openafs.org/10245
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit db1de98ecf6fd22b9c36b3ba284984f03cb0ae35)

Change-Id: Ia2a367e4675782a681b4f6efd6365da482adfab8
Reviewed-on: https://gerrit.openafs.org/12607
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/afs.h
src/afs/afs_call.c
src/afs/afs_pioctl.c
src/afsd/afsd.c
src/config/afs_args.h