TEST
#define TEST
#define TEST
#define TEST(expected, test) test_case((expected), #test, (test))
#define TEST(func, type, x, y, expected, rmode) do { \
#define TEST(func, type, x, y, expected, rmode) do { \
TEST(CapabilityPair, sendfile) {
TEST(Capability, SyscallAt) {
TEST(Capability, SyscallAtIfRoot) {
TEST(Capability, PipeUnseekable) {
TEST(Capability, NoBypassDACIfRoot) {
TEST(Capability, CheckIsEmpty) {
TEST(Capmode, AllowedAtSyscalls) {
TEST(Capmode, AllowedAtSyscallsCwd) {
TEST(Capmode, Abort) {
TEST(Fcntl, Commands) {
TEST(Fcntl, WriteLock) {
TEST(Fcntl, SubRightNormalFD) {
TEST(Fcntl, PreserveSubRights) {
TEST(Fcntl, FLSubRights) {
TEST(Fcntl, OWNSubRights) {
TEST(Ioctl, SubRights) {
TEST(Ioctl, Basic) {
TEST(Ioctl, TooManySubRights) {
TEST(Ioctl, SubRightNormalFD) {
TEST(Ioctl, PreserveSubRights) {
TEST(Linux, CapModeWithBPF) {
TEST(Linux, AIO) {
TEST(Linux, KcmpIfAvailable) {
TEST(Linux, ProcFS) {
TEST(Linux, SetLease) {
TEST(Linux, InvalidRightsSyscall) {
TEST(Linux, MemFDDeathTestIfAvailable) {
TEST(Linux, EventFD) {
TEST(Linux, TimerFD) {
TEST(Linux, fstatat) {
TEST(Linux, FanotifyIfRoot) {
TEST(Linux, inotify) {
TEST(Linux, ArchChangeIfAvailable) {
TEST(Linux, PidNamespacePdForkIfRoot) {
TEST(Linux, DeadNSInitIfRoot) {
TEST(Linux, DeadNSInit2IfRoot) {
TEST(Pdfork, InvalidFlag) {
TEST(Pdfork, TimeCheck) {
TEST(Pdfork, UseDescriptor) {
TEST(Pdfork, NonProcessDescriptor) {
TEST(Pdfork, FromThread) {
TEST(Pdfork, PdkillOtherSignal) {
TEST(Pdfork, Bagpuss) {
TEST(Pdfork, BagpussDaemon) {
TEST(Pdfork, MissingRights) {
TEST(Pdfork, Simple) {
TEST(Rename, AbsDesignationSame) {
TEST(RenameAt, AbsDesignationSame) {
TEST(Sctp, Socket) {
TEST(Socket, TCP) {
TEST(Socket, UnixDomain) {
TEST(Socket, UDP) {
TEST(Sysctl, Capability) {
TEST(PreMount, inval_entry_before_mount)
#define TEST(n,name,cipher,keyix,pn) { \
#define TEST(n,name,cipher,keyix,pn) { \
#define TEST(n,name,cipher,keyix,iv0,iv1,iv2,iv3) { \
#define TEST(function, name) \