CVS log for src/usr.bin/pkill/pkill.c
Up to [cvs.NetBSD.org] / src / usr.bin / pkill
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Oct 7 06:14:05 2024 UTC (4 months, 1 week ago) by roy
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +79 -8
lines
pkill(1): Add -F option to use a pidfile and -L to ensure it's locked
Taken from FreeBSD
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Oct 29 08:17:16 2022 UTC (2 years, 3 months ago) by simonb
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +13 -4
lines
Add a -q option for pgrep to not print anything; similar to grep -q.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Jul 2 20:50:26 2022 UTC (2 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4
lines
Cosmetic tweak. No functional change.
Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:15 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +5 -3
lines
Sync with HEAD
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:58:05 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +5 -3
lines
Sync with HEAD
Revision 1.29.8.2: download - view: text, markup, annotated - select for diffs
Sat Mar 18 05:13:22 2017 UTC (7 years, 10 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.29.8.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.8.1: +5 -3
lines
Pull up following revision(s) (requested by kre in ticket #1365):
usr.bin/pkill/pkill.c: revision 1.31
PR bin/50934 -- avoid core dump if a process being examined has set
its argv[0] to NULL.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Feb 21 13:09:56 2017 UTC (7 years, 11 months ago) by kre
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-socketcan-base1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -3
lines
PR bin/50934 -- avoid core dump if a process being examined has set
its argv[0] to NULL.
XXX Needs pullups netbsd-7-0 and netbsd-7 (bug was introduced after
netbsd-6 and never pulled up, so no netbsd-6 pullups required.)
Revision 1.29.8.1: download - view: text, markup, annotated - select for diffs
Tue Jan 27 13:39:31 2015 UTC (10 years ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -4
lines
Pull up following revision(s) (requested by prlw1 in ticket #461):
usr.bin/pkill/pkill.c: revision 1.30
Simplify code so that gcc 4.8 can understand it.
http://mail-index.netbsd.org/tech-userlevel/2015/01/06/msg008882.html
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Jan 9 12:45:32 2015 UTC (10 years, 1 month ago) by prlw1
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -4
lines
Simplify code so that gcc 4.8 can understand it.
http://mail-index.netbsd.org/tech-userlevel/2015/01/06/msg008882.html
Revision 1.27.12.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:38 2013 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +11 -12
lines
resync with head
Revision 1.27.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:40 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.27.6.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.6.1: +3 -2
lines
sync with head
Revision 1.27.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:34:07 2013 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -12
lines
sync with (a bit old) head
Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Jan 2 10:36:07 2013 UTC (12 years, 1 month ago) by dsl
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-7-base,
agc-symver-base,
agc-symver
Branch point for: netbsd-7
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -2
lines
Explicitly include sys/resource.h
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Nov 20 22:52:01 2012 UTC (12 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base7
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -12
lines
Don't use p_comm since it is only 16 characters long and you can find the
full argv[0]. It is just confusing to have a long command name, that ps
shows as the long command name, and then when you try to kill it using
the full command name as displayed you don't get a match. While there
fix a format nit, and remove the main() declaration.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Dec 7 07:39:15 2010 UTC (14 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
tls-maxphys
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +29 -17
lines
add -l support to prenice, as noted by enami.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Dec 6 04:00:11 2010 UTC (14 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +119 -68
lines
add a "prenice <priority> <names>" command.
use it like "prenice -4 mplayer".
Revision 1.23.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:20:01 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +21 -19
lines
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Apr 13 00:12:16 2009 UTC (15 years, 10 months ago) by lukem
Branches: MAIN
CVS tags: matt-premerge-20091211,
jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -7
lines
Fix sign-compare issues
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Feb 28 18:16:11 2009 UTC (15 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +16 -14
lines
Handle ptyfs ptys. Should probably pull up to 5.
Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:36:09 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +2 -9
lines
sync with head.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:14 2008 UTC (16 years, 9 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase
Branch point for: jym-xensuspend
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:00:51 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +3 -3
lines
sync with HEAD
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Dec 15 19:44:52 2007 UTC (17 years, 2 months ago) by perry
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base
Branch point for: yamt-pf42
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
convert __attribute__s to applicable cdefs.h macros
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Mar 21 20:05:18 2007 UTC (17 years, 10 months ago) by erh
Branches: MAIN
CVS tags: matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: matt-armv6
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -5
lines
Allow the -l (long format) option to be used with pkill too.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:49:57 2007 UTC (18 years ago) by pavel
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -7
lines
Revert the changes done after newlock2 merge, except for the removal of
the now unused LSDEAD state. The current kernel headers are now
source-compatible with pre-newlock2 kernel headers again.
Approved by Andrew Doran.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Feb 10 18:20:12 2007 UTC (18 years ago) by ad
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -6
lines
Further changes to use compat process flags mapped by sysctl. To be
revisited soon.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Feb 9 22:08:49 2007 UTC (18 years ago) by ad
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
Sync with kernel changes introduced by merging the newlock2 branch.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Feb 25 01:13:55 2006 UTC (18 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
Sort options; from jmc@openbsd.
Revision 1.9.2.7: download - view: text, markup, annotated - select for diffs
Sat Oct 15 16:36:44 2005 UTC (19 years, 4 months ago) by riz
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.9.2.6: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.6: +3 -3
lines
Pull up following revision(s) (requested by kleink in ticket #879):
usr.bin/pkill/pkill.c: revision 1.16
Exit with 2 on usage errors as documented. Noted by Christian Biere in
PR bin/21933.
Revision 1.9.2.6: download - view: text, markup, annotated - select for diffs
Sat Oct 15 16:34:24 2005 UTC (19 years, 4 months ago) by riz
Branches: netbsd-3
Diff to: previous 1.9.2.5: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.5: +11 -8
lines
Pull up following revision(s) (requested by kleink in ticket #890):
usr.bin/pkill/pkill.c: revision 1.15
Downgrade failure to kill(2) (other than ESRCH) from fatal error to a
warning; otherwise processing aborts and possibly matching killees would
remain unsignalled. This makes pkill match the Solaris behavior.
Revision 1.9.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 15 16:34:04 2005 UTC (19 years, 4 months ago) by riz
Branches: netbsd-3
Diff to: previous 1.9.2.4: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.4: +10 -9
lines
Pull up following revision(s) (requested by kleink in ticket #890):
usr.bin/pkill/pkill.c: revision 1.14
Sprinkle const liberally
Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 15 16:33:46 2005 UTC (19 years, 4 months ago) by riz
Branches: netbsd-3
Diff to: previous 1.9.2.3: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.3: +17 -13
lines
Pull up following revision(s) (requested by kleink in ticket #890):
usr.bin/pkill/pkill.c: revision 1.13
From discussion on tech-userlevel, change the comment formatting in the
changes applied in revision 1.10. At the same time, expand the comments
a bit to make the code slightly clearer. No code changes.
Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Sat Oct 15 16:33:15 2005 UTC (19 years, 4 months ago) by riz
Branches: netbsd-3
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.2: +8 -7
lines
Pull up following revision(s) (requested by kleink in ticket #890):
usr.bin/pkill/pkill.c: revision 1.12
Fix more lint problems.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 15 16:32:20 2005 UTC (19 years, 4 months ago) by riz
Branches: netbsd-3
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +75 -67
lines
Pull up following revision(s) (requested by kleink in ticket #890):
usr.bin/pkill/pkill.c: revision 1.11
- KNF
- better handling of errors and messages
- pass lint
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 15 16:31:50 2005 UTC (19 years, 4 months ago) by riz
Branches: netbsd-3
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +28 -11
lines
Pull up following revision(s) (requested by kleink in ticket #890):
usr.bin/pkill/pkill.c: revision 1.10
From David Sainty: If a process dissappears while we are signalling it, don't
count it as a match/error.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Oct 10 22:13:20 2005 UTC (19 years, 4 months ago) by kleink
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
Exit with 2 on usage errors as documented. Noted by Christian Biere in
PR bin/21933.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Oct 8 12:05:55 2005 UTC (19 years, 4 months ago) by kleink
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +11 -8
lines
Downgrade failure to kill(2) (other than ESRCH) from fatal error to a
warning; otherwise processing aborts and possibly matching killees would
remain unsignalled. This makes pkill match the Solaris behavior.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jul 20 12:54:30 2005 UTC (19 years, 6 months ago) by dsainty
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -9
lines
Sprinkle const liberally
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jul 20 12:40:27 2005 UTC (19 years, 6 months ago) by dsainty
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +17 -13
lines
From discussion on tech-userlevel, change the comment formatting in the
changes applied in revision 1.10. At the same time, expand the comments
a bit to make the code slightly clearer. No code changes.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Jul 16 19:50:32 2005 UTC (19 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -7
lines
Fix more lint problems.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jul 16 16:20:35 2005 UTC (19 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +75 -67
lines
- KNF
- better handling of errors and messages
- pass lint
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jul 16 15:53:56 2005 UTC (19 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +28 -11
lines
From David Sainty: If a process dissappears while we are signalling it, don't
count it as a match/error.
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Sun May 8 17:34:08 2005 UTC (19 years, 9 months ago) by snj
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +4 -4
lines
Pull up revision 1.8 (requested by abs in ticket #1294):
If a user or group is not known, report the problem user/group, rather than
the first user/group. Caused huge fun in error messages from large script.
Old: pgrep -u root,NoSuchUser,daemon -> pgrep: unknown user `root'
Now: pgrep -u root,NoSuchUser,daemon -> pgrep: unknown user `NoSuchUser'
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Mar 16 08:52:20 2005 UTC (19 years, 11 months ago) by sketch
Branches: MAIN
CVS tags: netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -6
lines
Add a -i option to ignore case in the process match.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Mar 2 15:31:44 2005 UTC (19 years, 11 months ago) by abs
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4
lines
If a user or group is not known, report the problem user/group, rather than
the first user/group. Caused huge fun in error messages from large script.
Old: pgrep -u root,NoSuchUser,daemon -> pgrep: unknown user `root'
Now: pgrep -u root,NoSuchUser,daemon -> pgrep: unknown user `NoSuchUser'
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Feb 15 17:03:30 2004 UTC (21 years ago) by soren
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0
Branch point for: netbsd-2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -4
lines
Make usage() not overflow 80 char lines.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 6 07:35:58 2004 UTC (21 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
typo fix. do not go suicide by mistake. from millert@openbsd
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 7 23:19:40 2002 UTC (22 years, 2 months ago) by he
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3
lines
Pull up revision 1.5 (requested by kleink in ticket #949):
Add missing ``-u euid'' option to optstring. Fixes PR#18827.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Oct 27 11:49:34 2002 UTC (22 years, 3 months ago) by kleink
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Add missing -u euid option to optstring; from Michael van Elst in
PR bin/18827.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Mar 6 12:02:18 2002 UTC (22 years, 11 months ago) by ad
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1
Branch point for: netbsd-1-6
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -2
lines
Exclude system processes when the match is inverted.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Mar 4 13:47:08 2002 UTC (22 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -6
lines
Fix 3 bugs in signal number decoding:
* invoking pkill without any arguments gave a core
* an initial numeric prefix of a signal name was ignored, e.g. -88sigint
* argc was not updated when the signal number was decoded.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Mar 1 11:29:46 2002 UTC (22 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4
lines
s/LINT/lint/
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Mar 1 11:21:58 2002 UTC (22 years, 11 months ago) by ad
Branches: MAIN
pgrep and pkill: search the process table for processes with a particular
set of characteristics, and either print or signal the matching set. Mostly
compatible with the Solaris commands of the same name.
CVSweb <webmaster@jp.NetBSD.org>