Thread (19 messages) flat view 19 messages, 7 authors, 2016-02-03

Re: [PATCH v2] unix: properly account for FDs passed over unix sockets

From: Willy Tarreau <w@1wt.eu>
Date: 2016-02-02 20:50:09
Also in: lkml

On Tue, Feb 02, 2016 at 12:44:54PM -0800, Linus Torvalds wrote:
On Tue, Feb 2, 2016 at 12:32 PM, Hannes Frederic Sowa
[off-list ref] wrote:
quoted
But "struct pid *" in unix_skb_parms should be enough to get us to
corresponding "struct cred *" so we can decrement the correct counter during
skb destruction.
Umm. I think the "struct cred" may change in between, can't it?
You mean for example in case of setuid() or something like this ?

willy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help