From owner-p4-projects@FreeBSD.ORG Sat May 21 18:28:28 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E120616A4D0; Sat, 21 May 2005 18:28:27 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8268916A4CF for ; Sat, 21 May 2005 18:28:27 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E36943D92 for ; Sat, 21 May 2005 18:28:27 +0000 (GMT) (envelope-from csjp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4LISRP8069127 for ; Sat, 21 May 2005 18:28:27 GMT (envelope-from csjp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4LISRbE069124 for perforce@freebsd.org; Sat, 21 May 2005 18:28:27 GMT (envelope-from csjp@freebsd.org) Date: Sat, 21 May 2005 18:28:27 GMT Message-Id: <200505211828.j4LISRbE069124@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to csjp@freebsd.org using -f From: "Christian S.J. Peron" To: Perforce Change Reviews Subject: PERFORCE change 77256 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2005 18:28:28 -0000 http://perforce.freebsd.org/chv.cgi?CH=77256 Change 77256 by csjp@csjp_xor on 2005/05/21 18:27:43 Add some documentation for some addition sysctl variables Affected files ... .. //depot/projects/trustedbsd/mac/share/man/man4/mac_chkexec.4#2 edit Differences ... ==== //depot/projects/trustedbsd/mac/share/man/man4/mac_chkexec.4#2 (text+ko) ==== @@ -83,8 +83,14 @@ The following sysctls may be used to tweak the behavior of .Nm : .Bl -tag -width indent +.It Va security.mac.chkexec.enable +Set to zero or one to toggle the policy off or on. .It Va security.mac.chkexec.enforce -Set to zero or one to toggle the policy off or on. +Toggle the enforcement of the security policy. While the policy is loaded but +not enforced, the system is in learning mode. This means that each time an +objected is executed, the system calculates and stores the checksums for the +object. This allows system administrators to create their "baseline database" +of trusted binaries simply by letting the system run in regular operation. .It Va security.mac.chkexec.cache.objmax Adjust the cache size. This should be increased as more system objects @@ -92,8 +98,18 @@ Note that this value should be similar to .Dq 1024 during the -.Fx +.Dx buildworld process. +.It Va security.mac.chkexec.algo +Specify which hashing algorithm to use. Currently md5 and sha1 are +supported. By default sha1 is used. +.It Va security.mac.chkexec.cache.enable +Enable or disable the use of the object cache. Disabling the cache results +in system execution and run-time linking performance being degraded. +.It Va security.mac.chkexec.ignore_untagged +Specify whether or not un-registered binaries should be exempt. This allows users +to execute newly created binaries. It is highly recommended that this option +NOT be enabled. .El .Sh SEE ALSO .Xr mac 4 ,