]> git.baikalelectronics.ru Git - kernel.git/commit
The oomkiller calculations make decisions based on capabilities. Since
authorEric Paris <eparis@redhat.com>
Tue, 11 Nov 2008 11:02:54 +0000 (22:02 +1100)
committerJames Morris <jmorris@namei.org>
Tue, 11 Nov 2008 11:02:54 +0000 (22:02 +1100)
commit10f80f742f0154f327d55e0a6fe8080d3444323a
treeb7edb1a346217a2b27d25ea72cc652065877e45a
parente34df1bf5147e96b0636693209caf597bfd42daa
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