OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SETGROUPS
(Results
1 - 6
of
6
) sorted by null
/external/ltp/testcases/kernel/syscalls/setgroups/
setgroups01.c
42
* TEST TITLE : Basic test for
setgroups
(2)
62
* 1.)
setgroups
(2) returns...(See Description)
90
* This is a Phase I test for the
setgroups
(2) system call. It is intended
93
*
setgroups
(2).
154
* Call
setgroups
(2)
156
TEST(
SETGROUPS
(cleanup, ngrps, list));
161
"
setgroups
(%d, list) Failed, errno=%d : %s",
165
"
setgroups
(%d, list) returned %ld",
setgroups04.c
24
* Verify that,
setgroups
() fails with -1 and sets errno to EFAULT if the list has an invalid address.
27
*
setgroups
() should fail with return value -1 and set expected errno.
104
* Call
setgroups
() to test condition
108
TEST(
SETGROUPS
(cleanup, gidsetsize, sbrk(0)));
111
tst_resm(TFAIL, "
setgroups
() returned %ld, "
118
"
setgroups
() fails with expected "
121
tst_resm(TFAIL, "
setgroups
() fails, %s, "
setgroups02.c
24
* Verify that, only root process can invoke
setgroups
() system call to
103
* Call
setgroups
() to set supplimentary group IDs of
106
TEST(
SETGROUPS
(cleanup, gidsetsize, groups_list));
109
tst_resm(TFAIL, "
setgroups
(%d, groups_list) Failed, "
117
*
setgroups
(2) successfully set the
128
"Functionality of
setgroups
"
setgroups03.c
25
* 1.
setgroups
() fails with -1 and sets errno to EINVAL if the size
27
* 2.
setgroups
() fails with -1 and sets errno to EPERM if the
31
*
setgroups
() should fail with return value -1 and set expected errno.
136
* Call
setgroups
() to test different test conditions
140
TEST(
SETGROUPS
(cleanup, gidsetsize, groups_list));
143
tst_resm(TFAIL, "
setgroups
(%d) returned %ld, "
151
"
setgroups
(%d) fails, %s, errno=%d",
154
tst_resm(TFAIL, "
setgroups
(%d) fails, %s, "
184
* setup1 - Setup function to test
setgroups
() which returns -1
/external/ltp/testcases/kernel/syscalls/getgroups/
getgroups03.c
144
/*
Setgroups
is called by the login(1) process
146
* testcase will fail. So execute
setgroups
() before executing
149
if (
SETGROUPS
(cleanup, ngroups, groups) == -1)
150
tst_brkm(TBROK | TERRNO, cleanup, "
setgroups
failed");
/external/ltp/testcases/kernel/syscalls/utils/
compat_16.h
75
int
SETGROUPS
(void (cleanup)(void), size_t gidsetsize, GID_T *list)
77
LTP_CREATE_SYSCALL(
setgroups
, cleanup, gidsetsize, list);
Completed in 232 milliseconds