CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/10/10 21:08:20
Modified files:
usr.bin/pkill : pkill.c
Log message:
fix a regression spotted by chris@. the -f and -I arguments fetch process
arguments using kvm_getargs, after the pledge() has been made. someone
brave should refactor this, hoisting the argument fetching to between
kvm_getprocs() and pledge() - storing the argument data as neccessary.
the current situation is also a race -- it fetches the data twice.
