Commit Graph

305 Commits

Author SHA1 Message Date
Paolo Bonzini
705ff10c0b Replace x86-64 paccept with accept4
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.
2009-09-01 19:53:29 +00:00
414fe7d4d2 Cleanup trailing whitespaces and indentation that uses spaces before tabs
Correct spacing to fix warnings reported by
git diff --check 4b825dc642 HEAD

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2009-07-08 14:57:27 +00:00
Denys Vlasenko
5ae2b7c601 AVR32 support by Hans-Christian Egtvedt
(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.
2009-02-27 20:32:52 +00:00
Denys Vlasenko
e6d113ff3e linux/ioctlent.sh: update by Mike Frysinger (now collects enums too) 2009-02-23 13:22:06 +00:00
Denys Vlasenko
8a4bdf842e s/sort | uniq/sort -u/ 2009-02-22 03:01:20 +00:00
Denys Vlasenko
f3c9ed48bc Further signalent.h cleanup.
* 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.
2009-02-20 17:38:47 +00:00
Denys Vlasenko
3566e3d5f2 Patch by Mike Frysinger (vapier AT gentoo.org).
* linux/ioctlent.sh: Update sed machinery to parse _IOC() macros
with two constants.
2009-02-20 17:32:34 +00:00
Denys Vlasenko
53560265c6 Patch by Mike Frysinger (vapier AT gentoo.org).
* Makefile.am: Remove reference to linux/sh/signalent.h.
* linux/sh/signalent.h: Remove, it is identical to common signalent.h.
2009-02-20 16:24:39 +00:00
Denys Vlasenko
185cce1373 Patch by Mike Frysinger (vapier AT gentoo.org).
* 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.
2009-02-20 16:00:41 +00:00
Denys Vlasenko
d8df3718ca Patch by Mike Frysinger (vapier AT gentoo.org).
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.
2009-02-20 15:51:51 +00:00
Denys Vlasenko
8aeed47e6a * linux/bfin/syscallent.h: sys_futex has 6 parameters, not 5. 2009-01-14 14:29:45 +00:00
Denys Vlasenko
402eeb6d1f trailing whitespace removal, no code changes 2009-01-02 13:03:44 +00:00
06bfe26236 2008-11-13 Kirill A. Shutemov <kirill@shutemov.name>
* linux/arm/syscallent.h: Update syscalls.
	Based on patch by Enrico Scholz.
2009-01-01 23:23:47 +00:00
465acd2b32 2008-11-13 Kirill A. Shutemov <kirill@shutemov.name>
* linux/arm/syscallent.h: Fix build on ARM EABI which does not
	provide syscalls socketcall and ipc.
2009-01-01 23:20:38 +00:00
Denys Vlasenko
adedb51019 Fixing many instances of broken indentation with spaces instead of tabs.
No code changes.
2008-12-30 18:47:55 +00:00
Denys Vlasenko
24f0dcea02 * linux/syscallent.h: Mark sendfile(2) as network syscall.
* linux/*/syscallent.h: Same, for all architectures.
2008-12-29 20:04:15 +00:00
4371b10b30 2008-10-23 Dmitry V. Levin <ldv@altlinux.org>
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-11-10 22:53:02 +00:00
87ea1f4fe6 2008-10-23 Mike Frysinger <vapier@gentoo.org>
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-11-10 22:21:41 +00:00
2e55ff4562 2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
* 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-09-03 01:02:46 +00:00
86c26be3c8 2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
* 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-03 00:52:47 +00:00
93deafe50b 2008-09-02 Dmitry V. Levin <ldv@altlinux.org>
* 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-09-03 00:45:10 +00:00
Roland McGrath
d94020ffc1 2008-08-24 Roland McGrath <roland@redhat.com>
* 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-25 03:15:43 +00:00
Roland McGrath
4a6f652cb7 2008-08-24 Roland McGrath <roland@redhat.com>
* 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-08-25 03:09:16 +00:00
Roland McGrath
2b95658bdf 2008-07-18 Andreas Schwab <schwab@suse.de>
* linux/powerpc/syscallent.h: Fix argument count for request_key.
2008-07-22 00:22:05 +00:00
Roland McGrath
092f0ebfaf 2008-07-18 Andreas Schwab <schwab@suse.de>
* linux/ia64/syscallent.h: Decode mincore syscall.
2008-07-22 00:22:04 +00:00
Roland McGrath
334baa8cf3 2008-07-17 Roland McGrath <roland@redhat.com>
* 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-07-18 01:23:49 +00:00
3ffd406aef 2008-06-29 Dmitry V. Levin <ldv@altlinux.org>
* linux/x86_64/syscallent.h: Remove duplicate syscall entries
	for #283 and #284.
2008-06-29 22:28:54 +00:00
Jan Kratochvil
0128362ec5 2008-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* linux/syscallent.h: Remove a duplicite syscall stub #326.
2008-06-27 12:12:51 +00:00
Roland McGrath
366c57eae3 2008-05-19 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: Update entries for timerfd_* and fallocate.
2008-05-20 04:56:27 +00:00
Roland McGrath
30713bebba 2008-05-19 Roland McGrath <roland@redhat.com>
* 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-05-20 04:56:22 +00:00
Roland McGrath
5670331bf1 2008-01-25 Bruna Moreira <bruna.moreira@indt.org>
* 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-05-20 01:35:55 +00:00
Roland McGrath
ed26d2a70c 2008-01-07 Paul Mundt <lethal@linux-sh.org>
* linux/sh64/syscallent.h: Update numerous calls, fix others.
2008-05-20 01:25:52 +00:00
Roland McGrath
542c2c6fe2 2007-08-26 Daniel Jacobowitz <dan@codesourcery.com>
* 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-20 01:11:56 +00:00
Roland McGrath
5e48c54ddf 2008-05-08 David S. Miller <davem@davemloft.net>
* 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-05-19 23:50:24 +00:00
99af25c8b3 2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
* 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>
2008-04-19 19:07:23 +00:00
Roland McGrath
0bf8732210 2007-11-19 Andreas Schwab <schwab@suse.de>
* 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 22:10:24 +00:00
Roland McGrath
f59eaf4adc 2007-11-19 Andreas Schwab <schwab@suse.de>
* linux/ia64/syscallent.h: Use sys_getdents64.
	* linux/sh/syscallent.h: Likewise.
2007-11-19 22:10:21 +00:00
Roland McGrath
529574fe14 2007-11-01 Roland McGrath <roland@redhat.com>
* linux/mips/syscallent.h: Fix argument count for fadvise64_64.
	From Paul Mundt <lethal@linux-sh.org>.
2007-11-01 21:57:04 +00:00
Roland McGrath
1c502ad03a 2007-11-01 Roland McGrath <roland@redhat.com>
* linux/mips/syscallent.h: Fix argument count for lookup_dcookie.
	From Paul Mundt <lethal@linux-sh.org>.
2007-11-01 21:55:56 +00:00
Roland McGrath
fb78ef7166 2007-11-01 Roland McGrath <roland@redhat.com>
* linux/sh64/syscallent.h: Fix SYS_socket_subcall check.
	From Paul Mundt <lethal@linux-sh.org>.
2007-11-01 21:54:13 +00:00
Roland McGrath
6eaa9e8f26 2007-11-01 Roland McGrath <roland@redhat.com>
* linux/sh/syscallent.h: Update numerous calls.
	From Paul Mundt <lethal@linux-sh.org>.
2007-11-01 21:54:11 +00:00
Roland McGrath
315113e47b 2007-09-11 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Fix getegid32 entry.
	From Jakub Bogusz <qboosh@pld-linux.org>.
2007-09-12 01:26:33 +00:00
Roland McGrath
e9052fd332 2007-09-11 Roland McGrath <roland@redhat.com>
* linux/alpha/syscallent.h: Correct entries for madvise, setresgid,
	getresgid, pivot_root, mincore, pciconfig_iobase, getdents64.
	From Jakub Bogusz <qboosh@pld-linux.org>.
2007-09-12 01:26:31 +00:00
Roland McGrath
c2f7351fcd 2007-09-11 Roland McGrath <roland@redhat.com>
* linux/sparc/syscall.h: Add missing decls.
	* linux/sparc/syscallent.h: Correct entries for setgroups32,
	getgroups32, sys_getdents64.
	From Jakub Bogusz <qboosh@pld-linux.org>.
2007-09-12 01:26:24 +00:00
Roland McGrath
d5e86ce02b 2007-08-01 Roland McGrath <roland@redhat.com>
* linux/sparc64/syscallent.h: Just #include the sparc file.
	* linux/sparc64/syscallent1.h: Likewise.
	* linux/sparc64/syscallent2.h: Likewise.
2007-08-02 01:47:08 +00:00
Roland McGrath
245745cf07 2007-08-01 Roland McGrath <roland@redhat.com>
* linux/arm/syscallent.h: Add entry for getcpu.
	* linux/hppa/syscallent.h: Likewise.
	* linux/ia64/syscallent.h: Likewise.
	* linux/mips/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/sparc64/syscallent.h: Likewise.
2007-08-02 01:44:14 +00:00
Roland McGrath
db8319f2fa 2007-07-23 Ulrich Drepper <drepper@redhat.com>
* process.c (sys_getcpu): New function.
	* linux/syscall.h: Declare sys_getcpu.
	* linux/syscallent.h: Add entry for getcpu.
2007-08-02 01:37:55 +00:00
Roland McGrath
e6a00aff77 2007-08-01 Roland McGrath <roland@redhat.com>
* linux/arm/syscallent.h: Add entry for eventfd.
	* linux/ia64/syscallent.h: Likewise.
	* linux/mips/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/sparc64/syscallent.h: Likewise.
2007-08-02 01:37:01 +00:00
Roland McGrath
e7c3967019 2007-07-23 Ulrich Drepper <drepper@redhat.com>
* desc.c (sys_eventfd): New function.
	* linux/syscall.h: Declare sys_eventfd.
	* linux/syscallent.h: Add entry for eventfd.
	* linux/x86_64/syscallent.h: Likewise.
2007-08-02 01:32:17 +00:00
Roland McGrath
827461aeed 2007-08-01 Roland McGrath <roland@redhat.com>
* linux/arm/syscallent.h: Add entry for timerfd.
	* linux/ia64/syscallent.h: Likewise.
	* linux/mips/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/sparc64/syscallent.h: Likewise.
2007-08-02 01:31:14 +00:00
Roland McGrath
e466234035 2007-02-23 Ulrich Drepper <drepper@redhat.com>
* time.c (printitv_bitness): Add missing braces to enclose
	conditional code.
	(TDF_TIMER_ABSTIME): Define if not already.
	(timerfdflags): New variable.
	(sys_timerfd): New function.
	* linux/syscall.h: Declare sys_timerfd.
	* linux/syscallent.h: Add timerfd entry.
	* linux/x86_64/syscallent.h: Likewise.
2007-08-02 01:25:34 +00:00
Roland McGrath
a826df6ce6 2007-08-01 Roland McGrath <roland@redhat.com>
* linux/sparc/syscallent.h: Add entry for signalfd.
	* linux/sparc64/syscallent.h: Likewise.
	* linux/sh64/syscallent.h: Likewise.
	* linux/sh/syscallent.h: Likewise.
	* linux/s390x/syscallent.h: Likewise.
	* linux/s390/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* linux/mips/syscallent.h: Likewise.
	* linux/ia64/syscallent.h: Likewise.
	* linux/arm/syscallent.h: Likewise.
2007-08-02 01:23:38 +00:00
Roland McGrath
6f91dcfa33 2007-08-01 Roland McGrath <roland@redhat.com>
* linux/sparc/syscallent.h: Add entry for signalfd.
	* linux/sparc64/syscallent.h: Likewise.
	* linux/sh64/syscallent.h: Likewise.
	* linux/s390x/syscallent.h: Likewise.
	* linux/s390/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* linux/mips/syscallent.h: Likewise.
	* linux/ia64/syscallent.h: Likewise.
	* linux/arm/syscallent.h: Likewise.
2007-08-02 01:23:00 +00:00
Roland McGrath
f46ccd32cf 2007-07-23 Ulrich Drepper <drepper@redhat.com>
* linux/syscall.h: Declare sys_signalfd.
	* linux/syscallent.h: Add entry for signalfd.
	* linux/x86_64/syscallent.h: Likewise.
	* signal.c (sys_signalfd): New function.
2007-08-02 01:15:59 +00:00
Roland McGrath
419cd38805 2007-08-01 Roland McGrath <roland@redhat.com>
* linux/hppa/syscallent.h: Add entry for epoll_pwait.
	* linux/ia64/syscallent.h: Likewise.
	* linux/mips/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/sparc64/syscallent.h: Likewise.
2007-08-02 01:13:33 +00:00
Roland McGrath
f240005701 2007-07-23 Ulrich Drepper <drepper@redhat.com>
* desc.c (sys_epoll_wait): Move body of function to ...
	(epoll_wait_common): ...here.  New function.
	(sys_epoll_pwait): New function.
	* linux/syscall.h: Declare sys_epoll_pwait.
	* linux/syscallent.h: Add entry for epoll_pwait.
	* linux/x86_64/syscallent.h: Likewise.
2007-08-02 01:13:26 +00:00
Roland McGrath
6afc5659ac 2007-07-23 Ulrich Drepper <drepper@redhat.com>
* defs.h: Add new parameter to printtv_bitness prototype.
	(printttv): Pass zero for the new parameter.
	(printtv_special): New macro.
	* desc.c (decode_select): Pass zero for the new parameter of
	printtv_bitness.
	* file.c (utimensatflags): New macro.
	(sys_osf_utimes): Pass zero for the new parameter of
	printtv_bitness.
	(sys_utimes): Likewise.
	(sys_futimesat): Likewise.
	(decode_utimes): Add new parameter.  Pass it to the
	printtv_bitness calls.  Fix printing of time values.
	(sys_utimensat): New function.
	* time.c (UTIME_NOW, UTIME_OMIT): Define if not already
	happened.
	(printtv_bitness): Add new parameter.  Print special UTIME_*
	values as strings if set.
	(sys_osf_gettimeofday): Pass zero for the new parameter of
	printtv_bitness.
	(sys_osf_settimeofday): Likewise.
	* linux/syscall.h: Declare sys_utimensat.
	* linux/syscallent.h: Add utimensat entry.
	* linux/x86_64/syscallent.h: Likewise.
2007-07-24 01:57:11 +00:00
Roland McGrath
0e091a1a3d 2007-07-23 Roland McGrath <roland@redhat.com>
* linux/arm/syscallent.h: Add move_pages.
	* linux/hppa/syscallent.h: Likewise.
	* linux/ia64/syscallent.h: Likewise.
	* linux/m68k/syscallent.h: Likewise.
	* linux/mips/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/sparc64/syscallent.h: Likewise.
2007-07-24 01:53:00 +00:00
Roland McGrath
2c00a4a3cb 2007-07-23 Ulrich Drepper <drepper@redhat.com>
* mem.c (move_pages_flags): New variable.
	(sys_move_pages): New function.
	* linux/syscall.h: Declare sys_move_pages.
	* linux/syscallent.h: Add entry for sys_move_pages.
	* linux/x86_64/syscallent.h: Likewise.
2007-07-24 01:52:58 +00:00
Roland McGrath
7c7c00b193 2007-07-23 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: move_pages takes 6 args, not 5.
	* linux/x86_64/syscallent.h: Likewise.
2007-07-23  Ulrich Drepper  <drepper@redhat.com>

	* mem.c (move_pages_flags): New variable.
	(sys_move_pages): New function.
	* linux/syscall.h: Declare sys_move_pages.
	* linux/syscallent.h: Add entry for sys_move_pages.
	* linux/x86_64/syscallent.h: Likewise.
2007-07-24 01:52:57 +00:00
Roland McGrath
6e2612785d 2007-07-05 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Fix sys_delete_module arg 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/mips/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/sparc64/syscallent.h: Likewise.
	* linux/sparc64/syscallent2.h: Likewise.
	* linux/x86_64/syscallent.h: Likewise.
	* linux/dummy.h (sys_delete_module): Use sys_open.
	From Johannes Stezenbach <js@linuxtv.org>.
2007-07-05 19:28:35 +00:00
Roland McGrath
cc6cbe2a42 2007-03-16 Roland McGrath <roland@redhat.com>
* linux/s390/syscallent.h: Use sys_restart_syscall for 7.
	* linux/s390x/syscallent.h: Likewise.
2007-03-16 21:56:05 +00:00
a694666207 2006-11-20 Jakub Jelinek <jakub@redhat.com>
* linux/ia64/syscallent.h: Add #if check to make sure that
	SYS_socket_subcall adjustment isn't forgotten again.
2006-12-04 13:46:28 +00:00
95ebf5abfc 2006-10-13 Ulrich Drepper <drepper@redhat.com>
Bernhard Kaindl <bk@suse.de>
	    Dmitry V. Levin  <ldv@altlinux.org>
	    Michael Holzheu <holzheu@de.ibm.com>

	Add hooks for new syscalls.  Add decoders for *at, inotify*,
	pselect6, ppoll and unshare syscalls.

	* defs.h: Declare print_sigset.
	* desc.c (sys_pselect6): New function.
	* file.c (decode_open, decode_access, decode_mkdir,
	decode_readlink, decode_chmod, decode_utimes, decode_mknod):
	New functions.
	(sys_open, sys_access, sys_mkdir, sys_readlink, sys_chmod,
	sys_utimes, sys_mknod): Use them.
	[LINUX] (fstatatflags, unlinkatflags, inotify_modes): New
	variables.
	[LINUX] (print_dirfd, sys_openat, sys_faccessat,
	sys_newfstatat, sys_mkdirat, sys_linkat, sys_unlinkat,
	sys_symlinkat, sys_readlinkat, sys_renameat, sys_fchownat,
	sys_fchmodat, sys_futimesat, sys_mknodat, sys_inotify_add_watch,
	sys_inotify_rm_watch): New functions.
	* process.c [LINUX] (sys_unshare): New function.
	* signal.c (print_sigset): New function.
	(sys_sigprocmask): Use it.
	* stream.c (decode_poll): New function.
	(sys_poll): Use it.
	[LINUX] (sys_ppoll): New function.
	* linux/syscall.h: Delcare new syscall handlers.
	* linux/syscallent.h: Hook up new syscalls.
	* linux/alpha/syscallent.h: Likewise.
	* linux/hppa/syscallent.h: Likewise.
	* linux/ia64/syscallent.h: Likewise.
	* linux/mips/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* linux/s390/syscallent.h: Likewise.
	* linux/s390x/syscallent.h: Likewise.
	* linux/sparc/syscallent.h: Likewise.
	* linux/sparc64/syscallent.h: Likewise.
	* linux/x86_64/syscallent.h: Likewise.
	Fixes RH#178633.
2006-10-13 20:25:12 +00:00
Roland McGrath
1eecc38560 2006-08-21 Roland McGrath <roland@redhat.com>
* linux/syscall.h (SYS_socket_subcall): Bump to 400.
	* linux/syscallent.h: Update table.
	* linux/arm/syscallent.h: Likewise.
	* linux/m68k/syscallent.h: Likewise.
	* linux/s390/syscallent.h: Likewise.
	* linux/s390x/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* linux/sh/syscallent.h: Likewise.
	* linux/sh64/syscallent.h: Likewise.
	Fixes RH#202620.
2006-08-22 06:17:33 +00:00
Roland McGrath
feb8381390 2006-08-21 Roland McGrath <roland@redhat.com>
* linux/syscall.h (SYS_socket_subcall): Bump to 400.
	* linux/syscallent.h: Update table.
	* linux/arm/syscallent.h: Likewise.
	* linux/m68k/syscallent.h: Likewise.
	* linux/s390/syscallent.h: Likewise.
	* linux/s390x/syscallent.h: Likewise.
	Fixes RH#202620.
2006-08-22 06:06:12 +00:00
Roland McGrath
4582127fea 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
* linux/arm/syscallent.h: Correct the name of exit.  Remove
	M68K conditionals and sys_security.  Correct syscalls 243-282.
	Fixes Debian#360154.
2006-04-25 07:39:34 +00:00
Roland McGrath
6827f0c223 2006-04-25 Roland McGrath <roland@redhat.com>
* linux/mips/Makefile.in: File removed, unused cruft.
	* linux/sparc/Makefile.in: Likewise.
2006-04-25 07:33:19 +00:00
Roland McGrath
a079d9f95a 2006-04-25 Roland McGrath <roland@redhat.com>
* ipc.c (sys_semtimedop): Fixed inverted indirect_ipccall test.
	* linux/hppa/syscallent.h: Fixed semtimedop entry.
	From Mike Stroyan <mike.stroyan@hp.com>.
	Fixes Debian#340239.
2006-04-25 07:22:01 +00:00
Roland McGrath
79dcd7aa9c 2006-01-12 Roland McGrath <roland@redhat.com>
* signal.c [LINUX] (sys_restart_syscall): New function.
	* linux/syscall.h: Declare sys_restart_syscall.
	* linux/sparc/syscall.h: Likewise.
	* linux/syscallent.h: Call 0 is restart_syscall.
	* linux/arm/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* linux/m68k/syscallent.h: Likewise.
	* linux/hppa/syscallent.h: Likewise.
	* linux/sh/syscallent.h: Likewise.
	* linux/sparc/syscallent.h: Likewise.
	* linux/sparc64/syscallent.h: Likewise.
	* linux/alpha/syscallent.h: Use sys_restart_syscall.
	* linux/ia64/syscallent.h: Likewise.
	* linux/mips/syscallent.h: Likewise.
	* linux/x86_64/syscallent.h: Likewise.
2006-01-12 22:34:50 +00:00
Roland McGrath
0628800758 2005-10-25 Heiko Carstens <heiko.carstens@de.ibm.com>
* linux/s390/syscallent.h: Added ioprio_set, ioprio_get,
	inotify_init, inotify_add_watch, inotify_rm_watch.
	Corrected number of arguments for request_key.
	* linux/s390x/syscallent.h: Likewise.
2005-12-02 04:19:13 +00:00
Roland McGrath
13d9851c4f 2005-10-07 Andreas Schwab <schwab@suse.de>
* linux/ia64/syscallent.h: Syscall 1105 is gettid, not ioperm.
2005-12-02 04:18:50 +00:00
Roland McGrath
b22dfe381e 2005-07-31 Ulrich Drepper <drepper@redhat.com>
* linux/x86_64/syscallent.h: Fix syscall parameter count for msgrcv and
	msgctl.
2005-12-02 03:57:00 +00:00
Roland McGrath
0ef86adb97 2005-07-19 Michael Schmitz <schmitz@debian.org>
Long overdue m68k cleanup.
	* linux/syscallent.h: remove m68k declarations.
	* linux/m68k/syscallent.h: new file, fixed up declarations
	to match kernel version 2.6.11. Newer syscalls are sufficiently
	different from i386 to merit a separate file.
2005-08-03 11:29:20 +00:00
Roland McGrath
64434f847d 2005-08-03 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: Update init_module argument count.
	* linux/sparc/syscallent.h: Likewise.
	* linux/sparc64/syscallent2.h: Likewise.
	* linux/sparc64/syscallent.h: Likewise.
	* linux/sh/syscallent.h: Likewise.
	* linux/sh64/syscallent.h: Likewise.
	* linux/s390/syscallent.h: Likewise.
	* linux/s390x/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* linux/arm/syscallent.h: Likewise.
2005-08-03 11:27:33 +00:00
Roland McGrath
7dbfe57c15 2005-07-22 James Lentini <jlentini@gmail.com>
* bjm.c (sys_init_module): Display all three arguments.
	* linux/syscallent.h: Update argument count.
2005-08-03 11:27:30 +00:00
Roland McGrath
feb90500e2 2005-07-14 Heiko Carstens <heiko.carstens@de.ibm.com>
* linux/s390/syscallent.h (sys_tgkill, vserver, fadvise64_64)
	(statfs64, fstatfs64, remap_file_pages, mbind, get_mempolicy)
	(set_mempolicy, mq_open, mq_unlink, mq_timedsend, mq_timedreceive)
	(mq_notify, mq_getsetattr, sys_kexec_load, add_key, request_key)
	(keyctl, waitid): Added.
	* linux/s390x/syscallent.h: Likewise and added missing _llseek.
	* linux/s390/errnoent.h (ECANCELED, ENOKEY, EKEYEXPIRED)
	(EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE): Added.
	* linux/s390x/errnoent.h: Likewise.
2005-07-19 07:12:30 +00:00
Roland McGrath
2fe7b13b2f 2005-06-08 Dmitry V. Levin <ldv@altlinux.org>
Introduce "-e trace=desc".
	* defs.h (TRACE_DESC): New flag.
	* syscall.c: Define TD macro before include of syscallent files
	and undefine it afterwards.
	(lookup_class): Recognize "desc" keyword.
	* strace.1: Document "-e trace=desc".
	* freebsd/i386/syscallent.h: Mark those syscalls which take a
	file descriptor as an argument or return a file descriptor with
	TD flag.
	* linux/alpha/syscallent.h: Likewise.
	* linux/hppa/syscallent.h: Likewise.
	* linux/ia64/syscallent.h: Likewise.
	* linux/mips/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/sparc64/syscallent2.h: Likewise.
	* linux/sparc64/syscallent.h: Likewise.
	* linux/syscallent.h: Likewise.
	* linux/x86_64/syscallent.h: Likewise.
	* sunos4/syscallent.h: Likewise.
	* svr4/syscallent.h: Likewise.
	Fixes RH#159400.
2005-07-05 03:25:35 +00:00
Roland McGrath
ada4231625 2005-06-08 Dmitry V. Levin <ldv@altlinux.org>
Remove TF flag from those syscalls which have no filename argument.
	* freebsd/i386/syscallent.h: Remove TF flag from fstat, pread,
	pwrite, fstat, sendfile.
	* linux/alpha/syscallent.h: Remove TF flag from read, write,
	pread, pwrite, sendfile.
	* linux/hppa/syscallent.h: Remove TF flag from read, write,
	pread, pwrite, fstat64, sendfile, ftruncate64.
	* linux/ia64/syscallent.h: Remove TF flag from read, write,
	sendfile, fstat, fadvise64.
	* linux/mips/syscallent.h: Remove TF flag from read, write,
	fstatfs, fstat, pread, pwrite, sendfile, ftruncate64, fstat64,
	sendfile64, fadvise64, fstatfs64.
	* linux/powerpc/syscallent.h: Remove TF flag from read, write,
	fstat, pread, pwrite, sendfile, ftruncate64, fstat64, sendfile64,
	fadvise64, fstatfs64, fadvise64_64.
	* linux/s390/syscallent.h: Remove TF flag from pread, pwrite,
	sendfile, ftruncate64, fstat64, sendfile64.
	* linux/s390x/syscallent.h: Remove TF flag from pread, pwrite,
	sendfile, sendfile64.
	* linux/sh/syscallent.h: Remove TF flag from pread, pwrite,
	sendfile, fstat64.
	* linux/sh64/syscallent.h: Remove TF flag from pread, pwrite,
	sendfile, ftruncate64, fstat64.
	* linux/sparc/syscallent.h: Remove TF flag from sendfile, fstat64,
	pread, pwrite, sendfile64.
	* linux/sparc64/syscallent2.h: Likewise.
	* linux/sparc64/syscallent.h: Likewise.
	* linux/syscallent.h: Remove TF flag from pread, pwrite, sendfile,
	ftruncate64, fstat64, sendfile64, fadvise64, fadvise64, fstatfs64,
	fadvise64_64.
	* linux/x86_64/syscallent.h: Remove TF flag from pread, pwrite,
	sendfile, fadvise64_64.
	* svr4/syscallent.h: Remove TF flag from pread, pwrite, ftruncate,
	fstatvfs64, ftruncate64.
	Fixes RH#159340.
2005-07-05 03:22:12 +00:00
Roland McGrath
e69b627099 2005-06-06 Roland McGrath <roland@redhat.com>
* linux/syscall.h (SYS_socket, SYS_bind, SYS_connect, SYS_listen)
	(SYS_accept, SYS_getsockname, SYS_getpeername, SYS_socketpair)
	(SYS_send, SYS_recv, SYS_sendto, SYS_recvfrom, SYS_shutdown)
	(SYS_setsockopt, SYS_getsockopt, SYS_sendmsg, SYS_recvmsg)
	(SYS_getsockname, SYS_semop, SYS_semgsub_et, SYS_semget, SYS_semctl)
	(SYS_semtimedop, SYS_msgsnd, SYS_msgrcv, SYS_msgget)
	(SYS_msgctl, SYS_shmat, SYS_shmdt, SYS_shmget)
	(SYS_shmctl): Macros renamed to SYS_sub_*.
	* syscall.c (dumpio): Match SYS_sub_* if defined instead of SYS_*.
	* linux/syscall.h (SYS_waitid): Define if not defined.
	* defs.h (struct sysent): New member `native_scno'.
	(known_scno): Declare new function.
	* linux/syscallent.h: Add new final field to interesting syscalls.
	* syscall.c (known_scno): New function.
	(dumpio, internal_syscall, syscall_fixup, trace_syscall): Use it.
	* process.c (internal_fork, internal_exit): Likewise.
	[IA64] (ARG_STACKSIZE, ARG_PTID, ARG_CTID, ARG_TLS): Likewise.
	* strace.c (proc_open): Likewise.
	* util.c [LINUX] (setbpt): Likewise.
	* linux/syscall.h: Remove [!defined(X86_64)] from conditional
	for defining SYS_socket_subcall et al.
	* linux/syscallent.h: Likewise for #error check.
	* syscall.c (trace_syscall): Likewise for SYS_{socketcall,ipc} cases.
	Fixes RH#158934.
2005-06-07 23:21:28 +00:00
Roland McGrath
ef78250d79 2005-06-06 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Fix pread/pwrite names to pread64/pwrite64.
	* defs.h (struct sysent): New member `native_scno'.
	(known_scno): Declare new function.
	* linux/syscallent.h: Add new final field to interesting syscalls.
	* syscall.c (known_scno): New function.
	(dumpio, internal_syscall, syscall_fixup, trace_syscall): Use it.
	* process.c (internal_fork, internal_exit): Likewise.
	[IA64] (ARG_STACKSIZE, ARG_PTID, ARG_CTID, ARG_TLS): Likewise.
	* strace.c (proc_open): Likewise.
	* util.c [LINUX] (setbpt): Likewise.
	* linux/syscall.h: Remove [!defined(X86_64)] from conditional
	for defining SYS_socket_subcall et al.
	* linux/syscallent.h: Likewise for #error check.
	* syscall.c (trace_syscall): Likewise for SYS_{socketcall,ipc} cases.
	Fixes RH#158934.
2005-06-07 23:21:24 +00:00
Roland McGrath
37b9f8480c 2005-05-09 Roland McGrath <roland@redhat.com>
* desc.c (sys_io_setup, sys_io_submit, sys_io_cancel,
	sys_io_getevents, sys_io_destroy): New functions.
	* linux/syscall.h: Declare them.
	* linux/syscallent.h: Use those for io_* syscalls.
	* linux/alpha/syscallent.h: Likewise.
	* linux/hppa/syscallent.h: Likewise.
	* linux/ia64/syscallent.h: Likewise.
	* linux/mips/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* linux/s390/syscallent.h: Likewise.
	* linux/s390x/syscallent.h: Likewise.
	* linux/x86_64/syscallent.h: Likewise.
	From Zach Brown <zach.brown@oracle.com>.
	Fixes RH#155065.
2005-05-09 08:02:00 +00:00
Roland McGrath
039a00aa83 2005-04-05 Anton Blanchard <anton@samba.org>
* linux/powerpc/syscallent.h: Add debug_setcontext, vserver,
	mbind, *_mempolicy, mq_*, sys_kexec_load, add_key, request_key,
	keyctl, waitid, sys_semtimedop.  Fix various other syscalls.
2005-05-09 07:40:27 +00:00
Roland McGrath
cd71177823 2005-04-05 Anton Blanchard <anton@samba.org>
* linux/powerpc/ioctlent.h: Regenerated.
2005-05-09 07:40:25 +00:00
Roland McGrath
985e8fd9bd 2005-03-22 Roland McGrath <roland@redhat.com>
* linux/arm/syscallent.h: Fix 113 entry (syscall, not vm86old).
2005-03-22 23:12:41 +00:00
Roland McGrath
0de75164d8 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
* linux/alpha/syscallent.h: Fix the reversed order of lstat64 and
	fstat64.  Clean up osf_nrecvmsg and osf_ngetsockname.
2005-03-15 02:17:10 +00:00
Roland McGrath
eca2025d6d 2005-03-14 Roland McGrath <roland@redhat.com>
* linux/mips/syscallent.h: Update various calls.
	From Thiemo Seufer <ths@networkno.de>.
	Fixes Debian bug #256684.
2005-03-15 02:16:05 +00:00
Roland McGrath
ddce11b805 2005-02-02 Roland McGrath <roland@redhat.com>
* linux/sparc/syscall.h: Declare sys_epoll_create, sys_epoll_ctl,
	sys_epoll_wait.
	* linux/sparc64/syscall.h: Just #include "../sparc/syscall.h" here.
	* ioctl.c (nioctlents2): Add const to type.
	Fixes Debian bug #278449.
2005-02-02 20:32:13 +00:00
Roland McGrath
174ddda74c 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Use sys_mincore instead of printargs.
	* linux/x86_64/syscallent.h: Likewise.  Also use sys_getrlimit,
	sys_semtimedop, sys_umount2.
	Part of RH#142667.
2005-02-02 04:17:00 +00:00
Roland McGrath
392a671e92 2005-02-01 Roland McGrath <roland@redhat.com>
* process.c [LINUX] [X86_64] (sys_arch_prctl): New function.
	* linux/syscall.h: Declare it.
	* linux/x86_64/syscallent.h: Use it.
	Part of RH#142667.
	* linux/syscallent.h: Use sys_mincore instead of printargs.
	* linux/x86_64/syscallent.h: Likewise.  Also use sys_getrlimit,
	sys_semtimedop, sys_umount2.
	Part of RH#142667.
2005-02-02 04:16:58 +00:00
Roland McGrath
1f1c54aea7 2005-02-01 Roland McGrath <roland@redhat.com>
* process.c [LINUX] [X86_64] (sys_arch_prctl): New function.
	* linux/syscall.h: Declare it.
	* linux/x86_64/syscallent.h: Use it.
	Part of RH#142667.
2005-02-02 04:16:52 +00:00
Roland McGrath
f01185e5d4 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/syscall.h [IA64] (SYS_semtimedop): #undef it.
2005-02-02 03:42:51 +00:00
Roland McGrath
874ffc65c8 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: Fix exit_group entry.
2005-02-02 02:54:33 +00:00
Roland McGrath
9f6a861109 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/ia64/syscallent.h: Add fadvise64, fstatfs64, statfs64, mbind,
	[gs]et_mempolicy, mq_*, sys_kexec_load, vserver, and waitid.
	Fixes RH#146245.
2005-02-02 02:49:02 +00:00
Roland McGrath
9597e6dc2c 2004-09-05 Phil Blundell <pb@nexus.co.uk>
* linux/arm/syscallent.h: New file.
2004-10-19 23:29:27 +00:00
Roland McGrath
391d5a1183 2004-09-14 Richard Henderson <rth@twiddle.net>
* linux/alpha/syscallent.h: Add tgkill, *stat64, vserver, mbind,
	[gs]et_mempolicy, mq_*, waitid.
2004-10-19 23:23:59 +00:00
Roland McGrath
205ad8be0a 2004-10-19 Roland McGrath <roland@redhat.com>
* linux/hppa/syscallent.h: Update for 2.6.9 syscalls.
	From Randolph Chung <tausq@debian.org>
	Fixes Debian bug #273887.
2004-10-19 23:23:36 +00:00
Roland McGrath
63b2d857f5 2004-10-07 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: Fix botched table entries.
	From Ulrich Drepper <drepper@redhat.com>.
2004-10-07 18:58:45 +00:00
Roland McGrath
b10a33590d 2004-10-07 Roland McGrath <roland@redhat.com>
* mem.c [LINUX] (sys_mbind, sys_set_mempolicy, sys_get_mempolicy):
	New functions.
	* linux/syscall.h: Declare them.
	* linux/x86_64/syscallent.h: Likewise.
	* linux/syscallent.h: Handle mbind, set_mempolicy, get_mempolicy.
	From Ulrich Drepper <drepper@redhat.com>.
2004-10-07 18:53:12 +00:00
Roland McGrath
df13e8f4ca 2004-10-07 Roland McGrath <roland@redhat.com>
* file.c [LINUX && (I386 || X86_64)] (sys_fadvise64, sys_fadvise64_64):
	New functions.
	* linux/syscall.h: Declare them.
	* linux/syscallent.h: Handle fadvise64 and fadvise64_64 using those.
	From Ulrich Drepper <drepper@redhat.com>.
2004-10-07 18:51:19 +00:00