[patch] get pid of peer
Stephen Smalley
sds at epoch.ncsc.mil
Thu Jul 15 06:06:13 PDT 2004
On Thu, 2004-07-15 at 09:11, David Zeuthen wrote:
> Sounds cool. I must admit I haven't studied the SELInux patches to
> D-BUS yet, sorry; will D-BUS+SELinux patches alleviate the problem
> stated above?
getpeercon(), the function for obtaining the security context of the
peer, is implemented via a getsockopt with a new socket option that was
added to Linux 2.6. No root privileges required. It is used by both
SE-DBUS and by security enhanced X.
--
Stephen Smalley <sds at epoch.ncsc.mil>
National Security Agency
More information about the dbus
mailing list