apparmor: exec should not be returning ENOENT when it denies
authorJohn Johansen <john.johansen@canonical.com>
Fri, 25 Jul 2014 11:02:03 +0000 (04:02 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Tue, 12 Jul 2016 15:43:10 +0000 (08:43 -0700)
commit9049a7922124d843a2cd26a02b1d00a17596ec0c
tree34ca85c85a78a21003149619dc3c5074bf8afc33
parentb6b1b81b3afba922505b57f4c812bba022f7c4a9
apparmor: exec should not be returning ENOENT when it denies

The current behavior is confusing as it causes exec failures to report
the executable is missing instead of identifying that apparmor
caused the failure.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
security/apparmor/domain.c