Re: [AppArmor 39/41] AppArmor: Profile loading and manipulation, pathname matching

Andi Kleen
2007-04-16T06:27:14Z

> It's nice to check for consistency though, so we're adding that. Profile
> loading is a trusted operation, at least so far, and so security wise we
> don't actually have to care --- if loading an invalid profile can bring down
> the system, then that's no worse than an arbitrary module that crashes the
> machine. Not sure if there will ever be user loadable profiles; at least at
> that point we had to care.

A security system that allows to crash the kernel is a little weird
though. It would be better to check. Not that a recursion check
is particularly expensive.

-Andi