mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
The kernel should reject such exec()s now, early on. Instead of adding
the needed boilerplate to write a test in C, just add an -n argument for
"(n)ull argv" to the execve helper and exec this other helper that just
exits silently with argv count.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| bad_interp_len | ||
| dev_null_script | ||
| execve_argc_helper.c | ||
| execve_helper.c | ||
| execve_test.sh | ||
| good_aout.c | ||
| good_script | ||
| Makefile | ||
| Makefile.depend | ||
| non_exist_shell | ||
| script_arg | ||
| script_arg_nospace | ||