aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs/kernfs-internal.h
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2019-02-22 15:57:15 +0100
committerPaul Moore <paul@paul-moore.com>2019-03-20 21:54:33 -0400
commit0ac6075a32fc05bc7fa025965914e8dcd448a668 (patch)
treef82edaba1aba32eacb57876d56fb3b218ec88840 /fs/kernfs/kernfs-internal.h
parentselinux: try security xattr after genfs for kernfs filesystems (diff)
downloadlinux-dev-0ac6075a32fc05bc7fa025965914e8dcd448a668.tar.xz
linux-dev-0ac6075a32fc05bc7fa025965914e8dcd448a668.zip
kernfs: use simple_xattrs for security attributes
Replace the special handling of security xattrs with simple_xattrs, as is already done for the trusted xattrs. This simplifies the code and allows LSMs to use more than just a single xattr to do their business. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com> [PM: manual merge fixes] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
-rw-r--r--fs/kernfs/kernfs-internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/kernfs/kernfs-internal.h b/fs/kernfs/kernfs-internal.h
index 385a5ca0b2f6..3c437990f39a 100644
--- a/fs/kernfs/kernfs-internal.h
+++ b/fs/kernfs/kernfs-internal.h
@@ -25,8 +25,6 @@ struct kernfs_iattrs {
struct timespec64 ia_atime;
struct timespec64 ia_mtime;
struct timespec64 ia_ctime;
- void *ia_secdata;
- u32 ia_secdata_len;
struct simple_xattrs xattrs;
};