selinux: Add xfs quota command types
authorRichard Haines <richard_c_haines@btinternet.com>
Thu, 20 Feb 2020 15:32:34 +0000 (15:32 +0000)
committerPaul Moore <paul@paul-moore.com>
Sat, 22 Feb 2020 19:41:21 +0000 (14:41 -0500)
commite4cfa05e9bfe286457082477b32ecd17737bdbce
treef844348318e74758503b50f66ab066eeacb132d6
parentc3a276111ea2572399281988b3129683e2a6b60b
selinux: Add xfs quota command types

Add Q_XQUOTAOFF, Q_XQUOTAON and Q_XSETQLIM to trigger filesystem quotamod
permission check.

Add Q_XGETQUOTA, Q_XGETQSTAT, Q_XGETQSTATV and Q_XGETNEXTQUOTA to trigger
filesystem quotaget permission check.

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c