Re: [PATCH 0/2][V2] net: Implement SO_PEERCGROUP to get cgroup of peer

2014-03-12 Thread Andy Lutomirski
On Wed, Mar 12, 2014 at 1:59 PM, Simo Sorce wrote: > On Wed, 2014-03-12 at 13:56 -0700, Andy Lutomirski wrote: >> On 03/12/2014 01:46 PM, Vivek Goyal wrote: >> > Hi, >> > >> > This is V2 of patches. Fixed the function format issue and also I was using >> > CONFIG_CGROUP instead of CONFIG_CGROUPS.

Re: [PATCH 0/2][V2] net: Implement SO_PEERCGROUP to get cgroup of peer

2014-03-12 Thread Simo Sorce
On Wed, 2014-03-12 at 13:56 -0700, Andy Lutomirski wrote: > On 03/12/2014 01:46 PM, Vivek Goyal wrote: > > Hi, > > > > This is V2 of patches. Fixed the function format issue and also I was using > > CONFIG_CGROUP instead of CONFIG_CGROUPS. That led to crash at boot. Fixed > > that. > > > > Some

Re: [PATCH 0/2][V2] net: Implement SO_PEERCGROUP to get cgroup of peer

2014-03-12 Thread Andy Lutomirski
On 03/12/2014 01:46 PM, Vivek Goyal wrote: > Hi, > > This is V2 of patches. Fixed the function format issue and also I was using > CONFIG_CGROUP instead of CONFIG_CGROUPS. That led to crash at boot. Fixed > that. > > Some applications like sssd want to know the cgroup of connected peer over > un

[PATCH 0/2][V2] net: Implement SO_PEERCGROUP to get cgroup of peer

2014-03-12 Thread Vivek Goyal
Hi, This is V2 of patches. Fixed the function format issue and also I was using CONFIG_CGROUP instead of CONFIG_CGROUPS. That led to crash at boot. Fixed that. Some applications like sssd want to know the cgroup of connected peer over unix stream socket. They want to use this information to map t