Commit Graph

479 Commits

Author SHA1 Message Date
Roland McGrath
984154d246 2003-05-22 Roland McGrath <roland@redhat.com>
* process.c (sys_clone): Mask CSIGNAL out of flags and print that
	separately using signame.
	* process.c (internal_clone) [TCB_CLONE_THREAD]: Use ARG_FLAGS instead
	of literal 0 for index.  Consult the right flags without clobbering
	anything when we reparent the new child to the caller's parent thread.
2003-05-23 01:08:42 +00:00
Roland McGrath
031b0d88cf . 2003-05-23 00:29:11 +00:00
Roland McGrath
fe5fdb23de 2003-05-22 Roland McGrath <roland@redhat.com>
* process.c [LINUX] [S390 || S390X] (ARG_CTID, ARG_TLS): Fix swapped
	indices.  Reported by Jakub Jelinek <jakub@redhat.com>.
2003-05-23 00:29:05 +00:00
Roland McGrath
941b740577 2003-05-22 Roland McGrath <roland@redhat.com>
* signal.c [LINUX] (SI_SIGIO, SI_TKILL): New macros.
	[LINUX || SVR4] (siginfo_codes): Add strings for them.
2003-05-23 00:29:02 +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
5aae8773f9 . 2003-05-23 00:14:17 +00:00
Roland McGrath
a2f3496d74 2003-05-22 Roland McGrath <roland@redhat.com>
* process.c (print_affinitylist): Fix loop condition.
	Reported by Ian Wienand <ianw@gelato.unsw.edu.au>.
2003-05-23 00:14:04 +00:00
Roland McGrath
872a43633a . 2003-04-10 18:58:33 +00:00
Roland McGrath
2b61902ee9 2003-04-10 Roland McGrath <roland@redhat.com>
* syscall.c (qual_desc): Return zero after parsing number.
	From Rob Leslie <rob@mars.org>, fixes Debian bug #188379.
2003-04-10 18:58:20 +00:00
Roland McGrath
808a4baeb2 . 2003-04-08 01:47:02 +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
8477647c4b 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>.
	* ipc.c (sys_semget): Mask off permission bits for resource_flags.
	From Ulrich Drepper <drepper@redhat.com>.
2003-04-08 01:46:48 +00:00
Roland McGrath
cf43e90362 . 2003-04-02 01:10:53 +00:00
Roland McGrath
561c7995d7 2003-04-01 Philippe De Muyter <phdm@macqel.be>
* sock.c, stream.c: Check #ifdef LINUX, not linux.
	* file.c: Always provide sys_*attr, regardless of #ifdef XATTR_CREATE.
2003-04-02 01:10:44 +00:00
Roland McGrath
215da2ab07 sync with rh file 2003-03-31 01:46:47 +00:00
Roland McGrath
10a56fbbd5 . 2003-03-31 01:21:40 +00:00
Roland McGrath
1b86e2d311 2003-03-30 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.4.96.
	* strace.spec, debian/changelog: 4.4.96-1.
2003-03-31 01:21:36 +00:00
Roland McGrath
347636fa12 . 2003-03-31 01:05:16 +00:00
Roland McGrath
6b1d43ef29 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:05:01 +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
ac971c2727 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,errnoent,ioctlent,signalent}.h: New files
2003-03-31 01:03:33 +00:00
Roland McGrath
5467f2681e . 2003-03-30 23:52:46 +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
5755ec54e2 . 2003-03-21 07:33:21 +00:00
Roland McGrath
6f67a98442 2003-03-18 Roland McGrath <roland@redhat.com>
* process.c [LINUX] (sys_clone): Don't dereference parent_tid argument.
2003-03-21 07:33:15 +00:00
Roland McGrath
49bad88ceb . 2003-03-18 07:43:53 +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
f22e0c70eb . 2003-03-15 21:01:43 +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
27cad9a9ea . 2003-03-14 10:33:06 +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
178d3b46cb tweak last change 2003-03-12 10:01:22 +00:00
Roland McGrath
43f2c84d50 tweak last change 2003-03-12 09:58:14 +00:00
Roland McGrath
6fbb4e3209 . 2003-03-12 09:54:45 +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
041900f675 . 2003-03-12 08:11:33 +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
b3f8fd6573 . 2003-03-05 06:29:11 +00:00
Roland McGrath
ba95476dd4 2003-03-04 Roland McGrath <roland@redhat.com>
* syscall.c (get_scno) [IA64]: Do TCB_WAITEXECVE check only when
	TCB_INSYSCALL is clear, like other platforms do.
2003-03-05 06:29:06 +00:00
Roland McGrath
d2a6c6b5a6 . 2003-03-05 04:08:07 +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
8dfa04a174 2003-03-04 Ulrich Drepper <drepper@redhat.com>
* process.c [LINUX] (sys_futex): Omit final if op is not FUTEX_WAIT.
2003-03-05 04:07:55 +00:00
Roland McGrath
a4187c9183 . 2003-02-26 20:34:14 +00:00
Roland McGrath
e07cd60672 2003-02-26 Roland McGrath <roland@redhat.com>
* configure.ac: Fix typo in netinet/in.h check.
	Also include <sys/types.h> and <sys/socket.h> before <netinet/in.h>.
	Reported by Alex Semenyaka <alexs@snark.rinet.ru>.
2003-02-26 20:34:02 +00:00