[PATCH 0/1] [jaunty] LP#344370 -- Add checking for AppArmorFS creation failure.
Tim Gardner
tim.gardner at canonical.com
Tue Mar 24 00:31:51 UTC 2009
Brad Figg wrote:
> Tim Gardner wrote:
>> Brad Figg wrote:
>>> Please pull from:
>>> git://kernel.ubuntu.com/brad/ubuntu-jaunty master
>>>
>>> Bug: 344370
>>>
>>> When the creation of the AppArmor FS fails the default_namespace is
>>> free'd. However, this was not being checked for and was being used
>>> anyway.
>>>
>>> UBUNTU: SAUCE: Add checking for AppArmorFS creation failure.
>>>
>>> security/apparmor/main.c | 4 +++-
>>> 1 files changed, 3 insertions(+), 1 deletions(-)
>>>
>>>
>>
>> Is this the root cause for AA oops'ing on ARM imx51 ?
>>
>
> Yes and no. This prevents the oops from happening. However, the
> reason this check is necessary is that earlier on the AppArmorFS
> failed to be created. The creation failed because a directory
> "apparmor" could not be created in the root directory of the
> "securityfs".
>
> I believe that this is due to a platform configuration issue. However,
> I'm trying to figure out what the "securityfs" is, how it gets
> created and why it is missing from the imx51.
>
> Brad
>
Your best resource for finding out the answer to that question might be
Oliver.
--
Tim Gardner tim.gardner at canonical.com
More information about the kernel-team
mailing list