OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EPERM
(Results
126 - 150
of
540
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
Xform.c
169
retval =
EPERM
;
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
lock.pass.cpp
77
assert(e.code().value() ==
EPERM
);
try_lock_for.pass.cpp
73
assert(e.code().value() ==
EPERM
);
try_lock_until.pass.cpp
73
assert(e.code().value() ==
EPERM
);
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
lock.pass.cpp
63
assert(e.code().value() ==
EPERM
);
try_lock_for.pass.cpp
72
assert(e.code().value() ==
EPERM
);
try_lock_until.pass.cpp
72
assert(e.code().value() ==
EPERM
);
/external/libnl/lib/
error.c
107
case
EPERM
: return NLE_PERM;
/external/ltp/testcases/kernel/syscalls/iopl/
iopl02.c
37
* 2) iopl(2) returns -1 and sets errno to
EPERM
if the current
101
1, "Non super-user",
EPERM
}
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
msgctl05.c
25
* msgctl05 - test for
EPERM
error
33
* issue a PASS message if we get
EPERM
136
case
EPERM
:
/external/ltp/testcases/kernel/syscalls/mount/
mount04.c
17
* Verify that mount(2) returns -1 and sets errno to
EPERM
if the user
49
if (TEST_ERRNO ==
EPERM
)
53
"mount() was expected to fail with
EPERM
");
/external/ltp/testcases/kernel/syscalls/open/
open02.c
24
* privileged,
EPERM
should be returned.
46
{TEST_FILE2, O_RDONLY | O_NOATIME,
EPERM
},
/external/ltp/testcases/kernel/syscalls/reboot/
reboot02.c
100
"Permission denied",
EPERM
, "
EPERM
"}
/external/ltp/testcases/kernel/syscalls/sched_setparam/
sched_setparam05.c
49
* If call failed with errno =
EPERM
,
133
if ((TEST_RETURN == -1) && (TEST_ERRNO ==
EPERM
)) {
149
tst_resm(TPASS, "Test passed, Got
EPERM
");
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/
sched_setscheduler02.c
29
* 1. Call sched_setscheduler as a non-root uid, and expect
EPERM
101
} else if (TEST_ERRNO !=
EPERM
) {
102
tst_resm(TFAIL, "Expected
EPERM
, got %d",
105
tst_resm(TPASS, "got
EPERM
");
/external/ltp/testcases/kernel/syscalls/setgid/
setgid02.c
21
* Testcase to ensure that the setgid() system call sets errno to
EPERM
25
* ltpuser1, and expect to get
EPERM
70
if (TEST_ERRNO !=
EPERM
) {
72
"
EPERM
, got: %d\n", TEST_ERRNO);
74
tst_resm(TPASS, "setgid returned
EPERM
");
/external/ltp/testcases/kernel/syscalls/sethostname/
sethostname03.c
25
* TEST TITLE : test for
EPERM
error value when sethostname(2) is
37
* Verify that, sethostname(2) returns -1 and sets errno to
EPERM
109
if ((TEST_RETURN == -1) && (TEST_ERRNO ==
EPERM
)) {
110
tst_resm(TPASS, "Expected Failure; Got
EPERM
");
/external/ltp/testcases/kernel/syscalls/setpgid/
setpgid02.c
35
* test 3:
EPERM
- Pass an invalid pgid parameter to setpgid
80
/* pgid doesn't exist -
EPERM
*/
82
&zero_pid, &inval_pid,
EPERM
}
/external/ltp/testcases/kernel/syscalls/setreuid/
setreuid06.c
22
* Test that
EPERM
is set when setreuid is given an invalid user id.
63
} else if (TEST_ERRNO ==
EPERM
) {
64
tst_resm(TPASS, "setreuid set errno to
EPERM
as "
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/errno_h/
4-1.c
96
EPERM
, "
EPERM
"}, {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/
3-6.c
65
if (errno ==
EPERM
) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/
1-1.c
73
if (rc ==
EPERM
) {
1-2.c
75
if (rc ==
EPERM
) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/
5-1.c
50
#include <errno.h> /* needed for
EPERM
test */
98
if (ret !=
EPERM
) /* This is a "may" assertion */
100
("Unlocking a not owned recursive mutex did not return
EPERM
\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
4-2.c
11
* [
EPERM
] the current thread doesn't hold the lock on the rwlock
13
* Testing
EPERM
in this test.
113
if (rc ==
EPERM
) {
119
("Test FAILED: Incorrect error code, expected 0 or
EPERM
, got %d\n",
125
("Test PASSED: Note*: Returned 0 instead of
EPERM
, but standard specified _may_ fail.\n");
Completed in 484 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>