From owner-cvs-src@FreeBSD.ORG Sun Feb 22 04:31:44 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E489A16A4CF; Sun, 22 Feb 2004 04:31:44 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFB0C43D1D; Sun, 22 Feb 2004 04:31:44 -0800 (PST) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1MCViGe058517; Sun, 22 Feb 2004 04:31:44 -0800 (PST) (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1MCVivj058513; Sun, 22 Feb 2004 04:31:44 -0800 (PST) (envelope-from pjd) Message-Id: <200402221231.i1MCVivj058513@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Sun, 22 Feb 2004 04:31:44 -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/security/mac mac_system.c src/sys/kern kern_sysctl.c src/sys/sys mac.h mac_policy.h src/sys/security/mac_biba mac_biba.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_stub mac_stub.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 12:31:45 -0000 pjd 2004/02/22 04:31:44 PST FreeBSD src repository Modified files: sys/security/mac mac_system.c sys/kern kern_sysctl.c sys/sys mac.h mac_policy.h sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c Log: Reimplement sysctls handling by MAC framework. Now I believe it is done in the right way. Removed some XXMAC cases, we now assume 'high' integrity level for all sysctls, except those with CTLFLAG_ANYBODY flag set. No more magic. Reviewed by: rwatson Approved by: rwatson, scottl (mentor) Tested with: LINT (compilation), mac_biba(4) (functionality) Revision Changes Path 1.149 +15 -15 src/sys/kern/kern_sysctl.c 1.103 +3 -4 src/sys/security/mac/mac_system.c 1.76 +5 -11 src/sys/security/mac_biba/mac_biba.c 1.29 +5 -11 src/sys/security/mac_lomac/mac_lomac.c 1.40 +2 -2 src/sys/security/mac_stub/mac_stub.c 1.43 +2 -2 src/sys/security/mac_test/mac_test.c 1.56 +4 -3 src/sys/sys/mac.h 1.50 +5 -3 src/sys/sys/mac_policy.h