122 Commits

Author SHA1 Message Date
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
Roland McGrath
18e368f0e2 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-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:21 +00:00
Roland McGrath
09f0d1d4c4 2002-12-21 Roland McGrath <roland@redhat.com>
* linux/syscall.h [I386 || IA64] (SYS_socket_subcall): Bump to 300 for
	safety, since up to 260 are already used in 2.5 kernels.
	* linux/syscallent.h: Update the table.
	* linux/ia64/syscallent.h: Likewise.
2002-12-22 03:34:39 +00:00
Roland McGrath
7a178afa70 2002-12-21 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Add some new 2.5 syscall names.
	Now clone takes 5 args.
	* process.c [LINUX] (clone_flags): Update with 2.5 flag bits.
	[LINUX] (sys_clone): Print new args.
	* mem.c (print_ldt_entry): Make global.
	* linux/syscall.h [I386 || IA64] (SYS_socket_subcall): Bump to 300 for
	safety, since up to 260 are already used in 2.5 kernels.
	* linux/syscallent.h: Update the table.
	* linux/ia64/syscallent.h: Likewise.
2002-12-22 03:34:34 +00:00
Roland McGrath
eddfb9e3cc 2002-12-17 Roland McGrath <roland@redhat.com>
* linux/ia64/syscallent.h: Remove placeholders 275-298 to catch up
	with linux/syscallent.h additions.
2002-12-18 04:36:53 +00:00
Roland McGrath
5c5aefdf3f 2002-12-15 Roland McGrath <roland@redhat.com>
* linux/powerpc/syscallent.h: Use sys_llseek for _llseek.
	* linux/sparc/syscallent.h: Likewise.
	* linux/hppa/syscallent.h: Likewise.
	* linux/syscallent.h: Update table with names of new syscalls
	io_setup, io_destroy, io_getvents, io_submit, io_cancel.
	* linux/ia64/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
2002-12-15 23:58:43 +00:00
Roland McGrath
5b70e7c03c 2002-12-15 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Update table with names of new syscalls
	io_setup, io_destroy, io_getvents, io_submit, io_cancel.
	* linux/ia64/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
	* mem.c: Add sys_{get,set}_thread_area.
	* linux/syscall.h: Declare them.
	* linux/syscallent.h: Update the table for these.
	* linux/dummy.h (sys_modify_ldt): Define only #ifndef I386.
	(sys_get_thread_area, sys_set_thread_area): New macros #ifndef I386.
	* configure.in: Check for linux/xattr.h and linux/futex.h headers.
	* linux/syscall.h: Add sys_* decls for new syscalls getpmsg, putpmsg,
	readahead, sendfile64, setxattr, fsetxattr, getxattr, fgetxattr, int
	listxattr, flistxattr, removexattr, fremovexattr, sched_setaffinity,
	sched_getaffinity, futex.
	* linux/syscallent.h: Update the table.
	* io.c: Add sys_sendfile64.
	* file.c: Add sys_readahead, sys_*xattr.
	* process.c: Add sys_futex, sys_*affinity.
	* linux/syscall.h (SYS_socket_subcall): Define to 256 on all machines.
	(SYS_ipc_subcall): Always SYS_socket_subcall + SYS_socket_nsubcalls.
	* linux/syscallent.h: Update the table for socket and ipc subcalls.
2002-12-15 23:58:35 +00:00
Roland McGrath
c2aa4306a2 2002-12-15 Roland McGrath <roland@redhat.com>
* linux/ia64/syscallent.h: Remove macros for sys_delete_module,
	sys_nanosleep, both already in linux/dummy.h.
	* linux/syscallent.h: Update table with names of new syscalls
	io_setup, io_destroy, io_getvents, io_submit, io_cancel.
	* linux/ia64/syscallent.h: Likewise.
	* linux/powerpc/syscallent.h: Likewise.
2002-12-15 23:58:33 +00:00