tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Adding sc_pid to SCM_CREDS



On 30/03/2016 16:51, Martin Husemann wrote:
> Sorry to be slow here, but *why* is the pid of the peer a usefull
> information to have?

For example, validating the pid given via syslog.

> And if we would give that away, are there any security implications?

It's already available via LOCAL_PEEREID for AF_LOCAL sockets other than
SOCK_DGRAM, but at the expesnse of another syscall.

Roy


Home | Main Index | Thread Index | Old Index