Remove "All Rights Reserved" from FreeBSD Foundation copyrightsThese ones were unambiguous cases where the Foundation was the onlylisted copyright holder.Sponsored by: The FreeBSD Foundation(c
Remove "All Rights Reserved" from FreeBSD Foundation copyrightsThese ones were unambiguous cases where the Foundation was the onlylisted copyright holder.Sponsored by: The FreeBSD Foundation(cherry picked from commit 5c2bc3db201a4fe8d7911cf816bea104d5dc2138)
show more ...
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Don't add -Winline for WARNS=6This warning is very rarely useful (inline is a hint and not mandatory).This flag results in many warnings being printed when compiling C++code that uses the standar
Don't add -Winline for WARNS=6This warning is very rarely useful (inline is a hint and not mandatory).This flag results in many warnings being printed when compiling C++code that uses the standard library with GCC.This flag was originally added in back in r94332 but the flag is a no-opin Clang ("This diagnostic flag exists for GCC compatibility, and has noeffect in Clang"). Removing it should make the GCC build output slightlymore readable.Reviewed By: jrtc27, impDifferential Revision: https://reviews.freebsd.org/D29235
Move libcasper tests from regression/capsicum/libcasper/ tolib/libcasper/service/${service_name}/tests.Reviewed by: emaste, ngieDifferential Revision: https://reviews.freebsd.org/D7759
Fix Capsicum syscalls test suite.
Set NULL to the ai_next pointer which fix cap_getaddrinfo().Add regression test case.PR: 195551Submitted by: Mikhail <[email protected]>Approved by: pjd (mentor)
Convert casperd(8) daemon to the libcasper.After calling the cap_init(3) function Casper will fork from it's originalprocess, using pdfork(2). Forking from a process has a lot of advantages:1. We
Convert casperd(8) daemon to the libcasper.After calling the cap_init(3) function Casper will fork from it's originalprocess, using pdfork(2). Forking from a process has a lot of advantages:1. We have the same cwd as the original process.2. The same uid, gid and groups.3. The same MAC labels.4. The same descriptor table.5. The same routing table.6. The same umask.7. The same cpuset(1).From now services are also in form of libraries.We also removed libcapsicum at all and converts existing program using Casperto new architecture.Discussed with: pjd, jonathan, ed, [email protected], emastePartially reviewed by: [email protected], bdreweryApproved by: pjd (mentor)Differential Revision: https://reviews.freebsd.org/D4277
Let the nv.h and dnv.h includes be only in sys directory.Change consumers to include those files from sys.Add duplicated files to ObsoleteFiles.Approved by: pjd (mentor)
Update most userspace consumers of capability.h to use capsicum.h instead.auditdistd is not updated as I will make the change upstream and then do avendor import sometime in the next week or two.
Update most userspace consumers of capability.h to use capsicum.h instead.auditdistd is not updated as I will make the change upstream and then do avendor import sometime in the next week or two.MFC after: 3 weeks
MFp4 @1189766:- Compile the tests with .t suffix, so prove can use them directly.- The CHECKX() macro should increment ntest just like the CHECK() macro.- For consistency remove # from the pwd.t
MFp4 @1189766:- Compile the tests with .t suffix, so prove can use them directly.- The CHECKX() macro should increment ntest just like the CHECK() macro.- For consistency remove # from the pwd.t output.Submitted by: Mariusz Zaborski <[email protected]>
Regression tests for existing Casper services.Sponsored by: The FreeBSD Foundation
If all ioctls are allowed, cap_ioctls_get(2) will return CAP_IOCTLS_ALL.Update regression tests.
Add regression tests for the new Capsicum system calls.Sponsored by: The FreeBSD Foundation