/third_party/ltp/testcases/kernel/containers/mqns/ |
H A D | mqns_03.c | 42 static char *str_op; variable 101 if (str_op && !strcmp(str_op, "clone")) { in run() 108 } else if (str_op && !strcmp(str_op, "unshare")) { in run() 121 if (!str_op || (strcmp(str_op, "clone") && strcmp(str_op, "unshare"))) in setup() 147 { "m:", &str_op, "Child process isolation <clone|unshare>" },
|
H A D | mqns_04.c | 40 static char *str_op; variable 70 if (str_op && !strcmp(str_op, "clone")) { in run() 77 } else if (str_op && !strcmp(str_op, "unshare")) { in run() 114 if (!str_op || (strcmp(str_op, "clone") && strcmp(str_op, "unshare"))) in setup() 140 { "m:", &str_op, "Child process isolation <clone|unshare>" },
|
H A D | mqns_01.c | 23 static char *str_op; variable 34 if (str_op && !strcmp(str_op, "clone")) { in run() 41 } else if (str_op && !strcmp(str_op, "unshare")) { in run() 79 { "m:", &str_op, "Child process isolation <clone|unshare>" },
|
H A D | mqns_02.c | 22 static char *str_op; variable 62 if (str_op && !strcmp(str_op, "clone")) { in run() 69 } else if (str_op && !strcmp(str_op, "unshare")) { in run() 107 { "m:", &str_op, "Child process isolation <clone|unshare>" },
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
H A D | semtest_2ns.c | 40 static char *str_op; variable 54 tst_res(TINFO, "%s: created key in child1", str_op); in check_sem1() 78 tst_res(TINFO, "%s: reading key in child2", str_op); in check_sem2() 85 tst_res(TFAIL, "%s: In namespace2 found semaphore created in namespace1", str_op); in check_sem2() 90 tst_res(TPASS, "%s: In namespace2 unable to access semaphore created in namespace1", str_op); in check_sem2() 103 tst_res(TFAIL, "%s: In namespace2 able to unlock the semaphore created in an namespace1", str_op); in check_sem2() 108 tst_res(TPASS, "%s: In namespace2 unable to unlock the semaphore created in an namespace1", str_op); in check_sem2() 123 use_clone = get_clone_unshare_enum(str_op); in setup() 145 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
|
H A D | shmem_2nstest.c | 40 static char *str_op; variable 66 tst_res(TPASS, "%s: in namespace2 unable to access the shmem seg created in namespace1", str_op); in check_shmem2() 71 tst_res(TFAIL, "%s: in namespace2 found the shmem segment created in namespace1", str_op); in check_shmem2() 85 use_clone = get_clone_unshare_enum(str_op); in setup() 95 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
|
H A D | shmnstest.c | 26 static char *str_op; variable 37 tst_res(TPASS, "%s: child process didn't find shmid", str_op); in check_shmid() 42 tst_res(TFAIL, "%s: child process found shmid", str_op); in check_shmid() 53 use_clone = get_clone_unshare_enum(str_op); in setup() 73 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
|
H A D | common.h | 22 static inline int get_clone_unshare_enum(const char *str_op) in get_clone_unshare_enum() argument 28 if (!str_op || !strcmp(str_op, "none")) in get_clone_unshare_enum() 30 else if (!strcmp(str_op, "clone")) in get_clone_unshare_enum() 32 else if (!strcmp(str_op, "unshare")) in get_clone_unshare_enum()
|
H A D | sem_nstest.c | 34 static char *str_op; variable 48 tst_res(TPASS, "%s: container didn't find semaphore", str_op); in check_semaphore() 58 tst_res(TFAIL, "%s: Container init process found semaphore", str_op); in check_semaphore() 68 use_clone = get_clone_unshare_enum(str_op); in setup() 87 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
|
H A D | mesgq_nstest.c | 36 static char *str_op; variable 56 tst_res(TPASS, "%s: container didn't find mesgq", str_op); in check_mesgq() 74 tst_res(TFAIL, "%s: container init process found mesgq", str_op); in check_mesgq() 87 tst_res(TINFO, "mesgq namespaces test: %s", str_op); in run() 94 use_clone = get_clone_unshare_enum(str_op); in setup() 113 { "m:", &str_op, "Test execution mode <clone|unshare|none>" },
|
/third_party/ltp/testcases/kernel/containers/utsname/ |
H A D | utsname04.c | 19 static char *str_op; variable 34 if (!str_op || !strcmp(str_op, "clone")) { in run() 60 { "m:", &str_op, "Test execution mode <clone|unshare>" },
|
H A D | utsname03.c | 21 static char *str_op; variable 56 if (!str_op || !strcmp(str_op, "clone")) { in run() 118 { "m:", &str_op, "Test execution mode <clone|unshare>" },
|