summaryrefslogtreecommitdiffstats
path: root/tools/regression/priv/priv_netinet_ipsec.c
Commit message (Collapse)AuthorAgeFilesLines
* Start respecting WITHOUT_INET6.bz2009-08-131-4/+16
| | | | | | | | | | | | | | Make regression/priv compile again after the multi-IP jail changes. Note that we are still using the legacy jail(2) rather than the jail_set(2)/jail(3) syscall. Add an IPv4, and an IPv6 loopback address in case we compile with INET6 enabled. Make the priv_vfs_extattr_system compile on amd64 as well using the proper length modifier to printf(3) for ssize_t. Reviewed by: rwatson Approved by: re (kib)
* Remove empty setup and cleanup functions for the pfkey test.bz2007-11-161-2/+234
| | | | | | | | | | | Add regression tests for privileged and supposedly unprivileged IP_IPSEC_POLICY,IPV6_IPSEC_POLICY setsockopt cases. We may need to review the current 'good' results to make sure they reflect what we really want. Discussed with: rwatson Reviewed by: rwatson
* In sys/netipsec/keysock.c rev. 1.19 a missing priv check was added.bz2007-11-131-0/+85
Before that non-su users were able to open pfkey sockets as well. Add a regression test so we can detect such problems in an automated way in the future.
OpenPOWER on IntegriCloud