Date: Mon, 4 Feb 2008 05:33:22 -0600 (CST) From: Scott Bennett <bennett@cs.niu.edu> To: freebsd-questions@freebsd.org, "Zane C.B." <v.velox@vvelox.net> Subject: Re: unix domain socket security and PID retrieval Message-ID: <200802041133.m14BXMmW029486@mp.cs.niu.edu>
next in thread | raw e-mail | index | archive | help
> On Mon, 4 Feb 2008 04:30:21 -0600 "Zane C.B." <v.velox@vvelox.net> >wrote: >Been starting to look into writing some stuff that uses unix domain >sockets, but I've been running into the problem of figuring out what >the calling PID is on the other end. > >Any suggestions on where I should begin to look? Sure. Take a look at the man pages for fork(2), vfork(2), and fork(3f). > >As it currently stands, I am looking at doing this with perl. In that case, take a look at perlfork(1), too. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802041133.m14BXMmW029486>