Re: [PATCH audit-next 2/2] Audit: make audit netlink socket net namespace unaware

2014-01-16 Thread Gao feng
On 01/17/2014 06:29 AM, Serge E. Hallyn wrote: > Quoting Gao feng (gaof...@cn.fujitsu.com): >> Add a compare function which always return true for >> audit netlink socket, this will cause audit netlink >> sockets netns unaware, and no matter which netns the >> user space audit netlink sockets

Re: [PATCH audit-next 2/2] Audit: make audit netlink socket net namespace unaware

2014-01-16 Thread Serge E. Hallyn
Quoting Gao feng (gaof...@cn.fujitsu.com): > Add a compare function which always return true for > audit netlink socket, this will cause audit netlink > sockets netns unaware, and no matter which netns the > user space audit netlink sockets belong to, they all > can find out and communicate with

Re: [PATCH audit-next 2/2] Audit: make audit netlink socket net namespace unaware

2014-01-16 Thread Serge E. Hallyn
Quoting Gao feng (gaof...@cn.fujitsu.com): Add a compare function which always return true for audit netlink socket, this will cause audit netlink sockets netns unaware, and no matter which netns the user space audit netlink sockets belong to, they all can find out and communicate with

Re: [PATCH audit-next 2/2] Audit: make audit netlink socket net namespace unaware

2014-01-16 Thread Gao feng
On 01/17/2014 06:29 AM, Serge E. Hallyn wrote: Quoting Gao feng (gaof...@cn.fujitsu.com): Add a compare function which always return true for audit netlink socket, this will cause audit netlink sockets netns unaware, and no matter which netns the user space audit netlink sockets belong to,

[PATCH audit-next 2/2] Audit: make audit netlink socket net namespace unaware

2014-01-09 Thread Gao feng
Add a compare function which always return true for audit netlink socket, this will cause audit netlink sockets netns unaware, and no matter which netns the user space audit netlink sockets belong to, they all can find out and communicate with audit_sock. This gets rid of the necessary to create

[PATCH audit-next 2/2] Audit: make audit netlink socket net namespace unaware

2014-01-09 Thread Gao feng
Add a compare function which always return true for audit netlink socket, this will cause audit netlink sockets netns unaware, and no matter which netns the user space audit netlink sockets belong to, they all can find out and communicate with audit_sock. This gets rid of the necessary to create