Re: [PATCH ghak90 V6 00/10] audit: implement container identifier

2019-04-22 Thread Neil Horman
On Mon, Apr 08, 2019 at 11:39:07PM -0400, Richard Guy Briggs wrote: > Implement kernel audit container identifier. > > This patchset is a fifth based on the proposal document (V3) > posted: > https://www.redhat.com/archives/linux-audit/2018-January/msg00014.html > > The first patch was the

Re: [PATCH] audit: fix a memory leak bug

2019-04-22 Thread Wenwen Wang
On Thu, Apr 18, 2019 at 4:52 PM Paul Moore wrote: > > On Thu, Apr 18, 2019 at 1:39 PM Wenwen Wang wrote: > > In audit_rule_change(), audit_data_to_entry() is firstly invoked to > > translate the payload data to the kernel's rule representation. In > > audit_data_to_entry(), depending on the audit

[PATCH v2] audit: fix a memory leak bug

2019-04-22 Thread Wenwen Wang
In audit_rule_change(), audit_data_to_entry() is firstly invoked to translate the payload data to the kernel's rule representation. In audit_data_to_entry(), depending on the audit field type, an audit tree may be created in audit_make_tree(), which eventually invokes kmalloc() to allocate the tree

Re: [PATCH v2] audit: fix a memory leak bug

2019-04-22 Thread Wenwen Wang
On Fri, Apr 19, 2019 at 2:28 PM Paul Moore wrote: > > On Fri, Apr 19, 2019 at 11:10 AM Wenwen Wang wrote: > > > > In audit_rule_change(), audit_data_to_entry() is firstly invoked to > > translate the payload data to the kernel's rule representation. In > > audit_data_to_entry(), depending on the

[PATCH v3] audit: fix a memory leak bug

2019-04-22 Thread Wenwen Wang
In audit_rule_change(), audit_data_to_entry() is firstly invoked to translate the payload data to the kernel's rule representation. In audit_data_to_entry(), depending on the audit field type, an audit tree may be created in audit_make_tree(), which eventually invokes kmalloc() to allocate the tree

[PATCH] audit: fix a memory leak bug

2019-04-22 Thread Wenwen Wang
In audit_rule_change(), audit_data_to_entry() is firstly invoked to translate the payload data to the kernel's rule representation. In audit_data_to_entry(), depending on the audit field type, an audit tree may be created in audit_make_tree(), which eventually invokes kmalloc() to allocate the tree

Re: [PATCH v3] audit: fix a memory leak bug

2019-04-22 Thread Richard Guy Briggs
On 2019-04-19 20:49, Wenwen Wang wrote: > In audit_rule_change(), audit_data_to_entry() is firstly invoked to > translate the payload data to the kernel's rule representation. In > audit_data_to_entry(), depending on the audit field type, an audit tree may > be created in audit_make_tree(), which e

Re: [PATCH ghak90 V6 00/10] audit: implement container identifier

2019-04-22 Thread Paul Moore
On Mon, Apr 22, 2019 at 7:38 AM Neil Horman wrote: > On Mon, Apr 08, 2019 at 11:39:07PM -0400, Richard Guy Briggs wrote: > > Implement kernel audit container identifier. > > I'm sorry, I've lost track of this, where have we landed on it? Are we good > for > inclusion? I haven't finished going th

Re: [PATCH v3] audit: fix a memory leak bug

2019-04-22 Thread Paul Moore
On Fri, Apr 19, 2019 at 9:49 PM Wenwen Wang wrote: > In audit_rule_change(), audit_data_to_entry() is firstly invoked to > translate the payload data to the kernel's rule representation. In > audit_data_to_entry(), depending on the audit field type, an audit tree may > be created in audit_make_tre