From: Stephen Smalley Date: Mon, 9 Jun 2008 20:03:56 +0000 (-0400) Subject: selinux: change handling of invalid classes (Was: Re: 2.6.26-rc5-mm1 selinux whine) X-Git-Tag: v2.6.27-rc1~1109^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22df4adb049a5cbb340dd935f5bbfa1ab3947562;p=pandora-kernel.git selinux: change handling of invalid classes (Was: Re: 2.6.26-rc5-mm1 selinux whine) On Mon, 2008-06-09 at 01:24 -0700, Andrew Morton wrote: > Getting a few of these with FC5: > > SELinux: context_struct_compute_av: unrecognized class 69 > SELinux: context_struct_compute_av: unrecognized class 69 > > one came out when I logged in. > > No other symptoms, yet. Change handling of invalid classes by SELinux, reporting class values unknown to the kernel as errors (w/ ratelimit applied) and handling class values unknown to policy as normal denials. Signed-off-by: Stephen Smalley Acked-by: Eric Paris Signed-off-by: James Morris --- Reading git-diff-tree failed