04 Jun, 2015
1 commit
-
The build time generated syscall definitions are entry code related, move
them into the arch/x86/entry/ directory.Cc: Borislav Petkov
Cc: H. Peter Anvin
Cc: Linus Torvalds
Cc: Thomas Gleixner
Cc: Andy Lutomirski
Cc: Denys Vlasenko
Cc: Brian Gerst
Cc: Peter Zijlstra
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar
20 May, 2014
1 commit
-
The new renameat2 syscall provides all the functionality of renameat
with an additional flags argument, so make renameat optional so that
future architectures can omit it without getting a warning.This patch doesn't affect existing architectures.
Signed-off-by: James Hogan
Acked-by: Arnd Bergmann
Signed-off-by: Miklos Szeredi
Cc: linux-arch@vger.kernel.org
25 Sep, 2012
1 commit
-
"echo" doesn't read from stdin, therefore the checksyscalls script didn't
warn about not implemented system calls anymore since 29dc54c6
("checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source").Use "cat" instead of "echo" which handles this correctly.
Signed-off-by: Heiko Carstens
Cc: Michal Marek
Cc: H. Peter Anvin
Cc: Cyrill Gorcunov
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
18 Nov, 2011
1 commit
-
Use the new arch/x86/syscalls/syscall_32.tbl file as source instead of
arch/x86/include/asm/unistd_32.h.Cc: Michal Marek
Cc: Geert Uytterhoeven
Cc: Sam Ravnborg
Signed-off-by: H. Peter Anvin
20 Dec, 2010
1 commit
-
The usage help in the comments
- refers to the wrong script name,
- doesn't mention that $srctree must be set.Hence correct the script name, and derive the source tree path from the script
path, so we no longer need to rely on $srctree being set by the caller.Signed-off-by: Geert Uytterhoeven
Acked-by: Sam Ravnborg
Signed-off-by: Michal Marek
26 Jun, 2010
1 commit
-
The initial pass at the generic ABI assumed that wait4() could be
easily expressed using waitid(). Although it's true that wait4()
can be built on waitid(), it's awkward enough that it makes more
sense to continue to include wait4 in the generic syscall ABI.Since there is already a deprecated wait4 in the ABI, this change
converts that wait4 into old_wait, and puts wait4 in the next
available slot for new supported syscalls, after the platform-specific
syscalls at number 260.Signed-off-by: Chris Metcalf
Acked-by: Arnd Bergmann
12 Jun, 2009
1 commit
-
A new architecture should only define a minimal set of system
calls while still providing the full functionality. This version
of unistd.h has gone through intensive review to make sure that
by default it only enables syscalls that do not already have
a more featureful replacement.It is modeled after the x86-64 version of unistd.h, which unifies
the syscall number definition and the actual system call table
in a single file, in order to keep them synchronized much more
easily.This first version still keeps legacy system call definitions
around, guarded by various #ifdefs, and with numbers larger
than 1024. The idea behind this is to make it easier for
new architectures to transition from a full list to the reduced
set. In particular, the new microblaze architecture that should
migrate to using the generic ABI headers can at least use an
existing uClibc source tree without major rewrites during the
conversion.Signed-off-by: Arnd Bergmann
30 Oct, 2008
1 commit
-
Make the checksyscalls script work even on systems where sed is non-gnu.
Signed-off-by: Andrew Morton
Signed-off-by: Sam Ravnborg
23 Oct, 2008
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: H. Peter Anvin
11 Oct, 2007
1 commit
-
Move the headers to include/asm-x86 and fixup the
header install make rulesSigned-off-by: Thomas Gleixner
Signed-off-by: Ingo Molnar
29 Jun, 2007
1 commit
-
Not all the world is an i386. Many architectures need 64-bit arguments to be
aligned in suitable pairs of registers, and the original
sys_sync_file_range(int, loff_t, loff_t, int) was therefore wasting an
argument register for padding after the first integer. Since we don't
normally have more than 6 arguments for system calls, that left no room for
the final argument on some architectures.Fix this by introducing sys_sync_file_range2(int, int, loff_t, loff_t) which
all fits nicely. In fact, ARM already had that, but called it
sys_arm_sync_file_range. Move it to fs/sync.c and rename it, then implement
the needed compatibility routine. And stop the missing syscall check from
bitching about the absence of sys_sync_file_range() if we've implemented
sys_sync_file_range2() instead.Tested on PPC32 and with 32-bit and 64-bit userspace on PPC64.
Signed-off-by: David Woodhouse
Acked-by: Russell King
Cc: Arnd Bergmann
Cc: Paul Mackerras
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
03 May, 2007
1 commit
-
Most system calls seems to get added to i386 first. This patch
automatically generates a warning for any new system call which is
implemented on i386 but not the architecture currently being compiled.
On PowerPC at the moment, for example, it results in these warnings:
init/missing_syscalls.h:935:3: warning: #warning syscall sync_file_range not implemented
init/missing_syscalls.h:947:3: warning: #warning syscall getcpu not implemented
init/missing_syscalls.h:950:3: warning: #warning syscall epoll_pwait not implementedThe file scripts/checksyscalls.sh list a number of legacy system calls
that are ignored because they only makes sense on i386 systems.Other contributors to this patch are Russell King
and Stéphane JourdoisSigned-off-by: David Woodhouse
Signed-off-by: Sam Ravnborg