pledge_sockopt_check is shared between setsockopt/getsockopt. nicm
authorderaadt <deraadt@openbsd.org>
Sun, 25 Oct 2015 17:45:29 +0000 (17:45 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 25 Oct 2015 17:45:29 +0000 (17:45 +0000)
commit43182f4cb43e9072ae352bad6a1c9fba95a717e1
tree2613bb0b2d0591297d6d22cc28d8c54cb18ac364
parent6a0130e9b78f1275d3333ec75ad19e67fe499e65
pledge_sockopt_check is shared between setsockopt/getsockopt.  nicm
found the first case of "get allowed, set not allowed".  Tiny
refactoring of that.
sys/kern/kern_pledge.c
sys/kern/uipc_syscalls.c
sys/sys/pledge.h