History log of /src/tests/sys/kern/execve/execve_helper.c (Results 1 – 8 of 8)
Revision Date Author Comments
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# e5b431fc 26-Jan-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

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

show more ...


# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# e5b431fc 26-Jan-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

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

show more ...


# dcdb30d8 14-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Follow up to r312118

State that execve failed instead of just printing out the program name
and strerror(errno) via err(3).

MFC after: 3 days
X-MFC with: r312118
Sponsored by: Dell EMC Isilon


# dfa7f3a5 14-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Fix -Wformat issue with zero-length format string passed to err(3)

MFC after: 3 days
Tested with: clang, gcc 4.2.1, gcc 4.9
Sponsored by: Dell EMC Isilon


# bbf12e6f 27-Apr-2015 Enji Cooper <ngie@FreeBSD.org>

Integrate tools/regression/execve into the FreeBSD test suite as
tests/sys/kern/execve

MFC after: 1 week


# 393e6ede 31-May-2006 Maxim Konovalov <maxim@FreeBSD.org>

o Add various regression tests for execve(2) syscall.

Obtained from: NetBSD