diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2024-10-28 10:18:04 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2024-10-28 10:18:04 +0000 |
commit | 669b28a560bc46a3bb3866c9f01de1261bdfdca1 (patch) | |
tree | 679e86c7d05bfd3e1e3cd6471d2c807aa69f3849 /usr.sbin | |
parent | d4ced6060887d5c0d2ba01ba8712d8c18882845a (diff) |
Unlock KERN_ALLOWKMEM. The `allowkmem' is atomically accessed integer.
Also use atomic_load_int(9) to load `securelevel'. sysctl_securelevel()
is mp-safe, but will be under kernel lock until all existing
`securelevel' loading became mp-safe too.
ok mpi
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions