Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2007 19:46:46 GMT
From:      "Dr. Markus Waldeck"<waldeck@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/109104: man mac_bsdextended is not consistent with systl output
Message-ID:  <200702121946.l1CJkkFI072360@www.freebsd.org>
Resent-Message-ID: <200702121950.l1CJoHJK040057@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109104
>Category:       docs
>Synopsis:       man mac_bsdextended is not consistent with systl output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>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:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702121946.l1CJkkFI072360>