diff options
author | Paul Moore <paul.moore@hp.com> | 2008-02-04 18:31:00 -0500 |
---|---|---|
committer | James Morris <jmorris@localhost.localdomain> | 2008-02-06 08:40:59 -0500 |
commit | 394c6753978a75cab7558a377f2551a3c1101027 (patch) | |
tree | c2712cb2d52ecae5db1d9ae417241154fe7a0808 /security/selinux/include | |
parent | a5ecbcb8c13ea8a822d243bf782d0dc9525b4f84 (diff) |
SELinux: Remove security_get_policycaps()
The security_get_policycaps() functions has a couple of bugs in it and it
isn't currently used by any in-tree code, so get rid of it and all of it's
bugginess.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@localhost.localdomain>
Diffstat (limited to 'security/selinux/include')
-rw-r--r-- | security/selinux/include/security.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 23137c17f917..837ce420d2f6 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h | |||
@@ -107,7 +107,6 @@ int security_get_classes(char ***classes, int *nclasses); | |||
107 | int security_get_permissions(char *class, char ***perms, int *nperms); | 107 | int security_get_permissions(char *class, char ***perms, int *nperms); |
108 | int security_get_reject_unknown(void); | 108 | int security_get_reject_unknown(void); |
109 | int security_get_allow_unknown(void); | 109 | int security_get_allow_unknown(void); |
110 | int security_get_policycaps(int *len, int **values); | ||
111 | 110 | ||
112 | #define SECURITY_FS_USE_XATTR 1 /* use xattr */ | 111 | #define SECURITY_FS_USE_XATTR 1 /* use xattr */ |
113 | #define SECURITY_FS_USE_TRANS 2 /* use transition SIDs, e.g. devpts/tmpfs */ | 112 | #define SECURITY_FS_USE_TRANS 2 /* use transition SIDs, e.g. devpts/tmpfs */ |