]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Block all write operations to /proc/1/* when securelevel > 0.
authoralex <alex@FreeBSD.org>
Sat, 21 Jun 1997 16:09:49 +0000 (16:09 +0000)
committeralex <alex@FreeBSD.org>
Sat, 21 Jun 1997 16:09:49 +0000 (16:09 +0000)
commit793295a94d96fd8954918d322646bb6dd2219c2d
tree666fc804037e3a2cf9f92420771bd0eabe14b8e8
parentdb73f6494a8d9127417e8ddf01f5b7c8fa81276b
Block all write operations to /proc/1/* when securelevel > 0.
The additional check in procfs_ctl.c could be backed out, but
I'm leaving it in for good measure.

Reviewed by: Theo de Raadt <deraadt@OpenBSD.org>
sys/fs/procfs/procfs_subr.c
sys/miscfs/procfs/procfs_subr.c