Date: Thu, 17 Jun 1999 16:54:56 -0700 (PDT) From: Brian Fundakowski Feldman <green@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys socketvar.h param.h src/sys/kern uipc_socket.c uipc_socket2.c src/sys/netinet in_pcb.c ports/security/pidentd/patches patch-aj Message-ID: <199906172354.QAA08155@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
green 1999/06/17 16:54:56 PDT
Modified files:
sys/sys socketvar.h param.h
sys/kern uipc_socket.c uipc_socket2.c
sys/netinet in_pcb.c
Added files:
security/pidentd/patches patch-aj
Log:
Reviewed by: the cast of thousands
This is the change to struct sockets that gets rid of so_uid and replaces
it with a much more useful struct pcred *so_cred. This is here to be able
to do socket-level credential checks (i.e. IPFW uid/gid support, to be added
to HEAD soon). Along with this comes an update to pidentd which greatly
simplifies the code necessary to get a uid from a socket. Soon to come:
a sysctl() interface to finding individual sockets' credentials.
Revision Changes Path
1.38 +2 -2 src/sys/sys/socketvar.h
1.49 +2 -2 src/sys/sys/param.h
1.60 +11 -4 src/sys/kern/uipc_socket.c
1.47 +5 -3 src/sys/kern/uipc_socket2.c
1.50 +5 -3 src/sys/netinet/in_pcb.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906172354.QAA08155>
