CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/10/16 08:04:11
Modified files:
sys/kern : kern_pledge.c uipc_syscalls.c
sys/sys : pledge.h
Log message:
delete pledge_bind_check() function and remove pledge_bind_check() call from
sys_bind().
bind(2) still require PLEDGE_INET or PLEDGE_UNIX in order to be called, due to
SYS_bind entry in pledge_syscalls array. The diff restores also the ability for
PLEDGE_UNIX to call bind(2) (pledge_bind_check function missed that).
problem spotted by doug@
OK deraadt@