busybox: add ps -ef option for docker top command

This commit is contained in:
coolsnowwolf 2020-07-03 18:01:13 +08:00 committed by CN_SZTL
parent 5ed69ba098
commit 20966d3e9f
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 12 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=busybox
PKG_VERSION:=1.31.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_FLAGS:=essential
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

View File

@ -0,0 +1,11 @@
--- a/procps/ps.c
+++ a/procps/ps.c
@@ -665,7 +665,7 @@
int w_count = 0;
make_all_argv_opts(argv);
opts = getopt32(argv, "^"
- IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")IF_FEATURE_PS_LONG("l")"w"
+ IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")IF_FEATURE_PS_LONG("l")"w""e""f"
"\0" "ww",
&w_count
);