Thread (3 messages) 3 messages, 2 authors, 2014-12-21

Re: [PATCH] powerpc: Wire up sys_execveat() syscall

From: Stephen Rothwell <hidden>
Date: 2014-12-21 09:56:27
Also in: lkml

Hi Pranith,

On Sat, 20 Dec 2014 11:47:18 -0500 Pranith Kumar [off-list ref] wrote:
Wire up sys_execveat(). This passes the selftests for the system call.
Thanks for this, but ...
quoted hunk ↗ jump to hunk
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h
index ce9577d..778844a 100644
--- a/arch/powerpc/include/asm/systbl.h
+++ b/arch/powerpc/include/asm/systbl.h
@@ -366,3 +366,4 @@ SYSCALL_SPU(seccomp)
 SYSCALL_SPU(getrandom)
 SYSCALL_SPU(memfd_create)
 SYSCALL_SPU(bpf)
+SYSCALL_SPU(execveat)
Given that it passes pointers into the kernel and looking at the execve
system call, I assume that it should be COMPAT_SYS().

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

Attachments

  • (unnamed) [application/pgp-signature] 819 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help