Bug 109104 - man mac_bsdextended is not consistent with systl output
Summary: man mac_bsdextended is not consistent with systl output
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-12 19:50 UTC by Dr. Markus Waldeck
Modified: 2018-04-11 20:53 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Markus Waldeck 2007-02-12 19:50:17 UTC
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.

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
How-To-Repeat: % sysctl security.mac.bsdextended

% man mac_bsdextended
Comment 1 Remko Lodder freebsd_committer 2007-02-13 16:14:43 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Tom wanted to have a look at this (Thanks Tom)
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:46 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped