From 5090dde12304196fed36b47a2a33fc2b1df89fbe Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 8 Dec 2015 16:52:06 +0000 Subject: [PATCH] Fix pread64 and pwrite64 syscall entries Change syscall names to match kernel __NR_* constants. * linux/alpha/syscallent.h [349]: Rename "pread" to "pread64". [350]: Rename "pwrite" to "pwrite64". * linux/ia64/syscallent.h [1148]: Rename "pread" to "pread64". [1149]: Rename "pwrite" to "pwrite64". * linux/sh/syscallent.h [180]: Rename "pread" to "pread64". [181]: Rename "pwrite" to "pwrite64". * linux/sh64/syscallent.h: Likewise. * linux/x32/syscallent.h [17]: Rename "pread" to "pread64". [18]: Rename "pwrite" to "pwrite64". * linux/x86_64/syscallent.h: Likewise. --- linux/alpha/syscallent.h | 4 ++-- linux/ia64/syscallent.h | 4 ++-- linux/sh/syscallent.h | 4 ++-- linux/sh64/syscallent.h | 4 ++-- linux/x32/syscallent.h | 4 ++-- linux/x86_64/syscallent.h | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h index e5ecb6a2..6eed8d34 100644 --- a/linux/alpha/syscallent.h +++ b/linux/alpha/syscallent.h @@ -307,8 +307,8 @@ [346] = { 5, 0, SEN(printargs), "pciconfig_write" }, [347] = { 5, 0, SEN(query_module), "query_module" }, [348] = { 5, 0, SEN(prctl), "prctl" }, -[349] = { 4, TD, SEN(pread), "pread" }, -[350] = { 4, TD, SEN(pwrite), "pwrite" }, +[349] = { 4, TD, SEN(pread), "pread64" }, +[350] = { 4, TD, SEN(pwrite), "pwrite64" }, [351] = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, [352] = { 5, TS, SEN(rt_sigaction), "rt_sigaction" }, [353] = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h index 391d31c2..ec7652ce 100644 --- a/linux/ia64/syscallent.h +++ b/linux/ia64/syscallent.h @@ -358,8 +358,8 @@ [1145] = { 2, TD, SEN(flock), "flock" }, [1146] = { 5, TD, SEN(readv), "readv" }, [1147] = { 5, TD, SEN(writev), "writev" }, -[1148] = { 4, TD, SEN(pread), "pread" }, -[1149] = { 4, TD, SEN(pwrite), "pwrite" }, +[1148] = { 4, TD, SEN(pread), "pread64" }, +[1149] = { 4, TD, SEN(pwrite), "pwrite64" }, [1150] = { 1, 0, SEN(printargs), "_sysctl" }, [1151] = { 6, TD|TM|SI, SEN(mmap), "mmap" }, [1152] = { 2, TM|SI, SEN(munmap), "munmap" }, diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h index 768ae23f..e85d435f 100644 --- a/linux/sh/syscallent.h +++ b/linux/sh/syscallent.h @@ -208,8 +208,8 @@ [177] = { 4, TS, SEN(rt_sigtimedwait), "rt_sigtimedwait" }, [178] = { 3, TS, SEN(rt_sigqueueinfo), "rt_sigqueueinfo" }, [179] = { 2, TS, SEN(rt_sigsuspend), "rt_sigsuspend" }, -[180] = { 6, TD, SEN(pread), "pread" }, -[181] = { 6, TD, SEN(pwrite), "pwrite" }, +[180] = { 6, TD, SEN(pread), "pread64" }, +[181] = { 6, TD, SEN(pwrite), "pwrite64" }, [182] = { 3, TF, SEN(chown16), "chown" }, [183] = { 2, TF, SEN(getcwd), "getcwd" }, [184] = { 2, 0, SEN(capget), "capget" }, diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h index 13a236b3..ce70f2fd 100644 --- a/linux/sh64/syscallent.h +++ b/linux/sh64/syscallent.h @@ -206,8 +206,8 @@ [177] = { 4, TS, SEN(rt_sigtimedwait), "rt_sigtimedwait" }, [178] = { 3, TS, SEN(rt_sigqueueinfo), "rt_sigqueueinfo" }, [179] = { 2, TS, SEN(rt_sigsuspend), "rt_sigsuspend" }, -[180] = { 4, TD, SEN(pread), "pread" }, -[181] = { 4, TD, SEN(pwrite), "pwrite" }, +[180] = { 4, TD, SEN(pread), "pread64" }, +[181] = { 4, TD, SEN(pwrite), "pwrite64" }, [182] = { 3, TF, SEN(chown16), "chown" }, [183] = { 2, TF, SEN(getcwd), "getcwd" }, [184] = { 2, 0, SEN(capget), "capget" }, diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index 23613c42..492b4d1e 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -15,8 +15,8 @@ [ 14] = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, [ 15] = { 0, TS, SEN(printargs), "64:rt_sigreturn" }, [ 16] = { 3, TD, SEN(printargs), "64:ioctl" }, -[ 17] = { 4, TD, SEN(pread), "pread" }, -[ 18] = { 4, TD, SEN(pwrite), "pwrite" }, +[ 17] = { 4, TD, SEN(pread), "pread64" }, +[ 18] = { 4, TD, SEN(pwrite), "pwrite64" }, [ 19] = { 3, TD, SEN(printargs), "64:readv" }, [ 20] = { 3, TD, SEN(printargs), "64:writev" }, [ 21] = { 2, TF, SEN(access), "access" }, diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h index 90b46ed9..86846295 100644 --- a/linux/x86_64/syscallent.h +++ b/linux/x86_64/syscallent.h @@ -15,8 +15,8 @@ [ 14] = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, [ 15] = { 0, TS, SEN(sigreturn), "rt_sigreturn" }, [ 16] = { 3, TD, SEN(ioctl), "ioctl" }, -[ 17] = { 4, TD, SEN(pread), "pread" }, -[ 18] = { 4, TD, SEN(pwrite), "pwrite" }, +[ 17] = { 4, TD, SEN(pread), "pread64" }, +[ 18] = { 4, TD, SEN(pwrite), "pwrite64" }, [ 19] = { 3, TD, SEN(readv), "readv" }, [ 20] = { 3, TD, SEN(writev), "writev" }, [ 21] = { 2, TF, SEN(access), "access" }, -- 2.40.0