Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Access vector cache interface for the security server. |
| 3 | * |
| 4 | * Author : Stephen Smalley, <sds@epoch.ncsc.mil> |
| 5 | */ |
| 6 | #ifndef _SELINUX_AVC_SS_H_ |
| 7 | #define _SELINUX_AVC_SS_H_ |
| 8 | |
| 9 | #include "flask.h" |
| 10 | |
| 11 | int avc_ss_reset(u32 seqno); |
| 12 | |
Stephen Smalley | c6d3aaa | 2009-09-30 13:37:50 -0400 | [diff] [blame^] | 13 | /* Class/perm mapping support */ |
| 14 | struct security_class_mapping { |
Chad Sellers | 5c45899 | 2006-11-06 12:38:16 -0500 | [diff] [blame] | 15 | const char *name; |
Stephen Smalley | c6d3aaa | 2009-09-30 13:37:50 -0400 | [diff] [blame^] | 16 | const char *perms[sizeof(u32) * 8 + 1]; |
Chad Sellers | 5c45899 | 2006-11-06 12:38:16 -0500 | [diff] [blame] | 17 | }; |
| 18 | |
Stephen Smalley | c6d3aaa | 2009-09-30 13:37:50 -0400 | [diff] [blame^] | 19 | extern struct security_class_mapping secclass_map[]; |
Chad Sellers | 5c45899 | 2006-11-06 12:38:16 -0500 | [diff] [blame] | 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #endif /* _SELINUX_AVC_SS_H_ */ |
| 22 | |