aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-04-04 19:55:09 +0100
committerRon Yorston <rmy@pobox.com>2018-04-04 19:55:09 +0100
commit33a914da6bba61e27aee82675276bf1dccc52966 (patch)
tree2242719bf4bb7705504967d54d137d6fe19cc8f3 /Makefile.flags
parent016ca978455df7257a92236bbfb0c67de4a4bcd8 (diff)
downloadbusybox-w32-33a914da6bba61e27aee82675276bf1dccc52966.tar.gz
busybox-w32-33a914da6bba61e27aee82675276bf1dccc52966.tar.bz2
busybox-w32-33a914da6bba61e27aee82675276bf1dccc52966.zip
ps: obtain applet names from other BusyBox processes
Remove the code which passed applet names to child processes using environment variables. This only allowed ps to display names for its ancestors. Instead attempt to read applet names from the memory of unrelated processes. The Microsoft documentation alone wasn't enough to figure out how to do this. Additional hints from: https://stackoverflow.com/questions/4298331/exe-or-dll-image-base-address https://stackoverflow.com/questions/14467229/get-base-address-of-process
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 6bb6a8fb1..86ab0a0ec 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -126,7 +126,7 @@ endif
126ifeq ($(CONFIG_PLATFORM_MINGW32),y) 126ifeq ($(CONFIG_PLATFORM_MINGW32),y)
127CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 -fno-builtin-stpcpy -fno-ident 127CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 -fno-builtin-stpcpy -fno-ident
128EXEEXT = .exe 128EXEEXT = .exe
129LDLIBS += userenv ws2_32 129LDLIBS += userenv psapi ws2_32
130endif 130endif
131 131
132# Android has no separate crypt library 132# Android has no separate crypt library