From nobody@FreeBSD.org  Mon Feb 12 19:46:46 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 6CCBC16A401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Feb 2007 19:46:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 5F69013C442
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Feb 2007 19:46:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1CJkki1072361
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Feb 2007 19:46:46 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l1CJkkFI072360;
	Mon, 12 Feb 2007 19:46:46 GMT
	(envelope-from nobody)
Message-Id: <200702121946.l1CJkkFI072360@www.freebsd.org>
Date: Mon, 12 Feb 2007 19:46:46 GMT
From: "Dr. Markus Waldeck"<waldeck@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: man mac_bsdextended is not consistent with systl output
X-Send-Pr-Version: www-3.0

>Number:         109104
>Category:       docs
>Synopsis:       man mac_bsdextended is not consistent with systl output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trhodes
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 12 19:50:17 GMT 2007
>Closed-Date:    
>Last-Modified:  Tue Feb 13 16:14:47 GMT 2007
>Originator:     Dr. Markus Waldeck
>Release:        7.0-CURRENT-200702
>Organization:
>Environment:
FreeBSD fb 7.0-CURRENT-200702 FreeBSD 7.0-CURRENT-200702 #1: Sun Feb 11 14:37:59 UTC 2007     
root@fbh:/huge/fbsrc200702/sys/i386/compile/FB070201  i386
>Description:
CUSTOM kernel:
options MAC
kldload mac_bsdextended.ko

man mac_bsdextended:
security.mac.bsdextended.enabled
security.mac.bsdextended.rule_count
security.mac.bsdextended.rule_slots
security.mac.bsdextended.firstmatch_enabled
security.mac.bsdextended.logging
security.mac.bsdextended.rules

% sysctl security.mac.bsdextended
security.mac.bsdextended.enabled: 1
security.mac.bsdextended.rule_count: 0
security.mac.bsdextended.rule_slots: 0
security.mac.bsdextended.rule_version: 2
security.mac.bsdextended.logging: 0
security.mac.bsdextended.firstmatch_enabled: 0

man mac_bsdextended mentions a MIB that does not exist (security.mac.bsdextended.rules) but doess not explain
security.mac.bsdextended.rule_version.


>How-To-Repeat:
% sysctl security.mac.bsdextended

% man mac_bsdextended
>Fix:
remove security.mac.bsdextended.rules from the man page
and add the output of sysctl -d security.mac.bsdextended.rule_version.

% sysctl -d security.mac.bsdextended.rule_version
security.mac.bsdextended.rule_version: Version number for API

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: remko 
Responsible-Changed-When: Tue Feb 13 16:14:43 UTC 2007 
Responsible-Changed-Why:  
Tom wanted to have a look at this (Thanks Tom) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109104 
>Unformatted:
