:> Subject: Re: securelevel and ipfw zero
:>
:> However, it does not allow you to do it if you are sitting at secure
:> level 3.
:
:You don't think that this discussion highlights the growing inadequacy
:of the securelevel mechanism's lack of granularity?
:Ciao,
:Sheldon.
It would be interesting to see it turn into a bitmask, where setting
it to '-1' secures everything. But I think the original intent was to
make it more user-friendly in concept. It is simply a matter of relative
merit. If a high securelevel still allows most files to be modified,
it might as well allow clearing of the ipfw counters.
Ultimately the only way to do securelevel properly is with capabilities.
The system gives init all the major capabilities and init passes them on
as appropriate. A system-wide secure level for a feature is created
simply by globally destroying a particular capability. It would also be
possible to destroy all instances of a capability except in the specific
processes that need it - though in that case you wouldn't be able to
restart the process in question.
-Matt
Matthew Dillon
<[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message