[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140424.171155.806959282091051918.davem@davemloft.net>
Date: Thu, 24 Apr 2014 17:11:55 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: vgoyal@...hat.com
Cc: luto@...capital.net, tj@...nel.org, dwalsh@...hat.com,
linux-kernel@...r.kernel.org, lpoetter@...hat.com,
ssorce@...hat.com, cgroups@...r.kernel.org, kay@...hat.com,
netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] net: Implement SO_PASSCGROUP to enable passing
cgroup path
From: Vivek Goyal <vgoyal@...hat.com>
Date: Thu, 24 Apr 2014 17:04:29 -0400
> Does it really matter.
Good question, if it doesn't matter, you might as well log garbage.
There are a lot of logical holes in this discussion.
Real UIDs are always reported at sendmsg() time, not effective ones
(the UID "at sendmsg() time").
Therefore if we were to add CGROUP passing at sendmsg() time it should
report the "real cgroup", the one the task has at the time the file
descriptor / socket was "created".
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists