freebsd-src/bin/pkill
Kyle Evans 3610bffd28 pkill: use an ARG_MAX size buffer for argument matching
Right now pkill/pgrep cut off at _POSIX2_LINE_MAX (2048), but argument
strings can be much larger (ARG_MAX is 256K/512K).  Stop arbitrarily
cutting the search off at 2K, rather than documenting the limit.

Reviewed by:	allanjude (earlier version), des
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D38663
2023-03-20 14:19:36 -05:00
..
tests pkill: use an ARG_MAX size buffer for argument matching 2023-03-20 14:19:36 -05:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pkill.1 pkill(1): Add EXAMPLES section to man page 2020-10-05 13:52:31 +00:00
pkill.c pkill: use an ARG_MAX size buffer for argument matching 2023-03-20 14:19:36 -05:00