/third_party/ltp/testcases/kernel/syscalls/adjtimex/ |
H A D | adjtimex02.c | 11 * Tests for adjtimex() error conditions: 36 return adjtimex(value); in libc_adjtimex() 59 int (*adjtimex)(struct timex *value); member 62 { .adjtimex = libc_adjtimex, .desc = "libc adjtimex()"}, 65 { .adjtimex = sys_adjtimex, .desc = "__NR_adjtimex syscall"}, 92 if (tv->adjtimex != libc_adjtimex) { in verify_adjtimex() 100 TST_EXP_FAIL2(tv->adjtimex(bufp), tc[i].exp_err, "adjtimex() error"); in verify_adjtimex() 128 if ((adjtimex(tim_sav in setup() [all...] |
H A D | adjtimex01.c | 22 TEST(adjtimex(buf)); in verify_adjtimex() 24 tst_res(TPASS, "adjtimex() with mode 0x%x ", SET_MODE); in verify_adjtimex() 26 tst_res(TFAIL | TTERRNO, "adjtimex() with mode 0x%x ", in verify_adjtimex() 31 TEST(adjtimex(buf)); in verify_adjtimex() 33 tst_res(TPASS, "adjtimex() with mode 0x%x ", in verify_adjtimex() 37 "adjtimex() with mode 0x%x ", in verify_adjtimex() 47 if ((adjtimex(tim_save)) == -1) { in setup() 49 "adjtimex(): failed to save current params"); in setup()
|
H A D | adjtimex03.c | 6 * Based on testcases/kernel/syscalls/adjtimex/adjtimex01.c 13 * CVE-2018-11508: Test 4-byte kernel data leak via adjtimex. 15 * On calling the adjtimex() function call with invalid mode (let's say 24 * some INVALID mode to the system call adjtimex. Passing an invalid 51 TEST(adjtimex(buf)); in verify_adjtimex() 54 "expecting adjtimex() to fail with EINVAL with mode 0x%x", in verify_adjtimex() 58 "adjtimex(): Unexpeceted error, expecting EINVAL with mode 0x%x", in verify_adjtimex()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | timex.h | 91 int adjtimex(struct timex *); 95 __REDIR(adjtimex, __adjtimex_time64);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | timex.h | 91 int adjtimex(struct timex *); 95 __REDIR(adjtimex, __adjtimex_time64);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | timex.h | 91 int adjtimex(struct timex *); 95 __REDIR(adjtimex, __adjtimex_time64);
|
/third_party/musl/include/sys/ |
H A D | timex.h | 91 int adjtimex(struct timex *); 95 __REDIR(adjtimex, __adjtimex_time64);
|
/third_party/musl/src/linux/ |
H A D | adjtimex.c | 4 int adjtimex(struct timex *tx) in adjtimex() function
|
H A D | adjtime.c | 20 if (adjtimex(&tx) < 0) return -1; in adjtime()
|
/third_party/musl/porting/liteos_a/user/src/linux/ |
H A D | adjtime.c | 20 if (adjtimex(&tx) < 0) return -1; in adjtime()
|
/third_party/ltp/testcases/kernel/syscalls/ |
H A D | Makefile | 24 accept4 adjtimex cma confstr fcntl fmtmsg futex getcontext getcpu \
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | adjtimex.c | 47 int result = adjtimex(&tx); in adjtimex_0100()
|
/third_party/musl/libc-test/src/common/ |
H A D | test.h | 48 #define __adjtimex_time64 adjtimex
|
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/ |
H A D | leapsec01.c | 79 ret = adjtimex(tx); in adjtimex_status() 84 tst_brk(TBROK, "adjtimex status %d not set", status); in adjtimex_status() 86 tst_brk(TBROK | TERRNO, "adjtimex"); in adjtimex_status() 88 tst_res(TINFO, "%s adjtimex: %s", strtime(&now), msgs[ret]); in adjtimex_status() 90 tst_res(TINFO, "%s adjtimex: clock state %d", in adjtimex_status()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/ |
H A D | mod.rs | 760 pub fn adjtimex(buf: *mut ::timex) -> ::c_int; in adjtimex() functions
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
H A D | mod.rs | 1203 pub fn adjtimex(buf: *mut timex) -> ::c_int; in adjtimex() functions
|