979 Commits

Author SHA1 Message Date
Roland McGrath
c0f8bbda62 2003-07-28 Daniel Jacobowitz <drow@mvista.com>
* defs.h (ALIGN64): Define for MIPS.
	* io.c (PREAD_OFFSET_ARG): Define.
	(sys_pread, sys_pwrite): Use it.
	* process.c (struct_user_offsets) [SH]: Check whether REG_XDREG0
	is defined.
	* linux/sh/syscallent.h (pread, pwrite): Take six arguments.
	(truncate64, ftruncate64): Pretty-print.
	* linux/mips/syscallent.h (pread, pwrite): Take six arguments.
	(truncate64, ftruncate64): Take four arguments.
2003-08-21 09:58:00 +00:00
Roland McGrath
af9e5ace07 2003-07-09 Roland McGrath <roland@redhat.com>
* linux/ia64/syscallent.h (tgkill): New at 1235.
2003-07-17 09:07:41 +00:00
Roland McGrath
0fe4158ca6 2003-07-17 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: truncate64/ftruncate64 need 3 args.
	From Ulrich Drepper <drepper@redhat.com>.
	* linux/syscallent.h: Handle statfs64, fstatfs64, utimes.
	* file.c (printstatfs): Print f_fsid and f_frsize.
	[LINUX] (printstatfs64, sys_statfs64, sys_fstatfs64): New functions.
	* linux/syscall.h: Add decls.
	From Ulrich Drepper <drepper@redhat.com>.
2003-07-17 09:03:05 +00:00
Roland McGrath
ab147c5d67 2003-07-17 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Handle statfs64, fstatfs64, utimes.
	* file.c (printstatfs): Print f_fsid and f_frsize.
	[LINUX] (printstatfs64, sys_statfs64, sys_fstatfs64): New functions.
	* linux/syscall.h: Add decls.
	From Ulrich Drepper <drepper@redhat.com>.
2003-07-17 09:03:02 +00:00
Roland McGrath
728d94d28a 2003-07-17 Roland McGrath <roland@redhat.com>
* linux/powerpc/syscallent.h (tgkill): New at 250.
2003-07-17 09:03:01 +00:00
Roland McGrath
9c555e71d2 2003-07-05 Richard Henderson <rth@twiddle.net>
* process.c (sys_clone): Order arguments for alpha the same as x86_64.
	* syscall.c (ERESTART_RESTARTBLOCK): New.
	(trace_syscall): Print it.
	* linux/alpha/syscallent.h (osf_syscall): Name properly.
	(osf_set_program_attributes): Fix typo.
	(osf_nfssvc): Likewise.
	(osf_sigsendset): Likewise.
	(getdents64, gettid, readahead, tkill, setxattr, lsetxattr, fsetxattr,
	getxattr, lgetxattr, fgetxattr, listxattr, llistxattr, flistxattr,
	removexattr, lremovexattr, fremovexattr, futex, sched_setaffinity,
	sched_getaffinity, tuxcall, io_setup, io_destroy, io_getevents,
	io_submit, io_cancel, exit_group, lookup_dcookie, epoll_create,
	epoll_ctl, epoll_wait, remap_file_pages, set_tid_address,
	restart_syscall, fadvise, timer_create, timer_settime, timer_gettime,
	timer_getoverrun, timer_delete, clock_settime, clock_gettime,
	clock_getres, clock_nanosleep, semtimedop): New.
2003-07-09 09:47:59 +00:00
Roland McGrath
8ffc352a35 2003-07-08 Roland McGrath <roland@redhat.com>
* signal.c (sys_tgkill): New function.
	* linux/syscall.h: Declare it.
	* linux/syscallent.h: Add tgkill.
