mac_portacl(4) minor bugfix

Pawel Jakub Dawidek nick at garage.freebsd.pl
Sun Jan 25 23:52:08 GMT 2004


On Mon, Jan 26, 2004 at 12:16:57AM +0100, Simon L. Nielsen wrote:
+> The simple way with a call to log() is quite easy to implement.  The
+> attached patch logs denied requests, but I couldn't see a way to get the
+> pid of the caller, [...]

You can always get PID from curproc->p_pid.

-- 
Pawel Jakub Dawidek                       pawel at dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/trustedbsd-discuss/attachments/20040126/66cbcbd0/attachment.bin


More information about the trustedbsd-discuss mailing list