udhcpc: code shrink
[oweals/busybox.git] / procps / pidof.c
index 41247a02c722f1bc553c37b7fa3f7cbace91b77e..98d7949f825f56184f833025722a5e1f65edbd8d 100644 (file)
 //config:      of the pidof, in other words the calling shell or shell script.
 
 //applet:IF_PIDOF(APPLET(pidof, BB_DIR_BIN, BB_SUID_DROP))
+/* can't be noexec: can find _itself_ under wrong name, since after fork only,
+ * /proc/PID/cmdline and comm are wrong! Can fix comm (prctl(PR_SET_NAME)),
+ * but cmdline?
+ */
 
 //kbuild:lib-$(CONFIG_PIDOF) += pidof.o