2003-07-09 09:47:49 +00:00
Roland McGrath
79db8af777 2003-06-27 Roland McGrath <roland@redhat.com>
* configure.ac: Check for type `struct __old_kernel_stat'.
	* file.c (convertoldstat, printoldstat): Define under
	[LINUX && HAVE_STRUCT___OLD_KERNEL_STAT] rather than a list of archs.
	(sys_oldstat, sys_oldfstat, sys_oldlstat): Likewise.
	* linux/dummy.h [! HAVE_STRUCT___OLD_KERNEL_STAT]
	(sys_oldstat, sys_oldfstat, sys_oldlstat): #define to printargs.
2003-06-27 21:20:09 +00:00
Roland McGrath
f5a477788e 2003-06-26 Roland McGrath <roland@redhat.com>
* configure.ac: SHMEDIA -> SH64
	* defs.h: Likewise.
	* mem.c: Likewise.
	* process.c: Likewise.
	* sock.c: Likewise.
	* syscall.c: Likewise.
	* util.c: Likewise.
	* linux/shmedia/syscallent.h: Moved to ...
	* linux/sh64/syscallent.h: ... here.
2003-06-26 22:40:42 +00:00
Roland McGrath
88812d685d 2003-06-26 Roland McGrath <roland@redhat.com>
* process.c [LINUX] (sys_futex): Grok FUTEX_REQUEUE and print 5th arg.
	* linux/syscallent.h: sys_futex argument count is now 5, not 4.
	* linux/ia64/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 Jakub Jelinek <jakub@redhat.com>.
2003-06-26 22:27:23 +00:00
Roland McGrath
5a14cee5a0 2003-06-09 Roland McGrath <roland@redhat.com>
* linux/s390x/syscallent.h: Update many syscalls.
	* linux/syscall.h (SYS_socket_subcall): Update [S390X] value.
2003-06-10 03:37:57 +00:00
Roland McGrath
ef022c67ee 2003-06-09 Roland McGrath <roland@redhat.com>
* linux/s390/syscallent.h: Update many syscalls.
	* linux/syscall.h (SYS_socket_subcall): Update [S390] value.
2003-06-10 03:31:29 +00:00
Roland McGrath
cb6822a25e 2003-06-09 Roland McGrath <roland@redhat.com>
* linux/shmedia/syscallent.h: New file.
	From Stephen Thomas <stephen.thomas@superh.com>.
2003-06-10 03:07:41 +00:00
Roland McGrath
d8f98bc46c 2003-05-22 Roland McGrath <roland@redhat.com>
* linux/s390/syscallent.h: Fix sys_clone argument count.
	* linux/s390x/syscallent.h: Likewise.
	* linux/mips/syscallent.h: Likewise.
	* linux/alpha/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* linux/sh/syscallent.h: Likewise.
	* linux/sparc/syscallent.h: Likewise.
	* linux/hppa/syscallent.h: Likewise.
2003-05-23 00:29:00 +00:00
Roland McGrath
58f38db0b1 2003-04-07 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Handle semtimedop subcall of ipc syscall.
	* linux/syscall.h: Likewise.
	* ipc.c [LINUX] (sys_semtimedop): New function.
	From Ulrich Drepper <drepper@redhat.com>.
2003-04-08 01:46:51 +00:00
Roland McGrath
75a99b7d55 2003-02-26 Stuart Menefy <stuart.menefy@st.com>
Various fixes for SuperH [SH]:
	* mem.c(sys_old_mmap): mmap() parameters passed in registers
	* net.c(sys_pipe), syscall.c(getrval2): pipe() results returned
	in registers
	* process.c (change_syscall): Fixed register which holds system
	call number
	* util.c (arg0_offset, arg1_offset): provide definition
	* Makefile.am: Added new files in linux/sh
	* linux/sh/syscallent.h: New file.
	* linux/sh/errnoent.h: New file.
	* linux/sh/ioctlent.h: New file.
	* linux/sh/signalent.h: New file.
2003-03-31 01:04:27 +00:00
Roland McGrath
1e1b61d077 2003-02-26 Stuart Menefy <stuart.menefy@st.com>
* linux/ioctlent.sh: Take an arg for location of header files
	* syscallent.sh: Replaced lost $
2003-03-31 01:03:34 +00:00
Roland McGrath
1e35679bbb 2003-03-30 Roland McGrath <roland@redhat.com>
* time.c [LINUX]: Handle new Linux 2.5 clock/timer syscalls.
	* linux/syscall.h, linux/syscallent.h, linux/dummy.h: Likewise.
	From Ulrich Drepper <drepper@redhat.com>.
2003-03-30 23:52:28 +00:00
Roland McGrath
e9a188d51e 2003-03-30 Roland McGrath <roland@redhat.com>
* time.c [LINUX]: Handle new Linux 2.5 clock/timer syscalls.
	* linux/syscall.h, linux/syscallent.h, linux/dummy.h: Likewise.
	From Ulrich Drepper <drepper@redhat.com>.
	* linux/syscallent.h: Use sys_getrlimit for 191.
	Use name "old_getrlimit" for 76.
	Reported by Ulrich Drepper <drepper@redhat.com>.
2003-03-30 23:52:26 +00:00
Roland McGrath
361aac5193 2003-03-17 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: clone takes 5 args.
	* process.c [LINUX] (sys_clone) [X86_64]: Fix argument order.
2003-03-18 07:43:42 +00:00
Roland McGrath
e24fa3e4c5 2003-03-15 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: Add exit_group syscall at 231.
2003-03-15 20:58:26 +00:00
Roland McGrath
84009caa24 2003-03-14 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: Update and add many 2.5 syscalls.
2003-03-14 10:32:37 +00:00
Roland McGrath
c03981d0ea 2003-03-14 Roland McGrath <roland@redhat.com>
* linux/ia64/syscallent.h: clone takes 5 arguments.
	* process.c [LINUX && IA64] (ARG_*): Update for 2.5 clone calls.
2003-03-14 10:32:36 +00:00
Roland McGrath
9677b3a280 2003-03-12 Roland McGrath <roland@redhat.com>
* linux/ia64/syscallent.h: Fix arg counts for clone and clone2.
	Use sys_clone for clone2.
	* linux/syscall.h: Don't declare sys_clone2.
	* process.c (sys_clone): Rewritten to handle both flavors,
	print all extra args depending on flag bits.
	(sys_clone2): Function removed.
2003-03-12 09:54:36 +00:00
Roland McGrath
2e747d6762 yet more typos in last change 2003-03-12 08:16:39 +00:00
Roland McGrath
e14b62a5d5 more typos in last change 2003-03-12 08:14:35 +00:00
Roland McGrath
f6a4ea6f4e typos in last change 2003-03-12 08:14:01 +00:00
Roland McGrath
c5396639b1 2003-03-12 Roland McGrath <roland@redhat.com>
* linux/ia64/syscallent.h: Add a bunch of 2.5 syscalls.
2003-03-12 08:11:09 +00:00
Roland McGrath
72c5b7bf73 2003-03-04 Ulrich Drepper <drepper@redhat.com>
* mem.c [LINUX] (sys_remap_file_pages): New function.
	* linux/syscall.h: Declare it.
	* linux/syscallent.h: Use it.
	* linux/powerpc/syscallent.h: Likewise.
2003-03-05 04:08:00 +00:00
Roland McGrath
0a5832c846 2003-01-23 Roland McGrath <roland@redhat.com>
* linux/sparc/syscall.h: Declare sys_getdents64, sys_llseek.
2003-01-30 20:15:20 +00:00
Roland McGrath
8bcf35765d 2003-01-23 Roland McGrath <roland@redhat.com>
* linux/dummy.h [! SYS_getpmsg] (sys_getpmsg): #define to printargs.
	[! SYS_putpmsg] (sys_putpmsg): Likewise.
2003-01-24 04:39:46 +00:00
Roland McGrath
d2c642fbeb 2003-01-23 Roland McGrath <roland@redhat.com>
* linux/sparc/syscall.h: Declare sys_getdents64.
2003-01-24 04:39:45 +00:00
Roland McGrath
3f01abd618 2003-01-17 Anton Blanchard <anton@samba.org>
* linux/syscall.h (SYS_socket_subcall): 256 also for POWERPC.
2003-01-18 00:19:28 +00:00
Roland McGrath
de4047d394 2003-01-14 Roland McGrath <roland@redhat.com>
* linux/powerpc/errnoent.h: Add missing errnos.
	* linux/powerpc/ioctlent.h: Update ioctl values.
	From Anton Blanchard <anton@samba.org>.
2003-01-14 23:41:03 +00:00
Roland McGrath
55f45707e6 2003-01-14 Roland McGrath <roland@redhat.com>
* linux/hppa/syscallent.h: Use sys_getdents64, sys_truncate64,
	sys_ftruncate64, instead of printargs, for those syscalls.
	* linux/mips/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* linux/s390/syscallent.h: Likewise.
	* linux/sparc/syscallent.h: Likewise.
2003-01-14 23:41:01 +00:00
Roland McGrath
bc78376efe 2003-01-14 Roland McGrath <roland@redhat.com>
* linux/syscall.h (SYS_socket_subcall): Only 256 for S390, S390X.
	All others at the moment use linux/syscallent.h, where it's 300.
2003-01-14 23:40:52 +00:00
Roland McGrath
5017d43bcb 2003-01-14 Roland McGrath <roland@redhat.com>
* defs.h [_LARGEFILE64_SOURCE] (_LFS64_LARGEFILE): Define it.
	* linux/syscallent.h: Use sys_getdents64, sys_truncate64,
	sys_ftruncate64, instead of printargs, for those syscalls.
2003-01-14 09:46:23 +00:00
Roland McGrath
6500d0af43 2003-01-13 Roland McGrath <roland@redhat.com>
* linux/powerpc/syscallent.h: Add missing system calls.
	Decode more system calls, we were just printargs for many things.
	Remove some x86-specific system calls.
	Remove two syscalls between the socket and ipc syscalls,
	it was resulting in all IPC syscalls being off by two.
2003-01-14 07:53:37 +00:00
Roland McGrath
a4168e578c 2003-01-13 Roland McGrath <roland@redhat.com>
* linux/ioctlent.sh: Look in sound/ directory too.
	From Anton Blanchard <anton@samba.org>.
2003-01-14 07:53:36 +00:00
Roland McGrath
7388a26af8 2003-01-13 Roland McGrath <roland@redhat.com>
* linux/syscall.h [ARM] (SYS_socket_subcall): Set to 300.
2003-01-14 07:53:35 +00:00
Roland McGrath
6ef18edb5f 2003-01-13 Roland McGrath <roland@redhat.com>
* linux/powerpc/signalent.h: Add SIGRTMIN.
	From Anton Blanchard <anton@samba.org>.
2003-01-14 07:53:30 +00:00
Roland McGrath
709ef619bf 2003-01-08 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent1.h (sys_oldlstat): #define as printargs.
2003-01-09 06:53:24 +00:00
Roland McGrath
7daaace264 2002-12-30 Roland McGrath <roland@redhat.com>
* Makefile.am [LINUX && X86_64]: Remove cruft.
	* linux/x86_64/errnoent1.h: New file.
	* linux/x86_64/ioctlent1.h: New file.
	* linux/x86_64/signalent1.h: New file.
	* linux/x86_64/syscallent1.h: New file.
	* linux/x86_64/i386-headers.diff: File removed.
	* linux/x86_64/makeheaders.sh: File removed.
	* linux/x86_64/Makefile.in: File removed.
2002-12-30 09:33:20 +00:00
Roland McGrath
2746edd185 2002-12-29 Roland McGrath <roland@redhat.com>
* configure.ac, Makefile.am: Punt subdirs, handle everything here.
	* linux/Makefile.am: File removed.
	* freebsd/Makefile.am: File removed.
	* sunos4/Makefile.in: File removed.
	* svr4/Makefile.in: File removed.
2002-12-30 09:13:08 +00:00
Roland McGrath
7e7f7703e5 2002-12-30 Roland McGrath <roland@redhat.com>
* linux/syscallent.h [X86_64]: Disable sanity checks, subcall stuff is
	already broken for 32-bit personality on x86-64.
2002-12-30 09:13:07 +00:00
Roland McGrath
270b449179 2002-12-26 Roland McGrath <roland@redhat.com>
* syscallent.sh: Grok three flavors of #define line, uniquify.
	* linux/hppa/syscallent.sh: File removed.
	* linux/powerpc/syscallent.sh: File removed.
2002-12-30 00:51:32 +00:00
Roland McGrath
e4d2890139 2002-12-29 Roland McGrath <roland@redhat.com>
* linux/alpha/Makefile.in: File removed.
	* linux/hppa/Makefile.in: File removed.
	* linux/ia64/Makefile.in: File removed.
	* linux/powerpc/Makefile.in: File removed.
	* linux/s390/Makefile.in: File removed.
	* linux/s390x/Makefile.in: File removed.
2002-12-30 00:51:25 +00:00
Roland McGrath
ab70851646 2002-12-26 Roland McGrath <roland@redhat.com>
* linux/Makefile.am: New file.
	* linux/Makefile.in: File removed.
	* freebsd/Makefile.am: New file.
	* freebsd/i386/Makefile.am: New file.
	* freebsd/i386/Makefile.in: File removed.
2002-12-22  Roland McGrath  <roland@redhat.com>

	* linux/Makefile.in (ioctldefs.h ioctls.h): Use $(SHELL) instead of
	sh, and use $(srcdir) to find the script.
	* linux/powerpc/Makefile.in (ioctlent.raw): Find ioctlent.sh in ../.
	(ioctlsort.o): Use ../ioctlsort.c, not ../../ioctlsort.c.
	* linux/x86_64/Makefile.in (headers): Renamed to all.
	* linux/alpha/Makefile.in: Add empty install target.
	* linux/x86_64/Makefile.in: Likewise.
	* linux/powerpc/Makefile.in: Likewise.
	* linux/Makefile.in: Likewise.
2002-12-30 00:51:23 +00:00
Roland McGrath
0318643c8b 2002-12-22 Roland McGrath <roland@redhat.com>
* linux/Makefile.in (ioctldefs.h ioctls.h): Use $(SHELL) instead of
	sh, and use $(srcdir) to find the script.
	* linux/powerpc/Makefile.in (ioctlent.raw): Find ioctlent.sh in ../.
	(ioctlsort.o): Use ../ioctlsort.c, not ../../ioctlsort.c.
	* linux/x86_64/Makefile.in (headers): Renamed to all.
	* linux/alpha/Makefile.in: Add empty install target.
	* linux/x86_64/Makefile.in: Likewise.
	* linux/powerpc/Makefile.in: Likewise.
	* linux/Makefile.in: Likewise.
2002-12-30 00:51:23 +00:00
Roland McGrath
e8d8952202 2002-12-26 Roland McGrath <roland@redhat.com>
* linux/Makefile.am: New file.
	* linux/Makefile.in: File removed.
	* freebsd/Makefile.am: New file.
	* freebsd/i386/Makefile.am: New file.
	* freebsd/i386/Makefile.in: File removed.
2002-12-30 00:51:22 +00:00