summaryrefslogtreecommitdiffstats
path: root/security/selinux/include/security.h
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2008-02-05 00:31:00 +0100
committerJames Morris <jmorris@localhost.localdomain>2008-02-06 14:40:59 +0100
commit394c6753978a75cab7558a377f2551a3c1101027 (patch)
treec2712cb2d52ecae5db1d9ae417241154fe7a0808 /security/selinux/include/security.h
parentsecurity: allow Kconfig to set default mmap_min_addr protection (diff)
downloadlinux-394c6753978a75cab7558a377f2551a3c1101027.tar.xz
linux-394c6753978a75cab7558a377f2551a3c1101027.zip
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/security.h')
-rw-r--r--security/selinux/include/security.h1
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);
int security_get_permissions(char *class, char ***perms, int *nperms);
int security_get_reject_unknown(void);
int security_get_allow_unknown(void);
-int security_get_policycaps(int *len, int **values);
#define SECURITY_FS_USE_XATTR 1 /* use xattr */
#define SECURITY_FS_USE_TRANS 2 /* use transition SIDs, e.g. devpts/tmpfs */