openwrt/package/base-files
Daniel Golle 4d3303b1bd
base-files: stage2: improve /proc/*/stat parser
Simply reading /proc/*/stat as a space-separated string will not work
as the process name may itself contain spaces. Hence we must match on
the '(' and ')' characters around the process name and can then handle
the remaining string as space-separated values.
This fixes shell error messages which have been popping up the console
due to spaces in process names being interpreted as field separators.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-13 18:36:52 +00:00
..
files base-files: stage2: improve /proc/*/stat parser 2021-11-13 18:36:52 +00:00
Makefile base-files: reduce number of `mkdir` calls 2021-09-23 21:40:52 -10:00
image-config.in treewide: fix spelling 'seperate' -> 'separate' 2021-02-28 23:59:21 +00:00