diff options
author | Denis Vlasenko | 2008-10-20 08:15:51 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-10-20 08:15:51 +0000 |
commit | b730474bda4a964930e8013301ace7b49a0c5726 (patch) | |
tree | 67a8c0ebd37a6231017e8e8dc3598b63a8c4402c /coreutils/env.c | |
parent | d1660cb9ad3adb4b99c098de88f79cbeb74c3a5d (diff) | |
download | busybox-b730474bda4a964930e8013301ace7b49a0c5726.zip busybox-b730474bda4a964930e8013301ace7b49a0c5726.tar.gz |
ash: fix NOEXEC mode - we were forgetting to pass environment!
env: promote to NOEXEC
hd: promote to NOEXEC, as hexdump is NOEXEC already
Diffstat (limited to 'coreutils/env.c')
-rw-r--r-- | coreutils/env.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/env.c b/coreutils/env.c index 66199e8..2f8c8b7 100644 --- a/coreutils/env.c +++ b/coreutils/env.c @@ -29,6 +29,8 @@ * - use xfunc_error_retval */ +/* This is a NOEXEC applet. Be very careful! */ + #include "libbb.h" #if ENABLE_FEATURE_ENV_LONG_OPTIONS @@ -119,5 +121,3 @@ int env_main(int argc UNUSED_PARAM, char **argv) * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ - - |