]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux: don't count pag keys against root's keyring quotas
authorMarc Dionne <marc.c.dionne@gmail.com>
Wed, 27 Jan 2010 00:48:24 +0000 (19:48 -0500)
committerRuss Allbery <rra@debian.org>
Tue, 4 May 2010 21:32:38 +0000 (14:32 -0700)
commit006da7e4c7479852db2adc7be8586f13ba2ff387
tree8908d53997530b36a47baac4dfa90dd57af2eddb
parent0351482f83d55ba95a4f717e64a020fae028e121
Linux: don't count pag keys against root's keyring quotas

Keys associated with PAGs are created with root ownership for
security reasons, which means that they count agains root's
keyring quotas.  The default configuration used by most distros
restricts root to the same quotas as a regular user, so a single
user can potentially fill up the quota and prevent new pags from
getting created system-wide.

This can also be an issue for busy multi-user systems where the
default maximum number of keys (200 currently) can easily be reached.

Reviewed-on: http://gerrit.openafs.org/1167
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit a3812f211a56c0d6e0a7ff8a97f157707d3d8c28)

Change-Id: I5c12e55d98d5f887c60a7ae1cf1aa64f37282ce3
Reviewed-on: http://gerrit.openafs.org/1580
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit a27015099a1dc1e41001e4a4946848f958c6a09b)
src/afs/LINUX/osi_compat.h
src/afs/LINUX/osi_groups.c