From owner-freebsd-current Wed Jun 7 12:20:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 3AA3B37BF4B for ; Wed, 7 Jun 2000 12:20:12 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id PAA27835; Wed, 7 Jun 2000 15:19:47 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 7 Jun 2000 15:19:47 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Andrey A. Chernov" Cc: current@freebsd.org Subject: Re: What happens with SECURELVL? (init complains) In-Reply-To: <20000606121446.A5822@nagual.pp.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At bde's request, I moved kern.suser_permitted to kern_prot.c and accidentally also trimmed kern.securelevel. I just committed it back into kern_mib.c. Please let me know if there are further problems. That said, I'm a little puzzled as to where securelevel is being defined -- a bunch of stuff depends on the variable and yet my test build succeeded without it in there. And you go that far also -- far enough to boot rather than have the linking fail. Robert On Tue, 6 Jun 2000, Andrey A. Chernov wrote: > Now init always complains: > > init: cannot get kernel security level: No such file or directory > > It is because KERN_SECURELVL define still present in /sys/sysctl.h but > gone from kern_mib.c > Moreover, even define is gone from kern_mib.c, sysctl_kern_securelvl() > function is still there! > > Please clean up the mess. > > -- > Andrey A. Chernov > > http://ache.pp.ru/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message