aboutsummaryrefslogtreecommitdiff
path: root/libbb/appletlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r--libbb/appletlib.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 5b84920a4..cbca7ef17 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -34,14 +34,6 @@
# include <malloc.h> /* for mallopt */
#endif
-#include <sys/prctl.h>
-#ifndef PR_SET_NAME
-#define PR_SET_NAME 15
-#endif
-#ifndef PR_GET_NAME
-#define PR_GET_NAME 16
-#endif
-
/* Declare <applet>_main() */
#define PROTOTYPES
#include "applets.h"
@@ -911,14 +903,6 @@ int busybox_main(int argc UNUSED_PARAM, char **argv)
}
# endif
-#if defined(__linux__) && (NUM_APPLETS > 1)
-void FAST_FUNC set_task_comm(const char *comm)
-{
- /* okay if too long (truncates) */
- prctl(PR_SET_NAME, (long)comm, 0, 0, 0);
-}
-#endif
-
# if NUM_APPLETS > 0
void FAST_FUNC run_applet_no_and_exit(int applet_no, const char *name, char **argv)
{