docs/109104: man mac_bsdextended is not consistent with systl output

Dr. Markus Waldeck waldeck at gmx.de
Mon Feb 12 19:50:18 UTC 2007


>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 at 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:



More information about the freebsd-doc mailing list