On Tue, Nov 20, 2012 at 08:39:52PM -0800, John Johansen wrote:
> The sid is not going to be a direct property of a profile anymore, instead
> it will be directly related to the label, and the profile will pickup
> a label back reference.
> 
> For null-profiles replace the use of sid with a per namespace unique
> id.
> 
> Signed-off-by: John Johansen <[email protected]>


> diff --git a/security/apparmor/include/policy.h 
> b/security/apparmor/include/policy.h
> index 95979c4..aadcbf8 100644
> --- a/security/apparmor/include/policy.h
> +++ b/security/apparmor/include/policy.h
> @@ -127,6 +127,8 @@ struct aa_namespace {
>       struct aa_ns_acct acct;
>       struct aa_profile *unconfined;
>       struct list_head sub_ns;
> +
> +     atomic_t uniq_null;
>  };

Drop empty line?

After that,

Acked-by: Kees Cook <[email protected]>

(Yay, no sid!)

-- 
Kees Cook

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to