[apparmor] [PATCH 2/5] Add the ability to read proc attr interfaces

Kees Cook kees.cook at canonical.com
Fri Jul 22 13:13:24 UTC 2011


On Thu, Jul 21, 2011 at 08:43:16PM -0700, John Johansen wrote:
> sure we can throw in
> 
> 
> 	if (!buf) {
> 		errno = EINVAL;
> 		return -1;
> 	}

Yeah, that looks good. Could probably use that in a few other places
too. I got stuck about half way through your patches. :)

-- 
Kees Cook
Ubuntu Security Team



More information about the AppArmor mailing list