CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/10/17 23:26:55
Modified files:
sys/kern : kern_pledge.c sys_generic.c
Log message:
move SS_DNS socket check from kern_plegde.c to sys_generic.c
this check has nothing to do with pledge(2). make it lives in sys_ioctl() call.
while here, move the (fp == NULL) check early and remove duplicate check from
pledge_ioctl_check().
ok guenther@ deraadt@
