diff options
author | Paul Moore <pmoore@redhat.com> | 2014-08-05 15:44:22 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-08-05 15:44:22 -0400 |
commit | aa9e0de81b5b257f6dae48efe2ed5f255f066497 (patch) | |
tree | 9b0b791d5912368006115427e74105cfe26750bd /security/selinux | |
parent | 4fbe63d1c773cceef3fe1f6ed0c9c268f4f24760 (diff) | |
parent | 19583ca584d6f574384e17fe7613dfaeadcdc4a6 (diff) |
Merge tag 'v3.16' into next
Linux 3.16
Diffstat (limited to 'security/selinux')
-rw-r--r-- | security/selinux/hooks.c | 2 | ||||
-rw-r--r-- | security/selinux/include/classmap.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 39bc8c94b969..b0e940497e23 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -5736,7 +5736,7 @@ static void selinux_key_free(struct key *k) | |||
5736 | 5736 | ||
5737 | static int selinux_key_permission(key_ref_t key_ref, | 5737 | static int selinux_key_permission(key_ref_t key_ref, |
5738 | const struct cred *cred, | 5738 | const struct cred *cred, |
5739 | key_perm_t perm) | 5739 | unsigned perm) |
5740 | { | 5740 | { |
5741 | struct key *key; | 5741 | struct key *key; |
5742 | struct key_security_struct *ksec; | 5742 | struct key_security_struct *ksec; |
diff --git a/security/selinux/include/classmap.h b/security/selinux/include/classmap.h index 14d04e63b1f0..be491a74c1ed 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h | |||
@@ -147,7 +147,7 @@ struct security_class_mapping secclass_map[] = { | |||
147 | { "peer", { "recv", NULL } }, | 147 | { "peer", { "recv", NULL } }, |
148 | { "capability2", | 148 | { "capability2", |
149 | { "mac_override", "mac_admin", "syslog", "wake_alarm", "block_suspend", | 149 | { "mac_override", "mac_admin", "syslog", "wake_alarm", "block_suspend", |
150 | NULL } }, | 150 | "audit_read", NULL } }, |
151 | { "kernel_service", { "use_as_override", "create_files_as", NULL } }, | 151 | { "kernel_service", { "use_as_override", "create_files_as", NULL } }, |
152 | { "tun_socket", | 152 | { "tun_socket", |
153 | { COMMON_SOCK_PERMS, "attach_queue", NULL } }, | 153 | { COMMON_SOCK_PERMS, "attach_queue", NULL } }, |