History log of /openbsd-src/share/man/man7/securelevel.7 (Results 1 – 25 of 31)
Revision Date Author Comments
# db1dd8d3 21-Aug-2019 cheloha <cheloha@openbsd.org>

sysctl(2): add kern.utc_offset: successor to the DST/TIMEZONE options(4)

The DST and TIMEZONE options(4) are incompatible with KARL, so we need
some other way to compensate for an RTC running with a

sysctl(2): add kern.utc_offset: successor to the DST/TIMEZONE options(4)

The DST and TIMEZONE options(4) are incompatible with KARL, so we need
some other way to compensate for an RTC running with a known offset.

Enter kern.utc_offset, an offset in minutes East of UTC. TIMEZONE has
always been minutes West, but this is inconsistent with how everyone
else talks about timezones, hence the flip.

TIMEZONE has the advantage of being compiled into the binary. Our new
sysctl(2) has no such luck, so it needs to be set as early as possible
in boot, from sysctl.conf(5), so we can correct the kernel clock from
the RTC's local time to UTC before daemons like ntpd(8) and cron(8)
start. To encourage this, kern.utc_offset is made immutable after the
securelevel(7) is raised to 1.

Prompted by yasuoka@. Discussed with deraadt@, kettenis@, yasuoka@.
Additional testing by yasuoka@.

ok deraadt@, yasuoka@

show more ...


# 20d80f81 12-Sep-2017 schwarze <schwarze@openbsd.org>

Update the documentation regarding /dev/mem and /dev/kmem;
Theo already clamped down on these devices last year.
Triggered by a question from Nan Xiao <xiaonan830818 at gmail dot com>.
OK deraadt@


# 2f01bc0a 28-Sep-2016 jmc <jmc@openbsd.org>

group the sysctls;


# 5dab6feb 28-Sep-2016 jmc <jmc@openbsd.org>

document kern.allowkmem; reminded by deraadt


# 52124b52 18-Sep-2016 jmc <jmc@openbsd.org>

there's no reason to point readers to options(4) now;


# da3950a6 18-Sep-2016 deraadt <deraadt@openbsd.org>

option INSECURE is obsolete


# a747ae0e 09-Oct-2014 tedu <tedu@openbsd.org>

no modules


# 50549de0 14-Jul-2014 ajacoutot <ajacoutot@openbsd.org>

No more "securelevel" variable.


# b2e0f490 24-Jun-2011 naddy <naddy@openbsd.org>

machdep.kbdreset enables a shutdown by Ctrl-Alt-Del on amd64 and
i386. Stop abusing it on other archs for controling a shutdown by
pressing the soft power button:

* Add a MI sysctl hw.allowpowerdow

machdep.kbdreset enables a shutdown by Ctrl-Alt-Del on amd64 and
i386. Stop abusing it on other archs for controling a shutdown by
pressing the soft power button:

* Add a MI sysctl hw.allowpowerdown; if set to 1 (the default) it
allows a power button shutdown.
* Make acpi(4)/acpibtn(4) honor hw.allowpowerdown.
* Switch the various power button intercepts on landisk, sgi, sparc64
and zaurus over to hw.allowpowerdown.
* Garbage collect the machdep.kbdreset sysctl on all archs other than
amd64 and i386.

ok miod@

show more ...


# e98b8f77 09-May-2009 sthen <sthen@openbsd.org>

- mention that configuring new GPIO pins is locked out with securelevel>0,
discussed with jmc@ and Marc Balmer
- clear out some .Xr from SEE ALSO that are also in the main text and not
really necessa

- mention that configuring new GPIO pins is locked out with securelevel>0,
discussed with jmc@ and Marc Balmer
- clear out some .Xr from SEE ALSO that are also in the main text and not
really necessary to repeat, req by jmc@.

ok jmc.

show more ...


# 4345ed87 01-Jun-2007 jmc <jmc@openbsd.org>

enforce DESCRIPTION-after-SYNOPSIS order, to appease man -h;


# 9490d37c 31-May-2007 jmc <jmc@openbsd.org>

convert to new .Dd format;


# 1d8af184 19-Aug-2006 jmc <jmc@openbsd.org>

document machdep.aperture; pointed out by andrew smith
ok deraadt


# f07caa6b 25-Mar-2006 jmc <jmc@openbsd.org>

ddb.{console,panic} cannot be raised at securelevel 1 either;

from nicholas marriott;
ok miod ray


# 012eef67 12-May-2005 jmc <jmc@openbsd.org>

change pfctl reference to pf, since programs like authpf also attempt to
alter rulesets, not just pfctl interface;

from tamas tevesz;


# 3ece6435 19-Apr-2005 jmc <jmc@openbsd.org>

- some sysctls may not be lowered either
- document machdep.kbdreset

diff from fgsch@
ok deraadt@


# 67d12a8b 08-Jan-2004 jmc <jmc@openbsd.org>

document that sysctls fs.posix.setuid and net.inet.ip.sourceroute may not
be set when securelevel > 0;

the latter from Ryan Leslie (PR 3631);


# b9c810da 30-Jul-2002 nordin <nordin@openbsd.org>

Clarify time handling at securelevel 2. Idea from mpech@ ok millert@


# 409fbba2 28-Jun-2001 hugh <hugh@openbsd.org>

Restore reference to packet filter.


# 132f7514 30-May-2001 millert <millert@openbsd.org>

comment out references to ipf to be replaced in the future with whatever packet filter we end up using


# 0e75a53b 01-May-2001 aaron <aaron@openbsd.org>

Sort SEE ALSO entries; mpech@prosoft.org.lv


# fa65279d 11-Mar-2001 aaron <aaron@openbsd.org>

Give /etc/rc.securelevel the same FILES-style description as in init(8).


# f90efb73 29-Jun-2000 hugh <hugh@openbsd.org>

escape -1 with \& as per mdoc.samples


# a6214540 27-Apr-2000 deraadt <deraadt@openbsd.org>

have mem(4) talk about securelevel(7)


# 1f53fde1 19-Mar-2000 aaron <aaron@openbsd.org>

Various cleanups.


12