OpenBSD CVS

CVS log for src/usr.bin/pkill/pkill.c


[BACK] Up to [local] / src / usr.bin / pkill

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_9_BASE


Revision 1.38 / (download) - annotate - [select for diffs], Sun Oct 11 03:08:20 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.37: +10 -5 lines
Diff to previous 1.37 (colored)

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.