The oomkiller calculations make decisions based on capabilities. Since
commita2f2945a99057c7d44043465906c6bb63c3368a0
authorEric Paris <eparis@redhat.com>
Tue, 11 Nov 2008 11:02:54 +0000 (11 22:02 +1100)
committerJames Morris <jmorris@namei.org>
Tue, 11 Nov 2008 11:02:54 +0000 (11 22:02 +1100)
treeb7edb1a346217a2b27d25ea72cc652065877e45a
parent06112163f5fd9e491a7f810443d81efa9d88e247
The oomkiller calculations make decisions based on capabilities.  Since
these are not security decisions and LSMs should not record if they fall
the request they should use the new has_capability_noaudit() interface so
the denials will not be recorded.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
mm/oom_kill.c