[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B6FC5@saturn3.aculab.com>
Date: Fri, 24 Aug 2012 10:45:17 +0100
From: "David Laight" <David.Laight@...LAB.COM>
To: "Eric W. Biederman" <ebiederm@...ssion.com>,
"Eric Dumazet" <eric.dumazet@...il.com>
Cc: <netdev@...r.kernel.org>
Subject: RE: netlink scm creds uid and gids are always 0.
> There is still a possible issue with netlink sockets and pids when the
> two processes talking over netlink are in different pid namespaces.
Isn't there a more general problem of the sending process exiting
and its pid being reused before the receiving program makes use
of the value?
IIRC 2.6.27 tried to alleviate this for some code paths by
using a reference-counted structure for some kernel calls.
(A PITA because the function to lose the reference is exported
GPL_ONLY ...)
David
--
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