[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/44946: some sysctl nodes are writable as an user
>Synopsis: some sysctl nodes are writable as an user
>Arrival-Date: Mon May 09 13:20:00 +0000 2011
>Originator: Jukka Ruohonen
Some sysctl nodes that supposedly should not be writable by an user do not
error out with sysctl(8). This applies at least to the following:
$ sysctl -w kern.consdev=foobar
$ sysctl -w kern.drivers=foobar
$ sysctl -w kern.boottime=0
do not fail with EPERM or EINVAL unlike rest of the nodes. Some of these may
be debatable, but I think these should still fail properly.
Error out properly?
Main Index |
Thread Index |