Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2005 09:58:54 +0200
From:      "Norbert Koch" <>
To:        <>, <>
Subject:   RE: Strange securelevel
Message-ID:  <000001c58e93$34b5e600$4801a8c0@ws-ew-3.W2KDEMIG>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> Hi,
> after playing a bit with "securelevel" i found a very strange one (well, i
> thought there will be just -1, 0, 1, 2 and 3). But look at this:
> #sysctl kern.securelevel
> kern.securelevel: 2147483647
> Thats the highest securelevel i found on my FreeBSD 5.4-RELEASE.
> So, whatr does it mean? Getting electro shocks when touching the mouse
> and/or keyboard?
> And, the man page ha to be rewritten, to explain the rest of the
> 2147483644
> securelevel.
> No, serious, is this a bug, or what?

Well, that's 0x7FFFFFFF.
That means a little less than 2^31 securelevels to document.
And I'm expecting this to be about 2^63 for 64 bit systems ;-)

Someone please correct me if I'm wrong, but as I understand
sysctl_kern_securelvl() in kern_mib.c, it does not disallow
setting the securelevel so high. It only disallows to lower it.


Want to link to this message? Use this URL: <$34b5e600$4801a8c0>