From owner-cvs-all@FreeBSD.ORG Sat Nov 15 19:53:38 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 030EE16A4CE; Sat, 15 Nov 2003 19:53:38 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69E1A43F75; Sat, 15 Nov 2003 19:53:37 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAG3rbXJ029306; Sat, 15 Nov 2003 19:53:37 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAG3raZA029305; Sat, 15 Nov 2003 19:53:36 -0800 (PST) (envelope-from rwatson) Message-Id: <200311160353.hAG3raZA029305@repoman.freebsd.org> From: Robert Watson Date: Sat, 15 Nov 2003 19:53:36 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern uipc_socket.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 03:53:38 -0000 rwatson 2003/11/15 19:53:36 PST FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: When implementing getsockopt() for SO_LABEL and SO_PEERLABEL, make sure to sooptcopyin() the (struct mac) so that the MAC Framework knows which label types are being requested. This fixes process queries of socket labels. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.158 +8 -0 src/sys/kern/uipc_socket.c