diff options
| author | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
| commit | 79828b4fa835f73cdaf4bffa48696abdcbea9d02 (patch) | |
| tree | 5e0fa7156acb75ba603022bc807df8f2fedb97a8 /security/selinux/include/avc.h | |
| parent | 721b51fcf91898299d96f4b72cb9434cda29dce6 (diff) | |
| parent | 8c1a9d6323abf0fb1e5dad96cf3f1c783505ea5a (diff) | |
Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-fix-rt5645
Diffstat (limited to 'security/selinux/include/avc.h')
| -rw-r--r-- | security/selinux/include/avc.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/security/selinux/include/avc.h b/security/selinux/include/avc.h index 5973c327c54e..0999df03af8b 100644 --- a/security/selinux/include/avc.h +++ b/security/selinux/include/avc.h @@ -143,6 +143,7 @@ static inline int avc_audit(u32 ssid, u32 tsid,  }  #define AVC_STRICT 1 /* Ignore permissive mode. */ +#define AVC_EXTENDED_PERMS 2	/* update extended permissions */  int avc_has_perm_noaudit(u32 ssid, u32 tsid,  			 u16 tclass, u32 requested,  			 unsigned flags, @@ -156,6 +157,10 @@ int avc_has_perm_flags(u32 ssid, u32 tsid,  		       struct common_audit_data *auditdata,  		       int flags); +int avc_has_extended_perms(u32 ssid, u32 tsid, u16 tclass, u32 requested, +		u8 driver, u8 perm, struct common_audit_data *ad); + +  u32 avc_policy_seqno(void);  #define AVC_CALLBACK_GRANT		1 @@ -166,6 +171,7 @@ u32 avc_policy_seqno(void);  #define AVC_CALLBACK_AUDITALLOW_DISABLE	32  #define AVC_CALLBACK_AUDITDENY_ENABLE	64  #define AVC_CALLBACK_AUDITDENY_DISABLE	128 +#define AVC_CALLBACK_ADD_XPERMS		256  int avc_add_callback(int (*callback)(u32 event), u32 events);  |