]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5fdbf37ac17beac659997380520abffd3ec8ef2e
treef844348318e74758503b50f66ab066eeacb132d6
parentdf2852430e3946d93f595a4878a2cb915b896fa9
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