sysctl: Support systemd glob patterns

systemd-sysctl handles glob patterns along with overrides and
exceptions. Now the procps sysctl does it too.

The return value for sysctl is consistently either 0 or 1.

Added tests to check sysctl functions.

References:
 procps-ng/procps#191

Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
Craig Small
2021-09-13 22:07:37 +10:00
parent 271004bd0d
commit 474847ed35
5 changed files with 389 additions and 175 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
procps-ng-NEXT
---------------
* Rename pwait to pidwait
* sysctl: Add support for systemd glob patterns issue #191
* top: 'F' key is now a new forest view 'focus' toggle
* top: summary area memory lines can print two abreast
* top: added long versions of command line options