apparmor: fix setprocattr arg processing for onexec
authorJohn Johansen <john.johansen@canonical.com>
Wed, 27 Feb 2013 11:44:40 +0000 (03:44 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 28 Apr 2013 07:39:36 +0000 (00:39 -0700)
the exec file isn't processing its command arg. It should only set be
responding to a command of exec.

Also cleanup setprocattr some more while we are at it.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c

Simple merge