On Thu, Apr 17, 2014 at 11:50 AM, Vivek Goyal <vgo...@redhat.com> wrote: > On Thu, Apr 17, 2014 at 02:23:33PM -0400, Simo Sorce wrote: >> Perhaps this could be done with a sendmsg() header flag or simplified >> ancillary data even, rather than forcing the sender process to retrieve >> and construct the whole information which is already available in >> kernel. > > So what would be the protocol here? When should somebody send an > SCM_CGROUP message using sendmsg()? >
Presumably whenever it knows talking to someone who cares about the cgroup. Since I don't understand why you would want to know someone's cgroup when speaking a protocol that didn't previously require cgroup infomation, I don't really have a good answer for you. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/