* print_timex.c (struct_timex, print_timex): Remove.
* time.c (SYS_FUNC(adjtimex), SYS_FUNC(clock_adjtime)): Remove.
* linux/alpha/syscallent.h [303]: Replace SEN(adjtimex)
with SEN(adjtimex32).
[366]: Replace SEN(adjtimex) with SEN(adjtimex64).
[499]: Replace SEN(clock_adjtime) with SEN(clock_adjtime64).
* linux/32/syscallent.h: Replace SEN(adjtimex) and SEN(clock_adjtime)
with SEN(adjtimex32) and SEN(clock_adjtime32), respectively.
* linux/arm/syscallent.h: Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/64/syscallent.h: Replace SEN(adjtimex) and SEN(clock_adjtime)
with SEN(adjtimex64) and SEN(clock_adjtime64), respectively.
* linux/alpha/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* tests/adjtimex.c: Include <stddef.h>.
(main): Print struct timex.tai unconditionally.
[168] = { 3, 0, SEN(getcpu), "getcpu" },
[169] = { 2, 0, SEN(gettimeofday), "gettimeofday" },
[170] = { 2, 0, SEN(settimeofday), "settimeofday" },
-[171] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[171] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[172] = { 0, PU|NF, SEN(getpid), "getpid" },
[173] = { 0, PU|NF, SEN(getppid), "getppid" },
[174] = { 0, PU|NF, SEN(getuid), "getuid" },
[263] = { 6, TD|TF, SEN(fanotify_mark), "fanotify_mark" },
[264] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[265] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[266] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[266] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[267] = { 1, TD, SEN(syncfs), "syncfs" },
[268] = { 2, TD, SEN(setns), "setns" },
[269] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[168] = { 3, 0, SEN(getcpu), "getcpu" },
[169] = { 2, 0, SEN(gettimeofday), "gettimeofday" },
[170] = { 2, 0, SEN(settimeofday), "settimeofday" },
-[171] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[171] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[172] = { 0, PU|NF, SEN(getpid), "getpid" },
[173] = { 0, PU|NF, SEN(getppid), "getppid" },
[174] = { 0, PU|NF, SEN(getuid), "getuid" },
[263] = { 5, TD|TF, SEN(fanotify_mark), "fanotify_mark" },
[264] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[265] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[266] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[266] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime" },
[267] = { 1, TD, SEN(syncfs), "syncfs" },
[268] = { 2, TD, SEN(setns), "setns" },
[269] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[300] = { 2, 0, SEN(bdflush), "bdflush" },
[301] = { 1, 0, SEN(printargs), "sethae" },
[302] = { 5, TF, SEN(mount), "mount" },
-[303] = { 1, 0, SEN(adjtimex), "old_adjtimex" },
+[303] = { 1, 0, SEN(adjtimex32), "old_adjtimex" },
[304] = { 1, TF, SEN(swapoff), "swapoff" },
[305] = { 3, TD, SEN(getdents), "getdents" },
[306] = { 2, 0, SEN(create_module), "create_module" }, /* not implemented */
[363] = { 2, TF, SEN(utimes), "utimes" },
[364] = { 2, 0, SEN(getrusage), "getrusage" },
[365] = { 4, TP, SEN(wait4), "wait4" },
-[366] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[366] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[367] = { 2, TF, SEN(getcwd), "getcwd" },
[368] = { 2, 0, SEN(capget), "capget" },
[369] = { 2, 0, SEN(capset), "capset" },
[496] = { 4, 0, SEN(prlimit64), "prlimit64" },
[497] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[498] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[499] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[499] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime" },
[500] = { 1, TD, SEN(syncfs), "syncfs" },
[501] = { 2, TD, SEN(setns), "setns" },
[502] = { 4, TN, SEN(accept4), "accept4" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { 3, 0, SEN(modify_ldt), "modify_ldt" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[369] = { 4, 0, SEN(prlimit64), "prlimit64" },
[370] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[371] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[372] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[372] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[373] = { 1, TD, SEN(syncfs), "syncfs" },
[374] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[375] = { 2, TD, SEN(setns), "setns" },
[109] = { 4, TD|TN, SEN(sendfile), "sendfile" },
[110] = { 2, 0, SEN(setdomainname), "setdomainname" },
[111] = { 1, 0, SEN(uname), "uname" },
-[112] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[112] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[113] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[114] = { 0, TP, SEN(vfork), "vfork" },
[115] = { 3, 0, SEN(init_module), "init_module" },
[303] = { 4, 0, SEN(prlimit64), "prlimit64" },
[304] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[305] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[306] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[306] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[307] = { 1, TD, SEN(syncfs), "syncfs" },
[308] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[309] = { 6, 0, SEN(process_vm_readv), "process_vm_readv" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { 3, 0, SEN(modify_ldt), "modify_ldt" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[374] = { 3, 0, SEN(cacheflush), "cacheflush" },
[375] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[376] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[377] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[377] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[378] = { 1, TD, SEN(syncfs), "syncfs" },
[379] = { 2, TD, SEN(setns), "setns" },
[380] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 4, TD|TN, SEN(sendfile), "sendfile" },
[123] = { 6, TN, SEN(recvfrom), "recvfrom" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[321] = { 4, 0, SEN(prlimit64), "prlimit64" },
[322] = { 2, TD, SEN(fanotify_init), "fanotify_init" },
[323] = { 6, TD|TF, SEN(fanotify_mark), "fanotify_mark" },
-[324] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[324] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[325] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[326] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
[327] = { 1, TD, SEN(syncfs), "syncfs" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { 3, 0, SEN(modify_ldt), "modify_ldt" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[340] = { 4, 0, SEN(prlimit64), "prlimit64" },
[341] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[342] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[343] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[343] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[344] = { 1, TD, SEN(syncfs), "syncfs" },
[345] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[346] = { 2, TD, SEN(setns), "setns" },
[1024 + 104] = { 5, TP, SEN(clone), "clone" },
[1024 + 105] = { 2, 0, SEN(setdomainname), "setdomainname" },
[1024 + 106] = { 1, 0, SEN(uname), "uname" },
-[1024 + 107] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[1024 + 107] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[1024 + 108] = { 2, 0, SEN(create_module), "create_module" },
[1024 + 109] = { 3, 0, SEN(init_module), "init_module" },
[1024 + 110] = { 2, 0, SEN(delete_module), "delete_module" },
[1024 + 301] = { 4, 0, SEN(prlimit64), "prlimit64" },
[1024 + 302] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[1024 + 303] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[1024 + 304] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[1024 + 304] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime" },
[1024 + 305] = { 1, TD, SEN(syncfs), "syncfs" },
[1024 + 306] = { 2, TD, SEN(setns), "setns" },
[1024 + 307] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { 4, 0, SEN(cacheflush), "cacheflush" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[339] = { 4, 0, SEN(prlimit64), "prlimit64" },
[340] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[341] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[342] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[342] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[343] = { 1, TD, SEN(syncfs), "syncfs" },
[344] = { 2, TD, SEN(setns), "setns" },
[345] = { 6, 0, SEN(process_vm_readv), "process_vm_readv" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { 3, 0, SEN(modify_ldt), "modify_ldt" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[370] = { 4, 0, SEN(prlimit64), "prlimit64" },
[371] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[372] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[373] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[373] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[374] = { 1, TD, SEN(syncfs), "syncfs" },
[375] = { 2, TD, SEN(setns), "setns" },
[376] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[6151] = { 2, TF, SEN(pivotroot), "pivot_root" },
[6152] = { 1, 0, SEN(sysctl), "_sysctl" },
[6153] = { 5, 0, SEN(prctl), "prctl" },
-[6154] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[6154] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[6155] = { 2, 0, SEN(setrlimit), "setrlimit" },
[6156] = { 1, TF, SEN(chroot), "chroot" },
[6157] = { 0, 0, SEN(sync), "sync" },
[6302] = { 4, 0, SEN(prlimit64), "prlimit64" },
[6303] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[6304] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[6305] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[6305] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[6306] = { 1, TD, SEN(syncfs), "syncfs" },
[6307] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[6308] = { 2, TD, SEN(setns), "setns" },
[5151] = { 2, TF, SEN(pivotroot), "pivot_root" },
[5152] = { 1, 0, SEN(sysctl), "_sysctl" },
[5153] = { 5, 0, SEN(prctl), "prctl" },
-[5154] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[5154] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[5155] = { 2, 0, SEN(setrlimit), "setrlimit" },
[5156] = { 1, TF, SEN(chroot), "chroot" },
[5157] = { 0, 0, SEN(sync), "sync" },
[5297] = { 4, 0, SEN(prlimit64), "prlimit64" },
[5298] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[5299] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[5300] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[5300] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime" },
[5301] = { 1, TD, SEN(syncfs), "syncfs" },
[5302] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[5303] = { 2, TD, SEN(setns), "setns" },
[4121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[4122] = { 1, 0, SEN(uname), "uname" },
[4123] = { 0, 0, SEN(modify_ldt), "modify_ldt" },
-[4124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[4124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[4125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[4126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[4127] = { 2, 0, SEN(create_module), "create_module" },
[4338] = { 4, 0, SEN(prlimit64), "prlimit64" },
[4339] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[4340] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[4341] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[4341] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[4342] = { 1, TD, SEN(syncfs), "syncfs" },
[4343] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[4344] = { 2, TD, SEN(setns), "setns" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { 5, 0, SEN(printargs), "modify_ldt" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[344] = { 4, TN, SEN(accept4), "accept4" },
[345] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[346] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[347] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[347] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[348] = { 1, TD, SEN(syncfs), "syncfs" },
[349] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[350] = { 2, TD, SEN(setns), "setns" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { 5, 0, SEN(printargs), "modify_ldt" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[344] = { 4, TN, SEN(accept4), "accept4" },
[345] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[346] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[347] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[347] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime" },
[348] = { 1, TD, SEN(syncfs), "syncfs" },
[349] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[350] = { 2, TD, SEN(setns), "setns" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[334] = { 4, 0, SEN(prlimit64), "prlimit64" },
[335] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[336] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[337] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[337] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[338] = { 1, TD, SEN(syncfs), "syncfs" },
[339] = { 2, TD, SEN(setns), "setns" },
[340] = { 6, 0, SEN(process_vm_readv), "process_vm_readv" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[334] = { 4, 0, SEN(prlimit64), "prlimit64" },
[335] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[336] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[337] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[337] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime" },
[338] = { 1, TD, SEN(syncfs), "syncfs" },
[339] = { 2, TD, SEN(setns), "setns" },
[340] = { 6, 0, SEN(process_vm_readv), "process_vm_readv" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { 3, 0, SEN(cacheflush), "cacheflush" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[358] = { 4, TN, SEN(accept4), "accept4" },
[359] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[360] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[361] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[361] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[362] = { 1, TD, SEN(syncfs), "syncfs" },
[363] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[364] = { 2, TD, SEN(setns), "setns" },
[121] = { 2, 0, SEN(setdomainname), "setdomainname" },
[122] = { 1, 0, SEN(uname), "uname" },
[123] = { 3, 0, SEN(printargs), "cacheflush" },
-[124] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[124] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[125] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[126] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[127] = { 2, 0, SEN(create_module), "create_module" },
[369] = { 4, 0, SEN(prlimit64), "prlimit64" },
[370] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[371] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[372] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[372] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime" },
[373] = { 1, TD, SEN(syncfs), "syncfs" },
[374] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[375] = { 2, TD, SEN(setns), "setns" },
[216] = { 0, TS, SEN(sigreturn), "sigreturn" },
[217] = { 5, TP, SEN(clone), "clone" },
[218] = { 2, 0, SEN(ioprio_get), "ioprio_get" },
-[219] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[219] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[220] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[221] = { 2, 0, SEN(create_module), "create_module" },
[222] = { 2, 0, SEN(delete_module), "delete_module" },
[331] = { 4, 0, SEN(prlimit64), "prlimit64" },
[332] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[333] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[334] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[334] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[335] = { 1, TD, SEN(syncfs), "syncfs" },
[336] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[337] = { 2, TD, SEN(setns), "setns" },
[216] = { 0, TS, SEN(sigreturn), "sigreturn" },
[217] = { 5, TP, SEN(clone), "clone" },
[218] = { 2, 0, SEN(ioprio_get), "ioprio_get" },
-[219] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[219] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[220] = { 3, TS, SEN(sigprocmask), "sigprocmask" },
[221] = { 2, 0, SEN(create_module), "create_module" },
[222] = { 2, 0, SEN(delete_module), "delete_module" },
[331] = { 4, 0, SEN(prlimit64), "prlimit64" },
[332] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[333] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[334] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[334] = { 2, 0, SEN(clock_sparc64_adjtime), "clock_adjtime" },
[335] = { 1, TD, SEN(syncfs), "syncfs" },
[336] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[337] = { 2, TD, SEN(setns), "setns" },
[156] = { 1, 0, SEN(printargs), "_sysctl#64" },
[157] = { 5, 0, SEN(prctl), "prctl" },
[158] = { 2, TP, SEN(arch_prctl), "arch_prctl" },
-[159] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[159] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[160] = { 2, 0, SEN(setrlimit), "setrlimit" },
[161] = { 1, TF, SEN(chroot), "chroot" },
[162] = { 0, 0, SEN(sync), "sync" },
[302] = { 4, 0, SEN(prlimit64), "prlimit64" },
[303] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[304] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[305] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[305] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime" },
[306] = { 1, TD, SEN(syncfs), "syncfs" },
[307] = { 4, TN, SEN(printargs), "sendmmsg#64" },
[308] = { 2, TD, SEN(setns), "setns" },
[156] = { 1, 0, SEN(sysctl), "_sysctl" },
[157] = { 5, 0, SEN(prctl), "prctl" },
[158] = { 2, TP, SEN(arch_prctl), "arch_prctl" },
-[159] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[159] = { 1, 0, SEN(adjtimex64), "adjtimex" },
[160] = { 2, 0, SEN(setrlimit), "setrlimit" },
[161] = { 1, TF, SEN(chroot), "chroot" },
[162] = { 0, 0, SEN(sync), "sync" },
[302] = { 4, 0, SEN(prlimit64), "prlimit64" },
[303] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[304] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[305] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[305] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime" },
[306] = { 1, TD, SEN(syncfs), "syncfs" },
[307] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[308] = { 2, TD, SEN(setns), "setns" },
[191] = { 6, 0, SEN(futex), "futex" },
[192] = { 2, 0, SEN(gettimeofday), "gettimeofday" },
[193] = { 2, 0, SEN(settimeofday), "settimeofday" },
-[194] = { 1, 0, SEN(adjtimex), "adjtimex" },
+[194] = { 1, 0, SEN(adjtimex32), "adjtimex" },
[195] = { 2, 0, SEN(nanosleep), "nanosleep" },
[196] = { 2, 0, SEN(getgroups), "getgroups" },
[197] = { 2, 0, SEN(setgroups), "setgroups" },
[326] = { 6, TD, SEN(sync_file_range2), "sync_file_range2" },
[327] = { 5, TD, SEN(perf_event_open), "perf_event_open" },
[328] = { 4, TP|TS, SEN(rt_tgsigqueueinfo), "rt_tgsigqueueinfo" },
-[329] = { 2, 0, SEN(clock_adjtime), "clock_adjtime" },
+[329] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
[330] = { 4, 0, SEN(prlimit64), "prlimit64" },
[331] = { 5, 0, SEN(kcmp), "kcmp" },
[332] = { 3, TD, SEN(finit_module), "finit_module" },
*/
#include "defs.h"
-
-#include DEF_MPERS_TYPE(struct_timex)
-
+#include "kernel_timex.h"
#include <sys/timex.h>
-typedef struct timex struct_timex;
-
-#include MPERS_DEFS
#include "xlat/adjtimex_modes.h"
#include "xlat/adjtimex_status.h"
-MPERS_PRINTER_DECL(int, print_timex,
- struct tcb *const tcp, const kernel_ulong_t addr)
-{
- struct_timex tx;
- if (umove_or_printaddr(tcp, addr, &tx))
- return -1;
+#define PRINT_TIMEX print_timex64
+#define TIMEX_T kernel_timex64_t
+#include "print_timex.h"
+#undef TIMEX_T
+#undef PRINT_TIMEX
- tprints("{modes=");
- printflags(adjtimex_modes, tx.modes, "ADJ_???");
- tprintf(", offset=%jd, freq=%jd, maxerror=%ju, esterror=%ju, status=",
- (intmax_t) tx.offset, (intmax_t) tx.freq,
- (uintmax_t) tx.maxerror, (uintmax_t) tx.esterror);
- printflags(adjtimex_status, tx.status, "STA_???");
- tprintf(", constant=%jd, precision=%ju, tolerance=%jd, time=",
- (intmax_t) tx.constant, (uintmax_t) tx.precision,
- (intmax_t) tx.tolerance);
- MPERS_FUNC_NAME(print_struct_timeval)(&tx.time);
- tprintf(", tick=%jd, ppsfreq=%jd, jitter=%jd",
- (intmax_t) tx.tick, (intmax_t) tx.ppsfreq, (intmax_t) tx.jitter);
- tprintf(", shift=%d, stabil=%jd, jitcnt=%jd",
- tx.shift, (intmax_t) tx.stabil, (intmax_t) tx.jitcnt);
- tprintf(", calcnt=%jd, errcnt=%jd, stbcnt=%jd",
- (intmax_t) tx.calcnt, (intmax_t) tx.errcnt, (intmax_t) tx.stbcnt);
-#ifdef HAVE_STRUCT_TIMEX_TAI
- tprintf(", tai=%d", tx.tai);
-#endif
- tprints("}");
- return 0;
-}
+#if HAVE_ARCH_TIME32_SYSCALLS
-#ifndef IN_MPERS
-
-# include "kernel_timex.h"
-
-# define PRINT_TIMEX print_timex64
-# define TIMEX_T kernel_timex64_t
+# define PRINT_TIMEX print_timex32
+# define TIMEX_T kernel_timex32_t
# include "print_timex.h"
# undef TIMEX_T
# undef PRINT_TIMEX
-# if HAVE_ARCH_TIME32_SYSCALLS
-
-# define PRINT_TIMEX print_timex32
-# define TIMEX_T kernel_timex32_t
-# include "print_timex.h"
-# undef TIMEX_T
-# undef PRINT_TIMEX
+#endif /* HAVE_ARCH_TIME32_SYSCALLS */
-# endif /* HAVE_ARCH_TIME32_SYSCALLS */
+#ifdef SPARC64
-# ifdef SPARC64
-
-# define PRINT_TIMEX print_sparc64_timex
-# define TIMEX_T kernel_sparc64_timex_t
-# include "print_timex.h"
-# undef TIMEX_T
-# undef PRINT_TIMEX
-
-# endif /* SPARC64 */
+# define PRINT_TIMEX print_sparc64_timex
+# define TIMEX_T kernel_sparc64_timex_t
+# include "print_timex.h"
+# undef TIMEX_T
+# undef PRINT_TIMEX
-#endif /* !IN_MPERS */
+#endif /* SPARC64 */
*/
#include "tests.h"
+#include <stddef.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
printf(", constant=%jd, precision=%jd"
", tolerance=%jd, time={tv_sec=%lld, tv_usec=%llu}, tick=%jd"
", ppsfreq=%jd, jitter=%jd, shift=%d, stabil=%jd, jitcnt=%jd"
- ", calcnt=%jd, errcnt=%jd, stbcnt=%jd"
-#ifdef HAVE_STRUCT_TIMEX_TAI
- ", tai=%d"
-#endif
+ ", calcnt=%jd, errcnt=%jd, stbcnt=%jd, tai=%d"
"}) = %d (",
(intmax_t) tx->constant,
(intmax_t) tx->precision,
(intmax_t) tx->stbcnt,
#ifdef HAVE_STRUCT_TIMEX_TAI
tx->tai,
+#else
+ *(const int *)((const void *) tx + offsetofend(struct timex, stbcnt)),
#endif
state);
printxval(adjtimex_state, (unsigned int) state, NULL);
return RVAL_STR;
}
-SYS_FUNC(adjtimex)
-{
- if (exiting(tcp))
- return do_adjtimex(tcp, print_timex, tcp->u_arg[0]);
- return 0;
-}
-
#if HAVE_ARCH_TIME32_SYSCALLS
SYS_FUNC(adjtimex32)
{
return 0;
}
-SYS_FUNC(clock_adjtime)
-{
- return do_clock_adjtime(tcp, print_timex);
-}
-
#if HAVE_ARCH_TIME32_SYSCALLS
SYS_FUNC(clock_adjtime32)
{