Re: [PATCH 0/2] net: Implement SO_PEERCGROUP and SO_PASSCGROUP socket options

From: Andy Lutomirski
Date: Tue Apr 22 2014 - 16:09:27 EST


On Tue, Apr 22, 2014 at 1:05 PM, David Miller <davem@xxxxxxxxxxxxx> wrote:
> From: Vivek Goyal <vgoyal@xxxxxxxxxx>
> Date: Tue, 15 Apr 2014 17:15:44 -0400
>
>> This is another version of patchset to add support passing cgroup
>> information of client over unix socket API.
>
> I'm marking this patch series as "changes requested" in patchwork
> because if we still end up adding this feature SO_PASSCGROUP needs to
> be changed to behave like SO_PASSCRED.
>
> Specifically, like SO_PASSCRED, it should pass the "real" cgroup, ie.
> the cgroup at socket open() time.
>

I suspect that making this change will render it useless,
unfortunately. I really want to understand the use case.

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/