Date: Sun, 6 Mar 2005 13:36:02 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Andreas Bachmann <bachi@te-clan.ch> Cc: freebsd-net@freebsd.org Subject: Re: static pid and uid for a socket? Message-ID: <20050306113602.GA72592@gothmog.gr> In-Reply-To: <1110107067.2060.26.camel@notebook.bachi.net> References: <1110107067.2060.26.camel@notebook.bachi.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-03-06 12:04, Andreas Bachmann <bachi@te-clan.ch> wrote: > can a socket, which created by a user over a process (xfile.xf_uid, > xfile.xf_pid), suddenly have another user or another process (maybee > with setuid() or fork()) or does the socket clone? AFAIK, this can only be done if the original process calls execve() on a setuid binary and has not marked the socket descriptor as close-on-exec.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050306113602.GA72592>