]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - kernel/sys.c
[CVE-2009-0029] System call wrappers part 01
[mirror_ubuntu-jammy-kernel.git] / kernel / sys.c
index 763c3c17ded3e6c818283da75dd0865b93858c7a..37165e552331b6fe515714bdba1b26008dafa60f 100644 (file)
@@ -919,7 +919,7 @@ void do_sys_times(struct tms *tms)
        tms->tms_cstime = cputime_to_clock_t(cstime);
 }
 
-asmlinkage long sys_times(struct tms __user * tbuf)
+SYSCALL_DEFINE1(times, struct tms __user *, tbuf)
 {
        if (tbuf) {
                struct tms tmp;