Call function on sysctl value change
Matthew Jakeman
m.jakeman at lancaster.ac.uk
Wed Oct 15 13:07:53 UTC 2008
Hi all,
I was wondering if it is possible to call a function when a sysctl value is
changed. I have added a few sysctl int variables to the kernel and for some
of these i only want certain values to be acceptable as input depending on
some conditions. I would like to be able to call a function if possible, to
validate the value entered via the sysctl command.
Thanks in advance
Matt
More information about the freebsd-hackers
mailing list