diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-12-24 17:09:40 +0100 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-12-24 17:09:40 +0100 |
commit | f39814f60ad0fa982ac87a97af1fb0bde244c319 (patch) | |
tree | d94a0928843a74efeaf5fe89b52be3ed38a9d0da /security/selinux/ss/services.c | |
parent | selinux: Revalidate invalid inode security labels (diff) | |
download | linux-f39814f60ad0fa982ac87a97af1fb0bde244c319.tar.xz linux-f39814f60ad0fa982ac87a97af1fb0bde244c319.zip |
gfs2: Invalid security labels of inodes when they go invalid
When gfs2 releases the glock of an inode, it must invalidate all
information cached for that inode, including the page cache and acls.
Use the new security_inode_invalidate_secctx hook to also invalidate
security labels in that case. These items will be reread from disk
when needed after reacquiring the glock.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Acked-by: Bob Peterson <rpeterso@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: cluster-devel@redhat.com
[PM: fixed spelling errors and description line lengths]
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'security/selinux/ss/services.c')
0 files changed, 0 insertions, 0 deletions