Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1373490 > unrolled thread

[PATCH] x86: wire up compat readv2/writev2 syscalls

Started byChristoph Hellwig <hch@lst.de>
First post2016-04-07 17:40 +0200
Last post2016-04-13 13:40 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] x86: wire up compat readv2/writev2 syscalls Christoph Hellwig <hch@lst.de> - 2016-04-07 17:40 +0200
    Re: [PATCH] x86: wire up compat readv2/writev2 syscalls kbuild test robot <lkp@intel.com> - 2016-04-07 18:40 +0200
      [PATCH v2] x86: wire up compat readv2/writev2 syscalls Christoph Hellwig <hch@lst.de> - 2016-04-07 22:50 +0200
        [tip:x86/asm] x86/syscalls: Wire up compat readv2/writev2 syscalls tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2016-04-13 13:40 +0200

#1373490 — [PATCH] x86: wire up compat readv2/writev2 syscalls

FromChristoph Hellwig <hch@lst.de>
Date2016-04-07 17:40 +0200
Subject[PATCH] x86: wire up compat readv2/writev2 syscalls
Message-ID<rlkci-61P-7@gated-at.bofh.it>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: David Smith <dsmith@redhat.com>
Tested-by: David Smith <dsmith@redhat.com>
---
 arch/x86/entry/syscalls/syscall_32.tbl | 4 ++--
 arch/x86/entry/syscalls/syscall_64.tbl | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl
index b30dd81..4cddd17 100644
--- a/arch/x86/entry/syscalls/syscall_32.tbl
+++ b/arch/x86/entry/syscalls/syscall_32.tbl
@@ -384,5 +384,5 @@
 375	i386	membarrier		sys_membarrier
 376	i386	mlock2			sys_mlock2
 377	i386	copy_file_range		sys_copy_file_range
-378	i386	preadv2			sys_preadv2
-379	i386	pwritev2		sys_pwritev2
+378	i386	preadv2			sys_preadv2			compat_sys_preadv2
+379	i386	pwritev2		sys_pwritev2			compat_sys_pwritev2
diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl
index cac6d17..dc3355b 100644
--- a/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/arch/x86/entry/syscalls/syscall_64.tbl
@@ -374,3 +374,5 @@
 543	x32	io_setup		compat_sys_io_setup
 544	x32	io_submit		compat_sys_io_submit
 545	x32	execveat		compat_sys_execveat/ptregs
+534	x32	preadv2			compat_sys_preadv2
+535	x32	pwritev2		compat_sys_pwrite2
-- 
2.1.4

[toc] | [next] | [standalone]


#1373544

Fromkbuild test robot <lkp@intel.com>
Date2016-04-07 18:40 +0200
Message-ID<rll8m-6JT-29@gated-at.bofh.it>
In reply to#1373490

[Multipart message — attachments visible in raw view] — view raw

Hi Christoph,

[auto build test ERROR on v4.6-rc2]
[also build test ERROR on next-20160407]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Christoph-Hellwig/x86-wire-up-compat-readv2-writev2-syscalls/20160407-234047
config: x86_64-acpi-redef (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> arch/x86/built-in.o:(.rodata+0x10b8): undefined reference to `compat_sys_pwrite2'

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[toc] | [prev] | [next] | [standalone]


#1373749 — [PATCH v2] x86: wire up compat readv2/writev2 syscalls

FromChristoph Hellwig <hch@lst.de>
Date2016-04-07 22:50 +0200
Subject[PATCH v2] x86: wire up compat readv2/writev2 syscalls
Message-ID<rlp2j-13g-33@gated-at.bofh.it>
In reply to#1373544
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/x86/entry/syscalls/syscall_32.tbl | 4 ++--
 arch/x86/entry/syscalls/syscall_64.tbl | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl
index b30dd81..4cddd17 100644
--- a/arch/x86/entry/syscalls/syscall_32.tbl
+++ b/arch/x86/entry/syscalls/syscall_32.tbl
@@ -384,5 +384,5 @@
 375	i386	membarrier		sys_membarrier
 376	i386	mlock2			sys_mlock2
 377	i386	copy_file_range		sys_copy_file_range
-378	i386	preadv2			sys_preadv2
-379	i386	pwritev2		sys_pwritev2
+378	i386	preadv2			sys_preadv2			compat_sys_preadv2
+379	i386	pwritev2		sys_pwritev2			compat_sys_pwritev2
diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl
index cac6d17..555263e 100644
--- a/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/arch/x86/entry/syscalls/syscall_64.tbl
@@ -374,3 +374,5 @@
 543	x32	io_setup		compat_sys_io_setup
 544	x32	io_submit		compat_sys_io_submit
 545	x32	execveat		compat_sys_execveat/ptregs
+534	x32	preadv2			compat_sys_preadv2
+535	x32	pwritev2		compat_sys_pwritev2
-- 
2.1.4

[toc] | [prev] | [next] | [standalone]


#1377811 — [tip:x86/asm] x86/syscalls: Wire up compat readv2/writev2 syscalls

Fromtip-bot for Christoph Hellwig <tipbot@zytor.com>
Date2016-04-13 13:40 +0200
Subject[tip:x86/asm] x86/syscalls: Wire up compat readv2/writev2 syscalls
Message-ID<rnrjm-x5-77@gated-at.bofh.it>
In reply to#1373749
Commit-ID:  482dd2ef124484601adea82e5e806e81e2bc5521
Gitweb:     http://git.kernel.org/tip/482dd2ef124484601adea82e5e806e81e2bc5521
Author:     Christoph Hellwig <hch@lst.de>
AuthorDate: Thu, 7 Apr 2016 22:43:59 +0200
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 13 Apr 2016 10:31:26 +0200

x86/syscalls: Wire up compat readv2/writev2 syscalls

Reported-by: David Smith <dsmith@redhat.com>
Tested-by: David Smith <dsmith@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20160407204359.GA3720@lst.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/entry/syscalls/syscall_32.tbl | 4 ++--
 arch/x86/entry/syscalls/syscall_64.tbl | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl
index b30dd81..4cddd17 100644
--- a/arch/x86/entry/syscalls/syscall_32.tbl
+++ b/arch/x86/entry/syscalls/syscall_32.tbl
@@ -384,5 +384,5 @@
 375	i386	membarrier		sys_membarrier
 376	i386	mlock2			sys_mlock2
 377	i386	copy_file_range		sys_copy_file_range
-378	i386	preadv2			sys_preadv2
-379	i386	pwritev2		sys_pwritev2
+378	i386	preadv2			sys_preadv2			compat_sys_preadv2
+379	i386	pwritev2		sys_pwritev2			compat_sys_pwritev2
diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl
index cac6d17..555263e 100644
--- a/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/arch/x86/entry/syscalls/syscall_64.tbl
@@ -374,3 +374,5 @@
 543	x32	io_setup		compat_sys_io_setup
 544	x32	io_submit		compat_sys_io_submit
 545	x32	execveat		compat_sys_execveat/ptregs
+534	x32	preadv2			compat_sys_preadv2
+535	x32	pwritev2		compat_sys_pwritev2

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web