diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-05 02:08:23 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-05 02:08:23 +0200 |
| commit | feb79e8742eb3cef211804dadcc7f3ddfd154c72 (patch) | |
| tree | a6a081240e03c7acffe5c1c4ff16e2f921a63298 /loginutils | |
| parent | ff53bee72300ba97c645404a64c7091991ffa110 (diff) | |
| download | busybox-w32-feb79e8742eb3cef211804dadcc7f3ddfd154c72.tar.gz busybox-w32-feb79e8742eb3cef211804dadcc7f3ddfd154c72.tar.bz2 busybox-w32-feb79e8742eb3cef211804dadcc7f3ddfd154c72.zip | |
cryptpw, mkpasswd: make them NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
| -rw-r--r-- | loginutils/cryptpw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/cryptpw.c b/loginutils/cryptpw.c index f8906c59a..136c619bb 100644 --- a/loginutils/cryptpw.c +++ b/loginutils/cryptpw.c | |||
| @@ -24,9 +24,9 @@ | |||
| 24 | //config: using the given salt. Debian has this utility under mkpasswd | 24 | //config: using the given salt. Debian has this utility under mkpasswd |
| 25 | //config: name. Busybox provides mkpasswd as an alias for cryptpw. | 25 | //config: name. Busybox provides mkpasswd as an alias for cryptpw. |
| 26 | 26 | ||
| 27 | //applet:IF_CRYPTPW(APPLET(cryptpw, BB_DIR_USR_BIN, BB_SUID_DROP)) | 27 | //applet:IF_CRYPTPW( APPLET_NOEXEC(cryptpw, cryptpw, BB_DIR_USR_BIN, BB_SUID_DROP, cryptpw)) |
| 28 | // APPLET_ODDNAME:name main location suid_type help | 28 | // APPLET_NOEXEC:name main location suid_type help |
| 29 | //applet:IF_MKPASSWD(APPLET_ODDNAME(mkpasswd, cryptpw, BB_DIR_USR_BIN, BB_SUID_DROP, cryptpw)) | 29 | //applet:IF_MKPASSWD(APPLET_NOEXEC(mkpasswd, cryptpw, BB_DIR_USR_BIN, BB_SUID_DROP, cryptpw)) |
| 30 | 30 | ||
| 31 | //kbuild:lib-$(CONFIG_CRYPTPW) += cryptpw.o | 31 | //kbuild:lib-$(CONFIG_CRYPTPW) += cryptpw.o |
| 32 | //kbuild:lib-$(CONFIG_MKPASSWD) += cryptpw.o | 32 | //kbuild:lib-$(CONFIG_MKPASSWD) += cryptpw.o |
