Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1322685
| From | Andy Lutomirski <luto@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] x86/syscalls/64: Mark sys_iopl as using ptregs |
| Date | 2016-01-31 18:40 +0100 |
| Message-ID | <qX48F-6C6-3@gated-at.bofh.it> (permalink) |
| References | <qX48F-6C6-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
sys_iopl both reads and writes pt_regs->flags. Mark it as using ptregs. This isn't strictly necessary, as pt_regs->flags is available even in the fast path, but this is very lightweight now that we have syscall qualifiers and it could avoid some pain down the road. Signed-off-by: Andy Lutomirski <luto@kernel.org> --- arch/x86/entry/syscalls/syscall_64.tbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl index dcf107ce2cd4..2e5b565adacc 100644 --- a/arch/x86/entry/syscalls/syscall_64.tbl +++ b/arch/x86/entry/syscalls/syscall_64.tbl @@ -178,7 +178,7 @@ 169 common reboot sys_reboot 170 common sethostname sys_sethostname 171 common setdomainname sys_setdomainname -172 common iopl sys_iopl +172 common iopl sys_iopl/ptregs 173 common ioperm sys_ioperm 174 64 create_module 175 common init_module sys_init_module -- 2.5.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 3/3] x86/syscalls/64: Mark sys_iopl as using ptregs Andy Lutomirski <luto@kernel.org> - 2016-01-31 18:40 +0100 [tip:x86/asm] x86/syscalls/64: Mark sys_iopl() as using ptregs tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-02-01 09:10 +0100
csiph-web