From owner-cvs-all Thu Jun 17 16:54:59 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 755F914CCD; Thu, 17 Jun 1999 16:54:57 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: (from green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA08155; Thu, 17 Jun 1999 16:54:57 -0700 (PDT) (envelope-from green@FreeBSD.org) Message-Id: <199906172354.QAA08155@freefall.freebsd.org> From: Brian Fundakowski Feldman Date: Thu, 17 Jun 1999 16:54:56 -0700 (PDT) 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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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