74 Commits

Author SHA1 Message Date
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
Wichert Akkerman
77ed07c4c4 Add 2001-08-03 12:22:04 +00:00
Wichert Akkerman
0b1120afb9 linux/hppa syscall updates 2001-08-03 12:20:38 +00:00
Wichert Akkerman
7b96b57b7d Add a few LFS syscalls for Linux/sparc 2001-08-03 11:37:07 +00:00
Wichert Akkerman
8d15e210fd Update syscall list 2001-04-12 09:01:10 +00:00
Wichert Akkerman
74842453c5 fix some syscall names 2001-04-10 10:26:17 +00:00
Wichert Akkerman
352ce8255d update syscall list 2001-04-10 10:24:54 +00:00
Wichert Akkerman
d6b9249370 use asm/sysmips.h and linux/utsname.h if they exist
fix some silly typos in mips sections
2001-04-07 21:37:12 +00:00
Wichert Akkerman
4f043ec2f8 regenerate linux/mips ioctl list 2001-03-31 16:25:58 +00:00
Wichert Akkerman
8aada67e50 regenerate ioctl list 2001-03-31 16:20:33 +00:00
Wichert Akkerman
cf7156792a Removed since we can use the general Linux copy 2001-03-31 16:16:57 +00:00
Wichert Akkerman
29f0d05cee add dir variable to set location of kernel includes 2001-03-31 16:14:55 +00:00
Wichert Akkerman
00cd74c6fe Update Linux/ia64 ioctl list 2001-03-30 16:20:27 +00:00
Wichert Akkerman
386fcd0605 cleanup includefilenames in ioctl lists 2001-03-29 19:07:40 +00:00
Wichert Akkerman
10767789bc Updated linux/powerpc ioctl list 2001-03-29 19:04:25 +00:00
Wichert Akkerman
d7fb20677b update linux/hppa ioctllist 2001-03-29 18:16:07 +00:00
Wichert Akkerman
bbf59e9474 update linux/alpha ioctllist 2001-03-29 17:43:19 +00:00
Wichert Akkerman
00a82eed2b several Linux/sparc fixes 2001-03-28 20:29:17 +00:00
Wichert Akkerman
fe8f65dde2 update Linux/sparc ioctl list 2001-03-28 15:10:49 +00:00
Wichert Akkerman
c1652e2095 Add Linux/hppa port, patch from Richard Hirst 2001-03-27 12:17:16 +00:00
Wichert Akkerman
e3bf56a9de add getdents64 and fcntl64 (not decoded yet) 2001-03-19 11:05:17 +00:00
Wichert Akkerman
407be9a2a4 Update Linux/mips syscall table 2001-03-19 10:56:49 +00:00
Wichert Akkerman
e2613b4c7c Add Linux ioctlsort 2001-03-17 17:29:43 +00:00
Wichert Akkerman
a966785753 Implement new way to get the ioctl list for Linux: instead of
trying to #include every possible kernel header grab all the relevant
#defines from them and use those directly.
2001-03-17 17:26:34 +00:00
Wichert Akkerman
0cbfb324b5 Add sys_sysmips decoding 2001-02-19 13:35:53 +00:00
Ralf Baechle
255b89a92f Linux/MIPS doesn't pass mmap argument in a structure like Intel. 2000-07-31 04:21:18 +00:00
Wichert Akkerman
5ae21ead9f The `too much stuff, just check the ChangeLog' update 2000-05-01 01:53:59 +00:00
Wichert Akkerman
10dfa564bd Update mips syscall table 2000-04-22 18:26:56 +00:00
Wichert Akkerman
481e45b0cf added names for SVR4, SYSV, BSD4.3 and POSIX syscalls 2000-04-17 07:42:31 +00:00
Wichert Akkerman
c792698a99 README-linux: updated to note that strace might not compile
with development kernels
bjm.c: sys_query_module: check if malloc succeeds
system.c: sys_cap[gs]et(): check if malloc succeeds, only malloc once
linux/syscallent.h: updated for 2.3.99pre3
linux/alpha/syscallent.h: updated for 2.3.99pre3, add all osf syscalls
even though Linux doesn't implement them
syscall.c: add global variables for MIPS registers as well
syscall.c: move global variables to before get_scno since that uses them
util.c: oops, misspelled defined
process.c: fix ptrace calls in change_syscall
mem.c: decode sys_madvise
Merge patch from Topi Miettinen <Topi.Miettinen@nic.fi>
+ add support for quotactl, fdatasync, mlock, mlockall, munlockall & acct
+ small fix for RLIMIT_* and RUSAGE_BOTH
+ enhace support for capget and capset
2000-04-10 22:22:31 +00:00
Wichert Akkerman
57f229d952 Fixup ia64 stuff, part 1 2000-02-03 22:01:30 +00:00
Wichert Akkerman
8b1b40cd8b Merge Trillian patches (Linux ia64) 2000-02-03 21:58:30 +00:00