summaryrefslogtreecommitdiff
path: root/linux
Commit message (Collapse)AuthorAge
...
* Add support for the TILE architectureChris Metcalf2010-02-05
| | | | | | | | | | | | | | | * configure.ac: Add TILE to the list of supported architectures. * defs.h: Define TCB_WAITEXECVE for TILE. * linux/tile/syscallent.h: New file. * Makefile.am (EXTRA_DIST): Add linux/tile/syscallent.h * process.c (change_syscall, struct_user_offsets): Add TILE support. * syscall.c (get_scno, get_error, syscall_enter): Likewise. * mem.c (mmap_flags, print_mmap): Add MAP_CACHE_xxx TILE extensions support. * signal.c (sigact_flags): Add SA_NOPTRACE. (sys_sigreturn): Add TILE support. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
* Decode fifth argument of mremap syscallDmitry V. Levin2009-12-25
| | | | | * mem.c (sys_mremap): Decode fifth argument. * linux/*/syscallent.h: Update the number of mremap syscall arguments.
* Move i386-specific files out of common linux dirMike Frysinger2009-11-16
| | | | | | | | | | * linux/syscallent.h: Moved to ... * linux/i386/syscallent.h: ... here. * linux/ia64/syscallent.h: Update i386 syscallent.h include. * linux/sparc/gen.pl: Likewise. * linux/x86_64/syscallent1.h: Likewise. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Decode fallocate on PowerPCAndreas Schwab2009-11-04
| | | | * linux/powerpc/syscallent.h: Decode fallocate.
* Correct decoding of readahead and fadvice64(_64) on PowerPCAndreas Schwab2009-11-03
| | | | | | | | | * file.c (sys_readahead): Align 64bit argument. Handle PowerPC64 like other 64bit architectures. (sys_fadvise64): Likewise. (sys_fadvise64_64): Handle PowerPC like ARM. * linux/powerpc/syscallent.h (sys_readahead): Account for 64bit argument alignment on PowerPC32.
* Add sys_nanosleep() prototype for sparcMike Frysinger2009-10-07
| | | | | | | * linux/sparc/syscall.h (sys_nanosleep): New prototype. Reported by Frederik Schüler. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: Update ioctl/syscall listsMike Frysinger2009-10-07
| | | | | | | * linux/bfin/ioctlent.h: Sync list with latest kernel sources. * linux/bfin/syscallent.h: Likewise. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ioctlsort: Check ppc hosts tooMike Frysinger2009-10-07
| | | | | | * linux/ioctlsort.c: Check for __powerpc__. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix build on ia64Andreas Schwab2009-10-07
| | | | | * linux/ia64/syscallent.h: Update for addition of accept4 syscall in ../syscallent.h.
* * linux/hppa/syscallent.h: Update syscalls.Carlos O'Donell2009-10-05
| | | | Based on work by Kyle McMartin and Helge Deller.
* Mark shell scripts as executableMike Frysinger2009-09-18
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* linux/errno: Add ERFKILLMike Frysinger2009-09-18
| | | | | | | * linux/errnoent.h: Change ERRNO_132 to ERFKILL according to errno 132 definition introduced in Linux 2.6.31. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add accept4 socketcallPaolo Bonzini2009-09-01
| | | | | | | | | | | | | | | | | | | | | This second patch in the series adds support for accept4 as a socketcall sub-call. Besides the need to renumber all system calls, this poses no problem. Tested on i686. * linux/arm/syscallent.h: Add accept4 socketcall. * linux/m68k/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/syscallent.h: Likewise. * linux/sparc/syscall.h (SYS_sub_accept4): Declare. (SYS_socket_nsubcalls): Update. * linux/syscall.h: Likewise.
* Replace x86-64 paccept with accept4Paolo Bonzini2009-09-01
| | | | | | | | | | | | This patch changes the paccept syscall to accept4 for x86-64, since the former was dropped in Linux kernel commit v2.6.27-rc7-14-g2d4c826. At the same time, it adds support for pretty printing its arguments. * linux/x86_64/syscallent.h: Replace paccept with accept4, hook in sys_accept4. * net.c (sys_accept): Leave a small stub calling the new... (do_accept): ... function, which also adds a flags_arg argument. (sys_accept4): New.
* Cleanup trailing whitespaces and indentation that uses spaces before tabsDmitry V. Levin2009-07-08
| | | | | | | Correct spacing to fix warnings reported by git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
* AVR32 support by Hans-Christian EgtvedtDenys Vlasenko2009-02-27
| | | | | | | | | | | | | (hans-christian.egtvedt AT atmel.com). * configure.ac: Make it recognize avr32. * defs.h: Define LINUX_AVR32. * linux/avr32/syscallent.h: New file. * Makefile.am: Reference linux/avr32/syscallent.h. * proc.c (change_syscall, setarg): Add support for avr32. (struct xlat struct_user_offsets[]): Ditto. * syscall.c (get_scno): Ditto. (get_error, force_result, syscall_enter): Ditto. * util.c (getpc, printcall): Ditto.
* linux/ioctlent.sh: update by Mike Frysinger (now collects enums too)Denys Vlasenko2009-02-23
|
* s/sort | uniq/sort -u/Denys Vlasenko2009-02-22
|
* Further signalent.h cleanup.Denys Vlasenko2009-02-20
| | | | | | | | | | * linux/ia64/signalent.h: Remove, it is identical to common signalent.h sans "SIGRTnn" definitions which are redundant. * linux/powerpc/signalent.h: Remove, it is identical to common signalent.h sans outdated "SIGUNUSED" which should be "SIGSYS". * linux/s390/signalent.h: Ditto. * linux/s390x/signalent.h: Ditto. * Makefile.am: Remove references to the above files.
* Patch by Mike Frysinger (vapier AT gentoo.org).Denys Vlasenko2009-02-20
| | | | | * linux/ioctlent.sh: Update sed machinery to parse _IOC() macros with two constants.
* Patch by Mike Frysinger (vapier AT gentoo.org).Denys Vlasenko2009-02-20
| | | | | * Makefile.am: Remove reference to linux/sh/signalent.h. * linux/sh/signalent.h: Remove, it is identical to common signalent.h.
* Patch by Mike Frysinger (vapier AT gentoo.org).Denys Vlasenko2009-02-20
| | | | | | * linux/errnoent.h: Make ERRNO_58 show EDEADLOCK for POWERPC. * Makefile.am: Remove reference to linux/powerpc/errnoent.h. * linux/powerpc/errnoent.h: Remove, we can use common errnoent.h now.
* Patch by Mike Frysinger (vapier AT gentoo.org).Denys Vlasenko2009-02-20
| | | | | | | | | | Removing redundant errnoent.h files. * Makefile.am: Remove references to linux/ia64/errnoent.h, linux/s390/errnoent.h, linux/s390x/errnoent.h and linux/sh/errnoent.h. * linux/ia64/errnoent.h: Remove, this arch uses common errnoent.h. * linux/s390/errnoent.h: Ditto. * linux/s390x/errnoent.h: Ditto. * linux/sh/errnoent.h: Ditto.
* * linux/bfin/syscallent.h: sys_futex has 6 parameters, not 5.Denys Vlasenko2009-01-14
|
* trailing whitespace removal, no code changesDenys Vlasenko2009-01-02
|
* 2008-11-13 Kirill A. Shutemov <kirill@shutemov.name>Dmitry V. Levin2009-01-01
| | | | | * linux/arm/syscallent.h: Update syscalls. Based on patch by Enrico Scholz.
* 2008-11-13 Kirill A. Shutemov <kirill@shutemov.name>Dmitry V. Levin2009-01-01
| | | | | * linux/arm/syscallent.h: Fix build on ARM EABI which does not provide syscalls socketcall and ipc.
* Fixing many instances of broken indentation with spaces instead of tabs.Denys Vlasenko2008-12-30
| | | | No code changes.
* * linux/syscallent.h: Mark sendfile(2) as network syscall.Denys Vlasenko2008-12-29
| | | | * linux/*/syscallent.h: Same, for all architectures.
* 2008-10-23 Dmitry V. Levin <ldv@altlinux.org>Dmitry V. Levin2008-11-10
| | | | | | | | | | | | | | | | | | Implement parsers for new linux syscalls. * desc.c (do_dup2, [LINUX] sys_dup3): New functions. (sys_dup2): Use do_dup2. [LINUX] (sys_epoll_create1): New function. [LINUX] (do_eventfd, sys_eventfd2): New functions. [LINUX] (sys_eventfd): Use do_eventfd. * net.c (do_pipe, [LINUX] sys_pipe2): New functions. (sys_pipe): Use do_pipe. * signal.c [LINUX] (do_signalfd, sys_signalfd4): New functions. [LINUX] (sys_signalfd): Use do_signalfd. * linux/syscall.h: Declare new sys_* functions. * linux/syscallent.h: Hook up signalfd4, eventfd2, epoll_create1, dup3, pipe2, inotify_init1. * linux/x86_64/syscallent.h: Hook up paccept, signalfd4, eventfd2, epoll_create1, dup3, pipe2, inotify_init1.
* 2008-10-23 Mike Frysinger <vapier@gentoo.org>Dmitry V. Levin2008-11-10
| | | | | | | | | | | | | | | | | | | | | | | Port strace to the Blackfin architecture. * configure.ac: Add bfin to supported architectures. * process.c: Skip u_fpvalid/u_fpstate for Blackfin architecture. (change_syscall): Support Blackfin architecture. * syscall.c: Declare r0 for Blackfin architecture. (get_scno): Decode Blackfin syscall number. (syscall_fixup): Extract Blackfin return value. (get_error): Decode Blackfin return value. (force_result): Poke Blackfin return value. (syscall_enter): Extract Blackfin syscall arguments. * defs.h: Define TCB_WAITEXECVE for Blackfin architecture. * linux/syscall.h (sys_sram_alloc): Declare for Blackfin architecture. * system.c (sys_sram_alloc): Decode Blackfin sram_alloc() syscall. * util.c (getpc): Handle PC on Blackfin architecture. (printcall): Likewise. * linux/bfin/ioctlent.h, linux/bfin/syscallent.h: New Blackfin headers. * Makefile.am (EXTRA_DIST): Add linux/bfin/ioctlent.h and linux/bfin/syscallent.h.
* 2008-04-19 Dmitry V. Levin <ldv@altlinux.org>Dmitry V. Levin2008-09-03
| | | | | | | | * syscall.c (is_restart_error): New function. * defs.h (is_restart_error): Declare it. * linux/dummy.h (sys_nanosleep): Uncouple from sys_adjtime(). * time.c (sys_nanosleep): New function, based on is_restart_error().
* 2008-04-19 Dmitry V. Levin <ldv@altlinux.org>Dmitry V. Levin2008-09-03
| | | | | | | | | | | | | * linux/syscallent.h: Use sys_prctl() decoder for "prctl" syscall. * linux/alpha/syscallent.h: Likewise. * linux/arm/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise.
* 2008-09-02 Dmitry V. Levin <ldv@altlinux.org>Dmitry V. Levin2008-09-03
| | | | | | * linux/x86_64/syscallent.h: Fix syscall numbers for "tee" and "sync_file_range". From Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
* 2008-08-24 Roland McGrath <roland@redhat.com>Roland McGrath2008-08-25
| | | | | | * linux/syscall.h (SYS_socket_subcall et al, SYS_ipc_subcall et al): Don't define these if [__ARM_EABI__]. Reported by Johannes Stezenbach <js@sig21.net>.
* 2008-08-24 Roland McGrath <roland@redhat.com>Roland McGrath2008-08-25
| | | | | | | * linux/powerpc/syscallent.h: Handle subpage_prot. * mem.c [LINUX && POWERPC] (sys_subpage_prot): New function. * linux/syscall.h [POWERPC]: Declare it. From Simon Murray <simon@transitive.com>.
* 2008-07-18 Andreas Schwab <schwab@suse.de>Roland McGrath2008-07-22
| | | | * linux/powerpc/syscallent.h: Fix argument count for request_key.
* 2008-07-18 Andreas Schwab <schwab@suse.de>Roland McGrath2008-07-22
| | | | * linux/ia64/syscallent.h: Decode mincore syscall.
* 2008-07-17 Roland McGrath <roland@redhat.com>Roland McGrath2008-07-18
| | | | | | | | | | | | | | | | * linux/syscallent.h: Fix "futex" argument count. * linux/alpha/syscallent.h: Likewise. * linux/arm/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. From Ulrich Drepper <drepper@redhat.com>. Fixes RH#448629.
* 2008-06-29 Dmitry V. Levin <ldv@altlinux.org>Dmitry V. Levin2008-06-29
| | | | | * linux/x86_64/syscallent.h: Remove duplicate syscall entries for #283 and #284.
* 2008-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>Jan Kratochvil2008-06-27
| | | | * linux/syscallent.h: Remove a duplicite syscall stub #326.
* 2008-05-19 Roland McGrath <roland@redhat.com>Roland McGrath2008-05-20
| | | | * linux/x86_64/syscallent.h: Update entries for timerfd_* and fallocate.
* 2008-05-19 Roland McGrath <roland@redhat.com>Roland McGrath2008-05-20
| | | | | | | | | | | | * file.c (sys_fallocate): New function. * linux/syscall.h: Declare it. * linux/syscallent.h: Update entry. From Kyle McMartin <kyle@mcmartin.ca>. * time.c (sys_timerfd_create): New function. (sys_timerfd_settime, sys_timerfd_gettime): New functions. * linux/syscall.h: Declare them. * linux/syscallent.h: Update entries for those syscalls. From Kyle McMartin <kyle@mcmartin.ca>.
* 2008-01-25 Bruna Moreira <bruna.moreira@indt.org>Roland McGrath2008-05-20
| | | | | | | | | | | | | * defs.h [ARM]: Define SUPPORTED_PERSONALITIES to 2. * syscall.c (get_scno) [ARM]: Add support for architecture specific syscalls. * linux/arm/syscallent.h: Update network syscalls list. * linux/arm/syscallent1.h: New file. Add new architecture specific syscalls. * linux/arm/errnoent1.h: New file. * linux/arm/ioctlent1.h: New file. * linux/arm/signalent1.h: New file. Fixes Debian#441000.
* 2008-01-07 Paul Mundt <lethal@linux-sh.org>Roland McGrath2008-05-20
| | | | * linux/sh64/syscallent.h: Update numerous calls, fix others.
* 2007-08-26 Daniel Jacobowitz <dan@codesourcery.com>Roland McGrath2008-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | * defs.h [MIPS]: Include <sgidefs.h>. (MAX_QUALS): Update for MIPS. (LINUX_MIPSO32, LINUX_MIPSN32, LINUX_MIPSN64, LINUX_MIPS64): Define. (struct tcb): Add ext_arg for MIPS N32. (TCB_WAITEXECVE): Define for MIPS. (ALIGN64): Use LINUX_MIPSO32. * file.c (sys_lseek): Use ext_arg for MIPS N32. (sys_readahead, sys_fadvise64_64): Likewise. * io.c (sys_pread64, sys_pwrite64): Likewise. * mem.c (print_mmap): Take OFFSET argument. (sys_old_mmap): Update call to print_mmap. (sys_mmap): Use ext_arg for MIPS N32. * process.c (struct_user_offsets): Add MIPS registers. * signal.c (sys_sigreturn): Handle MIPS N32 and MIPS N64. Correct MIPS O32 call to sprintsigmask. * syscall.c (internal_syscall): Handle MIPS N32. Check for TCB_WAITEXECVE on MIPS. (force_result): Add a comment about MIPS N32. (syscall_enter): Handle MIPS N32 and MIPS N64. * linux/syscall.h (sys_pread64, sys_pwrite64): Declare. * linux/mips/syscallent.h: Include "dummy.h". Handle alternate MIPS ABIs.
* 2008-05-08 David S. Miller <davem@davemloft.net>Roland McGrath2008-05-19
| | | | | | | | | | | | | | | | | | | | * syscall.c (socket_map, sparc_socket_decode): Delete. (trace_syscall): Use common socketcall and ipc subcall support on sparc. * linux/sparc/syscall.h (sys_semtimedop): Declare. (SYS_socket_subcall, SYS_sub_socket, SYS_sub_bind, SYS_sub_connect, SYS_sub_listen, SYS_sub_accept, SYS_sub_getsockname, SYS_sub_getpeername, SYS_sub_socketpair, SYS_sub_send, SYS_sub_recv, SYS_sub_sendto, SYS_sub_recvfrom, SYS_sub_shutdown, SYS_sub_setsockopt, SYS_sub_getsockopt, SYS_sub_sendmsg, SYS_sub_recvmsg, SYS_socket_nsubcalls, SYS_ipc_subcall, SYS_sub_semop, SYS_sub_semget, SYS_sub_semctl, SYS_sub_semtimedop, SYS_sub_msgsnd, SYS_sub_msgrcv, SYS_sub_msgget, SYS_sub_msgctl, SYS_sub_shmat, SYS_sub_shmdt, SYS_sub_shmget, SYS_sub_shmctl, SYS_ipc_nsubcalls): Define * linux/sparc/syscallent.h: Add socketcall and ipc entries.
* 2008-04-19 Dmitry V. Levin <ldv@altlinux.org>Dmitry V. Levin2008-04-19
| | | | | | * linux/errnoent.h: Update errno list based on latest linux/errno.h and asm-generic/errno*.h files. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 2007-11-19 Andreas Schwab <schwab@suse.de>Roland McGrath2007-11-19
| | | | | | | * linux/syscallent.h: Fix argument count for getdents64. * linux/arm/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise.
* 2007-11-19 Andreas Schwab <schwab@suse.de>Roland McGrath2007-11-19
| | | | | * linux/ia64/syscallent.h: Use sys_getdents64. * linux/sh/syscallent.h: Likewise.