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.
Sponsored by: Klara, Inc.
Differential D38663
pkill: use an ARG_MAX size buffer for argument matching kevans on Feb 18 2023, 4:06 AM. Authored by Tags None Referenced Files
Details Right now pkill/pgrep cut off at _POSIX2_LINE_MAX (2048), but argument Sponsored by: Klara, Inc.
Diff Detail
Event Timeline
|