205 Commits

Author SHA1 Message Date
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
Roland McGrath
59a9779ae5 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.
2002-12-15 23:58:28 +00:00
Roland McGrath
67ecd63d02 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.
	* 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.
2002-12-15 23:58:21 +00:00
Roland McGrath
2c71e0da7e 2002-12-15 Roland McGrath <roland@redhat.com>
* 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:19 +00:00
Michal Ludvig
4995fb9398 2nd part of s390/s390x port 2002-10-07 14:37:50 +00:00
Michal Ludvig
10a88d09eb 2002-10-07 Michal Ludvig <mludvig@suse.cz>
Merged s390x port by Heiko Carstens <Heiko.Carstens@de.ibm.com>
        and bugfixes to s390 by D.J. Barrow.
2002-10-07 14:31:00 +00:00
Michal Ludvig
0e035502d2 2002-09-23 Michal Ludvig <mludvig@suse.cz>
Merged x86-64 port by Andi Kleen <ak@suse.de>
	and Michal Ludvig <mludvig@suse.cz>
	* Makefile.in: New target 'headers'. Failure ignored.
	* acconfig.h: New defines for x86-64.
	* configure.in: Ditto.
	* defs.h: Ditto.
	* file.c: Ditto.
	* signal.c: Ditto.
	* process.c: Added support for x86-64.
	* util.c: Ditto.
	* syscall.c: Ditto + added automatic personality switching.
	* linux/syscall.h: Ditto.
	* linux/x86_64: New directory.
	* linux/x86_64/Makefile.in: New file.
	* linux/x86_64/gentab.pl: Ditto.
	* linux/x86_64/i386-headers.diff: Ditto.
	* linux/x86_64/makeheaders.sh: Ditto.
	* linux/x86_64/syscallent.h: Ditto.
	* mem.c (print_mmap): Always print arg[4] as int.
2002-09-23 15:41:01 +00:00
Michal Ludvig
53b320f61f 2002-09-23 Michal Ludvig <mludvig@suse.cz>
* configure.in: Fix regular expressions.
	* linux/syscall.h: Added missing braces in prototype of
	sys_getdents64().
	* file.c: Use '#ifdef LINUX' instead of '#ifdef linux'.
	(struct fileflags): Made extern to inhibit compiation warnings.
	(sys_getdents64): Merged LINUX and SVR4 part.
	* syscall.c(get_scno): Split multiline string into two distinct
	strings.
2002-09-23 13:30:09 +00:00
Wichert Akkerman
87210eadb4 Regenerated 2002-03-31 20:11:37 +00:00
Wichert Akkerman
ec85fa103c Update hppa syscalls 2002-03-31 19:24:10 +00:00
Wichert Akkerman
0fddf434f3 Fix typo, add (unimplemented in kernel) stream syscalls 2002-03-31 18:54:14 +00:00
Wichert Akkerman
9fbd0dd3b6 regenerated ioctlent.h using current scripts so term ioctls are included 2001-10-26 05:20:37 +00:00
Wichert Akkerman
7b3346be42 Import lots of ia64 related changes from David Mosberger 2001-10-09 23:47:38 +00:00
Wichert Akkerman
b2c12f37f8 Add copyright notice 2001-08-03 21:53:26 +00:00
Wichert Akkerman
6453d585d1 Regenerated 2001-08-03 21:51:48 +00:00
Wichert Akkerman
b50c907458 change regexps so we catch sound ioctls as well in Linux 2001-08-03 21:49:34 +00:00
Wichert Akkerman
ac2a9283ec fix a few things so the ioctl list is generated 2001-08-03 21:49:14 +00:00
Wichert Akkerman
cd6aefcebc synchronize section for fcntl and use sys_fcntl for sys_fcntl as well 2001-08-03 12:27:54 +00:00