diff options
Diffstat (limited to 'security/selinux/include')
-rw-r--r-- | security/selinux/include/avc.h | 2 | ||||
-rw-r--r-- | security/selinux/include/objsec.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/security/selinux/include/avc.h b/security/selinux/include/avc.h index e145f6e13b0b..553607a19e92 100644 --- a/security/selinux/include/avc.h +++ b/security/selinux/include/avc.h | |||
@@ -112,6 +112,8 @@ int avc_has_perm(u32 ssid, u32 tsid, | |||
112 | u16 tclass, u32 requested, | 112 | u16 tclass, u32 requested, |
113 | struct avc_audit_data *auditdata); | 113 | struct avc_audit_data *auditdata); |
114 | 114 | ||
115 | u32 avc_policy_seqno(void); | ||
116 | |||
115 | #define AVC_CALLBACK_GRANT 1 | 117 | #define AVC_CALLBACK_GRANT 1 |
116 | #define AVC_CALLBACK_TRY_REVOKE 2 | 118 | #define AVC_CALLBACK_TRY_REVOKE 2 |
117 | #define AVC_CALLBACK_REVOKE 4 | 119 | #define AVC_CALLBACK_REVOKE 4 |
diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index 91b88f0ba20c..642a9fd319ad 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h | |||
@@ -53,6 +53,8 @@ struct file_security_struct { | |||
53 | struct file *file; /* back pointer to file object */ | 53 | struct file *file; /* back pointer to file object */ |
54 | u32 sid; /* SID of open file description */ | 54 | u32 sid; /* SID of open file description */ |
55 | u32 fown_sid; /* SID of file owner (for SIGIO) */ | 55 | u32 fown_sid; /* SID of file owner (for SIGIO) */ |
56 | u32 isid; /* SID of inode at the time of file open */ | ||
57 | u32 pseqno; /* Policy seqno at the time of file open */ | ||
56 | }; | 58 | }; |
57 | 59 | ||
58 | struct superblock_security_struct { | 60 | struct superblock_security_struct { |