opnsense-src/sbin/ping
Jose Luis Duran 5d24286be1
ping tests: Run tests unprivileged inside a vnet
In order to create vnet jails, atf_python needs root privileges.
However, once the vnet is created, its privileges inside the vnet can be
demoted, as these tests should not require root in order to pass.

Reviewed by:	markj
Approved by:	emaste (mentor)
Fixes:	4efaf43c6fa7 ("ping: Require root user for pytests")
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42175

(cherry picked from commit 5797a03fe8a7c3355a727aaaea803ee1f42d106b)
2024-11-14 03:23:33 +00:00
..
tests ping tests: Run tests unprivileged inside a vnet 2024-11-14 03:23:33 +00:00
main.c ping: Fix protocol selection with NOINET6 kernel. 2024-03-17 14:38:12 +00:00
main.h ping: Unify ping/ping6 statistics section 2023-11-06 11:45:43 -05:00
Makefile ping6(8): Add ping6(8) as MLINK to ping(8) 2023-11-10 15:41:32 +08:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ping.8 ping: The -C option is also supported for IPv6. 2023-09-22 09:50:32 +02:00
ping.c ping: pr_iph() improvements 2023-11-06 11:45:44 -05:00
ping.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ping6.c ping(8): Fix typo in ping6.c 2024-10-25 23:57:05 +08:00
ping6.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utils.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
utils.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00