Home
last modified time | relevance | path

Searched refs:modify_ldt (Results 1 - 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/modify_ldt/
H A Dmodify_ldt01.c25 * Testcase to check the error conditions for modify_ldt(2)
28 * modify_ldt()
32 * Invoke modify_ldt() with a func value which is neither
63 extern int modify_ldt(int, void *, unsigned long);
115 retval = modify_ldt(func, ptr, sizeof(ptr)); in main()
118 tst_resm(TFAIL, "modify_ldt() set invalid " in main()
123 "modify_ldt() set expected errno"); in main()
126 tst_resm(TFAIL, "modify_ldt error: " in main()
137 retval = modify_ldt(1, ptr, sizeof(ptr)); in main()
140 tst_resm(TFAIL, "modify_ldt() se in main()
[all...]
H A Dmodify_ldt03.c18 * Basic test for modify_ldt(2) using func=0 argument.
32 extern int modify_ldt(int, void *, unsigned long);
62 TEST(modify_ldt(0, buf, SIZE)); in main()
66 "modify_ldt() failed with errno: %s", in main()
69 tst_resm(TPASS, "modify_ldt() tested success"); in main()
93 NULL, "modify_ldt is available but not tested on the platform than " in main()
H A Dmodify_ldt02.c25 * Testcase to check the error conditions for modify_ldt(2)
57 extern int modify_ldt(int, void *, unsigned long);
158 return modify_ldt(1, &entry, sizeof(entry)); in create_segment()
188 "modify_ldt is available but not tested on the platform than __i386__"); in main()
/third_party/ltp/testcases/kernel/syscalls/fork/
H A Dfork05.c134 static void modify_ldt(int func, struct modify_ldt_ldt_s *ptr, int bytecount) in modify_ldt() function
157 modify_ldt(1, &ldt0, sizeof(ldt0)); in main()

Completed in 2 milliseconds