Home
last modified time | relevance | path

Searched hist:e5b431fc0c20771a2a18cb5169d75cf337d0f1dd (Results 1 – 4 of 4) sorted by relevance

/freebsd/tests/sys/kern/execve/
H A Dexecve_argc_helper.ce5b431fc0c20771a2a18cb5169d75cf337d0f1dd Wed Jan 26 02:22:03 CET 2022 Kyle Evans <kevans@FreeBSD.org> tests: add a basic test for argc == 0

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.

Reviewed by: emaste, kib, markj (all previous version)
Differential Revision: https://reviews.freebsd.org/D34045
H A Dexecve_test.shdiff e5b431fc0c20771a2a18cb5169d75cf337d0f1dd Wed Jan 26 02:22:03 CET 2022 Kyle Evans <kevans@FreeBSD.org> tests: add a basic test for argc == 0

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.

Reviewed by: emaste, kib, markj (all previous version)
Differential Revision: https://reviews.freebsd.org/D34045
H A Dexecve_helper.cdiff e5b431fc0c20771a2a18cb5169d75cf337d0f1dd Wed Jan 26 02:22:03 CET 2022 Kyle Evans <kevans@FreeBSD.org> tests: add a basic test for argc == 0

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.

Reviewed by: emaste, kib, markj (all previous version)
Differential Revision: https://reviews.freebsd.org/D34045
H A DMakefilediff e5b431fc0c20771a2a18cb5169d75cf337d0f1dd Wed Jan 26 02:22:03 CET 2022 Kyle Evans <kevans@FreeBSD.org> tests: add a basic test for argc == 0

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.

Reviewed by: emaste, kib, markj (all previous version)
Differential Revision: https://reviews.freebsd.org/D34045