@@ -129,7 +129,7 @@ New test should
(more in https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#2238-test-tags[Test tags])
* When rewriting old tests, https://en.wikipedia.org/wiki/%CE%9CClinux[uClinux]
support should be removed (project has been discontinued).
- E.g. remove `#ifdef UCLINUX`, replace `FORK_OR_VFORK()` with simple `fork()` or `SAFE_FORK()`.
+ E.g. remove `#ifdef UCLINUX`, replace `tst_fork()` with simple `fork()` or `SAFE_FORK()`.
### Shell tests
* Use new https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#23-writing-a-testcase-in-shell[shell API]
@@ -65,18 +65,6 @@
/* strings to control tst_res output */
/* If not set, TOUT_VERBOSE_S is assumed */
-/*
- * fork() can't be used on uClinux systems, so use FORK_OR_VFORK instead,
- * which will run vfork() on uClinux.
- */
-#ifdef UCLINUX
-# define FORK_OR_VFORK tst_vfork
-/* tst_old_flush() + vfork() */
-pid_t tst_vfork(void);
-#else
-# define FORK_OR_VFORK tst_fork
-#endif
-
/*
* Macro to use for making functions called only once in
* multi-threaded tests such as init or cleanup function.
@@ -471,14 +471,6 @@ void tst_record_childstatus(void (*cleanup)(void), pid_t child)
}
}
-pid_t tst_vfork(void)
-{
- NO_NEWLIB_ASSERT("Unknown", 0);
-
- tst_old_flush();
- return vfork();
-}
-
/*
* Make tst_brk reentrant so that one can call the SAFE_* macros from within
* user-defined cleanup functions.
@@ -261,7 +261,7 @@ pid_t start_server(struct sockaddr_in *sin0)
}
SAFE_GETSOCKNAME(cleanup, sfd, (struct sockaddr *)sin0, &slen);
- switch ((pid = FORK_OR_VFORK())) {
+ switch ((pid = tst_fork())) {
case 0: /* child */
#ifdef UCLINUX
self_exec(argv0, "d", sfd);
@@ -143,7 +143,7 @@ do { \
int kid_status; \
\
tst_old_flush(); \
- kid_pid = FORK_OR_VFORK(); \
+ kid_pid = tst_fork(); \
if (kid_pid == 0) {
#define PROTECT_REGION_EXIT(errval) return (errval);
@@ -177,7 +177,7 @@ do { \
int kid_status; \
\
tst_old_flush(); \
- kid_pid = FORK_OR_VFORK(); \
+ kid_pid = tst_fork(); \
if (kid_pid == 0) { /* Run the function */ \
return fn(epoll_fd); \
} else { \
@@ -52,7 +52,7 @@ int main(int ac, char **av)
sig = 0;
exno = 1;
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
switch (pid) {
case 0:
@@ -101,7 +101,7 @@ static void verify_cloexec(struct tcase *tc)
sprintf(pidname, "%d", fd);
- switch (pid = FORK_OR_VFORK()) {
+ switch (pid = tst_fork()) {
case -1:
tst_resm(TBROK | TERRNO, "fork() failed");
return;
@@ -257,7 +257,7 @@ int main(int ac, char **av)
/* reset tst_count in case we are looping */
tst_count = 0;
- if ((child_pid = FORK_OR_VFORK()) == 0) { /* parent */
+ if ((child_pid = tst_fork()) == 0) { /* parent */
#ifdef UCLINUX
if (self_exec(av[0], "ddddd", parent_pipe[0],
parent_pipe[1], child_pipe[0],
@@ -738,7 +738,7 @@ void dochild(void)
* need some way to have fcntl() atomically unblock a
* signal and wait for the lock.)
*/
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
switch (pid) {
case -1:
tst_resm(TFAIL, "Fork failed");
@@ -828,7 +828,7 @@ void run_test(int file_flag, int file_mode, int seek, int start, int end)
/* flush the stdout to avoid garbled output */
fflush(stdout);
- if ((child = FORK_OR_VFORK()) == 0) {
+ if ((child = tst_fork()) == 0) {
#ifdef UCLINUX
if (self_exec(argv0, "nddddddddd", 2, thiscase->c_type,
thiscase->c_whence, thiscase->c_start,
@@ -1079,7 +1079,7 @@ int main(int ac, char **av)
if (sighold(SIGUSR1) < 0)
tst_brkm(TBROK, cleanup, "sighold failed");
- if ((child = FORK_OR_VFORK()) == 0) {
+ if ((child = tst_fork()) == 0) {
#ifdef UCLINUX
if (self_exec(argv0, "nddddddddd", 2, thiscase->c_type,
thiscase->c_whence, thiscase->c_start,
@@ -497,7 +497,7 @@ int run_test(int file_flag, int file_mode, int start, int end)
/* spawn child processes */
for (i = 0; i < 2; i++) {
if (thislock->l_type != IGNORED) {
- if ((child = FORK_OR_VFORK()) == 0) {
+ if ((child = tst_fork()) == 0) {
#ifdef UCLINUX
if (self_exec(argv0, "ddddd", i, parent,
test, thislock, fd) < 0) {
@@ -467,7 +467,7 @@ int main(int ac, char **av)
tst_count = 0;
tst_resm(TINFO, "Enter preparation phase");
- if ((child_pid1 = FORK_OR_VFORK()) == 0) { /* first child */
+ if ((child_pid1 = tst_fork()) == 0) { /* first child */
#ifdef UCLINUX
if (self_exec(av[0], "nddddddddd", 1, file_fd,
parent_pipe[0], parent_pipe[1],
@@ -123,7 +123,7 @@ int main(int ac, char **av)
/* //block3: */
tst_resm(TINFO, "Enter block 3");
fail = 0;
- if ((pid = FORK_OR_VFORK()) == 0) { /* child */
+ if ((pid = tst_fork()) == 0) { /* child */
fail = 0;
pass = getpwnam("nobody");
retval = setreuid(-1, pass->pw_uid);
@@ -296,7 +296,7 @@ int main(int ac, char **av)
/* reset tst_count in case we are looping */
tst_count = 0;
- if ((child_pid = FORK_OR_VFORK()) == 0) { /* child */
+ if ((child_pid = tst_fork()) == 0) { /* child */
#ifdef UCLINUX
if (self_exec
(av[0], "ddddd", parent_pipe[0], parent_pipe[1],
@@ -295,7 +295,7 @@ int main(int ac, char **av)
/* reset tst_count in case we are looping */
tst_count = 0;
- if ((child_pid = FORK_OR_VFORK()) == 0) { /* child */
+ if ((child_pid = tst_fork()) == 0) { /* child */
#ifdef UCLINUX
if (self_exec
(av[0], "ddddd", parent_pipe[0], parent_pipe[1],
@@ -303,7 +303,7 @@ int main(int ac, char **av)
/* reset tst_count in case we are looping */
tst_count = 0;
- if ((child_pid = FORK_OR_VFORK()) == 0) {
+ if ((child_pid = tst_fork()) == 0) {
#ifdef UCLINUX
if (self_exec
(av[0], "ddddd", parent_pipe[0], parent_pipe[1],
@@ -60,7 +60,7 @@ int main(int ac, char **av)
for (lc = 0; TEST_LOOPING(lc); lc++) {
tst_count = 0;
- child_pid = FORK_OR_VFORK();
+ child_pid = tst_fork();
switch (child_pid) {
case 0:
TEST(fcntl(file, F_SETLK, &fl));
@@ -154,7 +154,7 @@ int main(int argc, char **argv)
for (i = 0; i < nprocs; i++) {
fflush(stdout);
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
tst_brkm(TFAIL,
NULL,
"\tFork failed (may be OK if under stress)");
@@ -216,7 +216,7 @@ static int dotest(key_t key, int child_process)
sigrelse(SIGTERM);
fflush(stdout);
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
printf("\tFork failed (may be OK if under stress)\n");
TEST(msgctl(tid, IPC_RMID, 0));
if (TEST_RETURN < 0) {
@@ -164,7 +164,7 @@ int main(int argc, char **argv)
for (i = 0; i < nprocs; i++) {
fflush(stdout);
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
tst_brkm(TFAIL,
NULL,
"\tFork failed (may be OK if under stress)");
@@ -249,7 +249,7 @@ static int dotest(key_t key, int child_process)
for (i = 0; i < nkids; i++) {
fflush(stdout);
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
printf("Fork failure in the first child of child group %d\n",
child_process);
cleanup_msgqueue(i, tid);
@@ -263,7 +263,7 @@ static int dotest(key_t key, int child_process)
}
rkidarray[i] = pid;
fflush(stdout);
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
printf("Fork failure in the second child of child group %d\n",
child_process);
/*
@@ -160,7 +160,7 @@ int main(int argc, char **argv)
for (i = 0; i < nprocs; i++) {
fflush(stdout);
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
tst_brkm(TFAIL,
NULL,
"\tFork failed (may be OK if under stress)");
@@ -221,7 +221,7 @@ static int dotest(key_t key, int child_process)
sigrelse(SIGTERM);
fflush(stdout);
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
printf("Fork failed (may be OK if under stress)\n");
TEST(msgctl(tid, IPC_RMID, 0));
if (TEST_RETURN < 0) {
@@ -200,7 +200,7 @@ static void dotest_iteration(int off)
for (i = 0; i < nprocs; i++) {
key = keyarray[off + i];
- if ((pid = FORK_OR_VFORK()) < 0)
+ if ((pid = tst_fork()) < 0)
tst_brkm(TFAIL, cleanup,
"Fork failed (may be OK if under stress)");
@@ -275,7 +275,7 @@ static int dotest(key_t key, int child_process)
exit_status = PASS;
for (i = 0; i < nkids; i++) {
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
printf("Fork failure in the first child of child group %d\n",
child_process);
cleanup_msgqueue(i, tid);
@@ -288,7 +288,7 @@ static int dotest(key_t key, int child_process)
child_process, nreps));
}
rkidarray[i] = pid;
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
printf("Fork failure in the second child of child group %d\n",
child_process);
/*
@@ -112,7 +112,7 @@ int main(int argc, char **argv)
}
for (i = 0; i < NPROCS; i++) {
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
tst_resm(TFAIL,
"\tFork failed (may be OK if under stress)");
@@ -188,7 +188,7 @@ static void dotest(key_t key)
}
for (i = 0; i < NKIDS; i++) {
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
tst_resm(TFAIL, "\tfork failed");
}
if (pid == 0)
@@ -231,8 +231,8 @@ int main(int ac, char **av)
tst_count = 0;
- if ((pid1 = FORK_OR_VFORK()) > 0) {
- if ((pid2 = FORK_OR_VFORK()) > 0) {
+ if ((pid1 = tst_fork()) > 0) {
+ if ((pid2 = tst_fork()) > 0) {
(void)parent_rout();
} else if (pid2 == 0) {
#ifdef UCLINUX
@@ -452,11 +452,11 @@ void child1_rout(void)
/*
* Create children A & B.
*/
- if ((pidA = FORK_OR_VFORK()) > 0) {
+ if ((pidA = tst_fork()) > 0) {
/*
* This is the parent(child1), fork again to create child B.
*/
- if ((pidB = FORK_OR_VFORK()) == 0) {
+ if ((pidB = tst_fork()) == 0) {
/* This is child B. */
#ifdef UCLINUX
if (self_exec(argv0, "nd", 2, pipeB_fd[1]) < 0) {
@@ -124,7 +124,7 @@ int main(int ac, char **av)
/* setup the signal handler */
ret = sigaction(TEST_SIG, &my_act, &old_act);
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid < 0) {
tst_brkm(TBROK, cleanup, "Fork of child failed");
} else if (pid == 0) {
@@ -95,13 +95,13 @@ int main(int ac, char **av)
/* Fork a process and set the process group so that */
/* it is different from this one. Fork 5 more children. */
- pid1 = FORK_OR_VFORK();
+ pid1 = tst_fork();
if (pid1 < 0) {
tst_brkm(TBROK, cleanup, "Fork of first child failed");
} else if (pid1 == 0) {
setpgrp();
for (i = 0; i < 5; i++) {
- pid2 = FORK_OR_VFORK();
+ pid2 = tst_fork();
if (pid2 < 0) {
tst_brkm(TBROK, cleanup, "Fork failed");
} else if (pid2 == 0) {
@@ -145,7 +145,7 @@ int main(int ac, char **av)
tst_count = 0;
- if ((fork_pid = FORK_OR_VFORK()) == -1)
+ if ((fork_pid = tst_fork()) == -1)
tst_brkm(TBROK | TERRNO, cleanup, "fork failed");
if (fork_pid == 0) {
@@ -95,7 +95,7 @@ int main(int argc, char **argv)
fflush(temp);
chflag = 0;
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid < 0) {
forkfail();
}
@@ -119,7 +119,7 @@ int main(int ac, char **av)
}
tst_old_flush();
- if ((pid = FORK_OR_VFORK()) == 0) {
+ if ((pid = tst_fork()) == 0) {
signal(SIGSEGV, SIG_DFL);
val = read_segment(0);
exit(1);
@@ -89,7 +89,7 @@ int main(int ac, char **av)
addr = SAFE_MMAP(cleanup, 0, sizeof(buf), PROT_READ,
MAP_SHARED, fd, 0);
- if ((pid = FORK_OR_VFORK()) == -1)
+ if ((pid = tst_fork()) == -1)
tst_brkm(TBROK | TERRNO, cleanup, "fork #1 failed");
if (pid == 0) {
@@ -118,7 +118,7 @@ int main(int ac, char **av)
TEST(mprotect(addr, sizeof(buf), PROT_WRITE));
if (TEST_RETURN != -1) {
- if ((pid = FORK_OR_VFORK()) == -1)
+ if ((pid = tst_fork()) == -1)
tst_brkm(TBROK | TERRNO, cleanup,
"fork #2 failed");
@@ -95,7 +95,7 @@ int main(int ac, char **av)
TEST(mprotect(addr, strlen(buf), PROT_READ));
if (TEST_RETURN != -1) {
- if ((pid = FORK_OR_VFORK()) == -1) {
+ if ((pid = tst_fork()) == -1) {
tst_brkm(TBROK, cleanup, "fork failed");
}
@@ -54,7 +54,7 @@ int main(int ac, char **av)
for (lc = 0; TEST_LOOPING(lc); lc++) {
tst_count = 0;
- cpid = FORK_OR_VFORK();
+ cpid = tst_fork();
switch (cpid) {
case -1:
tst_brkm(TBROK, cleanup, "fork() failed");
@@ -53,7 +53,7 @@ int main(int ac, char **av)
for (lc = 0; TEST_LOOPING(lc); lc++) {
tst_count = 0;
- if ((cpid = FORK_OR_VFORK()) == -1)
+ if ((cpid = tst_fork()) == -1)
tst_brkm(TBROK | TERRNO, NULL, "fork() failed");
if (cpid == 0) {
@@ -98,7 +98,7 @@ int main(int ac, char **av)
SAFE_PIPE(cleanup, fildes);
- if ((c1pid = FORK_OR_VFORK()) == -1)
+ if ((c1pid = tst_fork()) == -1)
tst_brkm(TBROK, cleanup, "fork() failed - "
"errno %d", errno);
if (c1pid == 0)
@@ -110,7 +110,7 @@ int main(int ac, char **av)
#else
c1func();
#endif
- if ((c2pid = FORK_OR_VFORK()) == -1)
+ if ((c2pid = tst_fork()) == -1)
tst_brkm(TBROK, cleanup, "fork() failed - "
"errno %d", errno);
if (c2pid == 0)
@@ -98,7 +98,7 @@ int main(int ac, char **av)
continue;
}
- if ((fork_1 = FORK_OR_VFORK()) == -1) {
+ if ((fork_1 = tst_fork()) == -1) {
tst_brkm(TBROK, cleanup, "fork() #1 failed");
}
@@ -125,7 +125,7 @@ int main(int ac, char **av)
tst_brkm(TBROK, cleanup, "child exited abnormally");
}
- if ((fork_2 = FORK_OR_VFORK()) == -1) {
+ if ((fork_2 = tst_fork()) == -1) {
tst_brkm(TBROK, cleanup, "fork() #2 failed");
}
@@ -240,7 +240,7 @@ pid_t start_server(struct sockaddr_in *sin0)
}
SAFE_GETSOCKNAME(cleanup, sfd, (struct sockaddr *)sin0, &slen);
- switch ((pid = FORK_OR_VFORK())) {
+ switch ((pid = tst_fork())) {
case 0: /* child */
#ifdef UCLINUX
if (self_exec(argv0, "d", sfd) < 0)
@@ -269,7 +269,7 @@ pid_t start_server(struct sockaddr_in *sin0)
}
SAFE_GETSOCKNAME(cleanup, sfd, (struct sockaddr *)sin0, &slen);
- switch ((pid = FORK_OR_VFORK())) {
+ switch ((pid = tst_fork())) {
case 0: /* child */
#ifdef UCLINUX
if (self_exec(argv0, "d", sfd) < 0) {
@@ -89,14 +89,14 @@ int main(int argc, char *argv[])
parent_pid = getpid();
tst_tmpdir();
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid < 0)
tst_brkm(TBROK, NULL, "fork() returned %d", pid);
if (pid == 0)
dochild1();
kidpid[0] = pid;
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid < 0) {
(void)kill(kidpid[0], SIGTERM);
(void)unlink("./rename14");
@@ -185,7 +185,7 @@ static pid_t start_server(struct sockaddr_in *sin0)
}
SAFE_GETSOCKNAME(cleanup, sfd, (struct sockaddr *)sin0, &slen);
- switch ((pid = FORK_OR_VFORK())) {
+ switch ((pid = tst_fork())) {
case 0:
#ifdef UCLINUX
if (self_exec(argv0, "d", sfd) < 0)
@@ -457,7 +457,7 @@ static pid_t start_server(struct sockaddr_in *sin0, struct sockaddr_un *sun0)
return -1;
}
- switch ((pid = FORK_OR_VFORK())) {
+ switch ((pid = tst_fork())) {
case 0:
#ifdef UCLINUX
if (self_exec(argv0, "dd", sfd, ufd) < 0)
@@ -255,7 +255,7 @@ static pid_t start_server(struct sockaddr_in *sin0)
}
SAFE_GETSOCKNAME(cleanup, sfd, (struct sockaddr *)sin0, &slen);
- switch ((pid = FORK_OR_VFORK())) {
+ switch ((pid = tst_fork())) {
case 0:
#ifdef UCLINUX
if (self_exec(argv0, "d", sfd) < 0)
@@ -62,7 +62,7 @@ int main(int ac, char **av)
setup();
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid < 0)
tst_brkm(TBROK, cleanup, "Fork failed");
@@ -106,7 +106,7 @@ static void do_master_child(void)
/* Test 2: Check a son process cannot open the file
* with RDWR permissions.
*/
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid < 0) {
perror("Fork failed");
exit(TFAIL);
@@ -108,7 +108,7 @@ static void setpgid_test2(void)
int ret;
pid_t pgid, pid;
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid == -1)
tst_brkm(TBROK | TERRNO, cleanup, "fork()");
@@ -92,7 +92,7 @@ void setup(void)
* Make sure current process is NOT a session or pgrp leader
*/
if (getpgrp() == getpid()) {
- if ((pid = FORK_OR_VFORK()) == -1) {
+ if ((pid = tst_fork()) == -1) {
tst_brkm(TBROK, cleanup,
"fork() in setup() failed - errno %d", errno);
}
@@ -134,7 +134,7 @@ static void test2(void)
* output will be saved to the logfile (instead of stdout)
* when the testcase (parent) is run from the driver.
*/
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid == -1)
tst_brkm(TBROK, cleanup, "fork() failed");
@@ -218,7 +218,7 @@ static void test3(void)
}
for (i = 0; i < 20; i++) {
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid == -1) {
if (errno != EAGAIN) {
tst_resm(TWARN, "Expected EAGAIN got %d",
@@ -251,7 +251,7 @@ static void test4(void)
return;
}
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid == -1)
tst_brkm(TBROK, cleanup, "fork() failed");
@@ -90,10 +90,10 @@ int main(int ac, char **av)
* and then it attached itself to another process
* group and tries to setsid
*/
- pid = FORK_OR_VFORK();
+ pid = tst_fork();
if (pid == 0) {
- if ((pid = FORK_OR_VFORK()) == -1) {
+ if ((pid = tst_fork()) == -1) {
tst_resm(TFAIL, "Fork failed");
}
@@ -161,7 +161,7 @@ void do_child_1(void)
exno = 1;
}
- if ((pid = FORK_OR_VFORK()) == -1) {
+ if ((pid = tst_fork()) == -1) {
tst_brkm(TFAIL, NULL, "Fork failed");
}
if (pid == 0) {
@@ -208,7 +208,7 @@ int main(int argc, char **argv)
/*
* fork off a child process
*/
- if ((pid = FORK_OR_VFORK()) < 0) {
+ if ((pid = tst_fork()) < 0) {
tst_brkm(TBROK | TERRNO, cleanup, "fork() failed");
} else if (pid > 0) {
It was defined only to support UCLINUX. Signed-off-by: Petr Vorel <pvorel@suse.cz> --- doc/old/Maintainer-Patch-Review-Checklist.asciidoc | 2 +- include/old/test.h | 12 ------------ lib/tst_res.c | 8 -------- testcases/kernel/syscalls/connect/connect01.c | 2 +- testcases/kernel/syscalls/epoll/epoll-ltp.c | 4 ++-- testcases/kernel/syscalls/exit/exit01.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl07.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl11.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl14.c | 6 +++--- testcases/kernel/syscalls/fcntl/fcntl16.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl17.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl18.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl19.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl20.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl21.c | 2 +- testcases/kernel/syscalls/fcntl/fcntl22.c | 2 +- .../kernel/syscalls/ipc/msgstress/msgstress01.c | 4 ++-- .../kernel/syscalls/ipc/msgstress/msgstress02.c | 6 +++--- .../kernel/syscalls/ipc/msgstress/msgstress03.c | 4 ++-- .../kernel/syscalls/ipc/msgstress/msgstress04.c | 6 +++--- testcases/kernel/syscalls/ipc/semctl/semctl06.c | 4 ++-- testcases/kernel/syscalls/kill/kill02.c | 8 ++++---- testcases/kernel/syscalls/kill/kill07.c | 2 +- testcases/kernel/syscalls/kill/kill08.c | 4 ++-- testcases/kernel/syscalls/kill/kill09.c | 2 +- testcases/kernel/syscalls/kill/kill12.c | 2 +- testcases/kernel/syscalls/modify_ldt/modify_ldt02.c | 2 +- testcases/kernel/syscalls/mprotect/mprotect02.c | 4 ++-- testcases/kernel/syscalls/mprotect/mprotect03.c | 2 +- testcases/kernel/syscalls/pause/pause02.c | 2 +- testcases/kernel/syscalls/pause/pause03.c | 2 +- testcases/kernel/syscalls/pipe/pipe04.c | 4 ++-- testcases/kernel/syscalls/pipe/pipe09.c | 4 ++-- testcases/kernel/syscalls/recv/recv01.c | 2 +- testcases/kernel/syscalls/recvfrom/recvfrom01.c | 2 +- testcases/kernel/syscalls/rename/rename14.c | 4 ++-- testcases/kernel/syscalls/send/send01.c | 2 +- testcases/kernel/syscalls/sendmsg/sendmsg01.c | 2 +- testcases/kernel/syscalls/sendto/sendto01.c | 2 +- testcases/kernel/syscalls/setfsuid/setfsuid04.c | 4 ++-- testcases/kernel/syscalls/setpgid/setpgid01.c | 2 +- testcases/kernel/syscalls/setpgrp/setpgrp01.c | 2 +- testcases/kernel/syscalls/setrlimit/setrlimit01.c | 6 +++--- testcases/kernel/syscalls/setsid/setsid01.c | 6 +++--- testcases/kernel/syscalls/sigrelse/sigrelse01.c | 2 +- 45 files changed, 66 insertions(+), 86 deletions(-)