summaryrefslogtreecommitdiffstats
path: root/security/apparmor/lsm.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2013-02-19 01:06:34 +0100
committerJohn Johansen <john.johansen@canonical.com>2013-04-28 09:36:32 +0200
commit4b7c331fc2eceaa4da5ded41c0b2eca3fd924444 (patch)
tree32ee416a4529f887a600704716166fc31f5efd63 /security/apparmor/lsm.c
parentapparmor: use common fn to clear task_context for domain transitions (diff)
downloadlinux-4b7c331fc2eceaa4da5ded41c0b2eca3fd924444.tar.xz
linux-4b7c331fc2eceaa4da5ded41c0b2eca3fd924444.zip
apparmor: remove "permipc" command
The "permipc" command is unused and unfinished, remove it. Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Kees Cook <kees@ubuntu.com>
Diffstat (limited to 'security/apparmor/lsm.c')
-rw-r--r--security/apparmor/lsm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index 0f61dadca9e6..ed7e3aadba3a 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -572,8 +572,6 @@ static int apparmor_setprocattr(struct task_struct *task, char *name,
} else if (strcmp(command, "permprofile") == 0) {
error = aa_setprocattr_changeprofile(args, !AA_ONEXEC,
AA_DO_TEST);
- } else if (strcmp(command, "permipc") == 0) {
- error = aa_setprocattr_permipc(args);
} else {
struct common_audit_data sa;
struct apparmor_audit_data aad = {0,};