[RFC PATCH V1 01/12] audit: add container id

Serge E. Hallyn serge at hallyn.com
Sat Mar 3 09:19:13 UTC 2018


On Thu, Mar 01, 2018 at 02:41:04PM -0500, Richard Guy Briggs wrote:
...
> +static inline bool audit_containerid_set(struct task_struct *tsk)

Hi Richard,

the calls to audit_containerid_set() confused me.  Could you make it
is_audit_containerid_set() or audit_containerid_isset()?

> +{
> +	return audit_get_containerid(tsk) != INVALID_CID;
> +}




More information about the Containers mailing list