Commit Graph

976 Commits

Author SHA1 Message Date
Roland McGrath
4859f6cef8 . 2005-03-01 23:03:11 +00:00
Roland McGrath
f774642aa4 2005-03-01 Roland McGrath <roland@redhat.com>
* file.c (print_xattr_val): Add a cast.
2005-03-01 23:02:32 +00:00
Roland McGrath
b0a3d4ee5a . 2005-02-06 01:55:16 +00:00
Roland McGrath
e85aaa459a 2005-02-05 Roland McGrath <roland@redhat.com>
* desc.c (decode_select): Calculate size of passed fd_set vectors and
	copy in the user's size rather than the standard sizeof(fd_set).
	Fixes Debian bug #65654.
2005-02-06 01:55:12 +00:00
Roland McGrath
371ed8fcec 2005-02-05 Roland McGrath <roland@redhat.com>
* util.c (printpath, printpathn): Print NULL and don't try any fetch
	when ADDR is zero.
	Fixes Debian bug #63093.
2005-02-06 01:55:07 +00:00
Roland McGrath
854694b087 . 2005-02-06 01:16:47 +00:00
Roland McGrath
15dca8e307 2004-12-19 Dmitry V. Levin <ldv@altlinux.org>
* strace.c (main) [!USE_PROCFS]: In child process, raise SIGSTOP
	right before execv() call.  Remove fake_execve() call.
	* defs.h (fake_execve): Remove unused declaration.
	* process.c (fake_execve): Remove unused function.
	Fixes RH#143365.
2005-02-06 01:16:32 +00:00
Roland McGrath
a24aaae493 2005-02-05 Roland McGrath <roland@redhat.com>
* debian/control (Build-Depends): Fix for s390 and sparc.
	From Bastian Blank <waldi@debian.org>.
	Fixes Debian bug #293564.
2005-02-06 01:16:22 +00:00
Roland McGrath
6df9d64bd4 nit 2005-02-04 10:13:15 +00:00
Roland McGrath
0c6c17b451 . 2005-02-04 09:54:16 +00:00
Roland McGrath
3619a99bb4 2005-02-04 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.5.9.
	* debian/changelog, strace.spec: 4.5.9-2.
2005-02-04 09:54:04 +00:00
Roland McGrath
1e834485c6 . 2005-02-04 09:50:24 +00:00
Roland McGrath
663a8a065c 2005-02-04 Roland McGrath <roland@redhat.com>
* file.c (O_LARGEFILE): Omit when #undef'd because it was zero.
2005-02-04 09:49:56 +00:00
Roland McGrath
55f23e71c8 . 2005-02-04 09:29:11 +00:00
Roland McGrath
d63311a8bc 2005-02-04 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.5.9.
	* debian/changelog, strace.spec: 4.5.9-1.
2005-02-04 09:29:04 +00:00
Roland McGrath
026bdab75f . 2005-02-03 03:19:43 +00:00
Roland McGrath
98d5f01f37 2005-02-02 Roland McGrath <roland@redhat.com>
* debian/control: Add strace-udeb package for installer debugging.
	* debian/rules (binary-arch): Build it.
	From Joshua Kwan <joshk@triplehelix.org>.
	Fixes Debian bug #268294.
2005-02-03 03:19:34 +00:00
Roland McGrath
d08b2f03a8 . 2005-02-02 22:11:37 +00:00
Roland McGrath
fee836eb65 2005-02-02 Roland McGrath <roland@redhat.com>
* file.c (openmodes) [O_LARGEFILE] [O_LARGEFILE == 0]: Redefine to
	known values for Linux.
2005-02-02 22:11:32 +00:00
Roland McGrath
84219e1d18 . 2005-02-02 20:55:27 +00:00
Roland McGrath
7a91883b32 2005-02-02 Roland McGrath <roland@redhat.com>
* util.c (printcall): Print 16 ?s when long is 8 bytes.
	Fixes RH#146932.
2005-02-02 20:55:23 +00:00
Roland McGrath
1967a1333c . 2005-02-02 20:45:37 +00:00
Roland McGrath
3cad4a6f39 . 2005-02-02 20:32:37 +00:00
Roland McGrath
ddce11b805 2005-02-02 Roland McGrath <roland@redhat.com>
* linux/sparc/syscall.h: Declare sys_epoll_create, sys_epoll_ctl,
	sys_epoll_wait.
	* linux/sparc64/syscall.h: Just #include "../sparc/syscall.h" here.
	* ioctl.c (nioctlents2): Add const to type.
	Fixes Debian bug #278449.
2005-02-02 20:32:13 +00:00
Roland McGrath
94098ef856 . 2005-02-02 20:25:36 +00:00
Roland McGrath
e6a432ddf1 2005-02-02 Roland McGrath <roland@redhat.com>
* sock.c (iffflags): New variable, table of IFF_* values.
	(print_addr): New function.
	(sock_ioctl): Handle SIOCGIFADDR, SIOCGIFDSTADDR, SIOCGIFBRDADDR,
	SIOCGIFNETMASK, SIOCGIFFLAGS, SIOCGIFMETRIC, SIOCGIFMTU, SIOCGIFSLAVE,
	SIOCGIFHWADDR.	Use print_addr for SIOCGIFCONF, SIOCGIFNAME, and
	SIOCGIFINDEX, and fix their output.
	From Ulrich Drepper <drepper@redhat.com>.
	Fixes RH#138223.
2005-02-02 20:25:17 +00:00
Roland McGrath
9d721f283b . 2005-02-02 04:45:09 +00:00
Roland McGrath
795edb1148 2004-12-20 Dmitry V. Levin <ldv@altlinux.org>
* configure.ac: Use AC_GNU_SOURCE macro instead of changing CFLAGS.
	* defs.h [HAVE_CONFIG_H]: Include config.h first.
	* strace.c: Include "defs.h" first.
	Fixes RH#143370.
2005-02-02 04:44:57 +00:00
Roland McGrath
ac6b7bba2e . 2005-02-02 04:42:56 +00:00
Roland McGrath
b77d0934b3 2004-12-20 Dmitry V. Levin <ldv@altlinux.org>
* syscall.c (call_summary): Fix potential NULL dereference.
	Fixes RH#143369.
2005-02-02 04:42:25 +00:00
Roland McGrath
dd9efd897a . 2005-02-02 04:40:36 +00:00
Roland McGrath
fe6b352f8d 2004-12-19 Dmitry V. Levin <ldv@altlinux.org>
* syscall.c (qual_signal): Check bounds for numeric signal names.
	Fix parser of symbolic signal names.
	Fix return code, as required by qualify() function.
	* syscall.c (qual_desc): Check bounds for descriptor number.
	* syscall.c (qual_syscall): Correct return code, to be consistent
	with qualify() and other qual_* functions.
	Fixes RH#143362.
2005-02-02 04:40:11 +00:00
Roland McGrath
0dfeed6a2a . 2005-02-02 04:36:38 +00:00
Roland McGrath
cbd3358a62 2005-02-01 Roland McGrath <roland@redhat.com>
* system.c [LINUX] (MS_MANDLOCK, MS_NOATIME, MS_NODIRATIME, MS_BIND,
	MS_MOVE, MS_REC, MS_VERBOSE, MS_POSIXACL, MS_ACTIVE, MS_NOUSER):
	New macros.
	[LINUX] (mount_flags): Add them.
	[LINUX] (sys_mount): If any of (MS_BIND|MS_MOVE|MS_REMOUNT) bits are
	set in the flags argument, don't try to fetch the filesystem string.
	Fixes RH#141932.
2005-02-02 04:36:11 +00:00
Roland McGrath
dc26fffa8a . 2005-02-02 04:19:19 +00:00
Roland McGrath
bda969a877 2005-02-01 Roland McGrath <roland@redhat.com>
* config.guess: Update from canonical version, timestamp 2004-11-12.
	* config.sub: Likewise, timestamp 2004-11-30.
2005-02-02 04:19:06 +00:00
Roland McGrath
174ddda74c 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Use sys_mincore instead of printargs.
	* linux/x86_64/syscallent.h: Likewise.  Also use sys_getrlimit,
	sys_semtimedop, sys_umount2.
	Part of RH#142667.
2005-02-02 04:17:00 +00:00
Roland McGrath
392a671e92 2005-02-01 Roland McGrath <roland@redhat.com>
* process.c [LINUX] [X86_64] (sys_arch_prctl): New function.
	* linux/syscall.h: Declare it.
	* linux/x86_64/syscallent.h: Use it.
	Part of RH#142667.
	* linux/syscallent.h: Use sys_mincore instead of printargs.
	* linux/x86_64/syscallent.h: Likewise.  Also use sys_getrlimit,
	sys_semtimedop, sys_umount2.
	Part of RH#142667.
2005-02-02 04:16:58 +00:00
Roland McGrath
b2ba50bb2e . 2005-02-02 04:16:58 +00:00
Roland McGrath
c2d5eb082d 2005-02-01 Roland McGrath <roland@redhat.com>
* process.c [LINUX] [X86_64] (sys_arch_prctl): New function.
	* linux/syscall.h: Declare it.
	* linux/x86_64/syscallent.h: Use it.
	Part of RH#142667.
	* process.c (sys_sched_setscheduler): Use %#lx format for bad pointer.
	(sys_sched_getparam, sys_sched_setparam): Likewise.
	Part of RH#142667.
2005-02-02 04:16:56 +00:00
Roland McGrath
063ae2dd43 2005-02-01 Roland McGrath <roland@redhat.com>
* signal.c [HAVE_SIGACTION] [LINUX && X86_64] (SA_RESTORER): Define
	here too.
	Part of RH#142667.
2005-02-02 04:16:54 +00:00
Roland McGrath
1f1c54aea7 2005-02-01 Roland McGrath <roland@redhat.com>
* process.c [LINUX] [X86_64] (sys_arch_prctl): New function.
	* linux/syscall.h: Declare it.
	* linux/x86_64/syscallent.h: Use it.
	Part of RH#142667.
2005-02-02 04:16:52 +00:00
Roland McGrath
28eace82fd . 2005-02-02 03:51:22 +00:00
Roland McGrath
76421df9b2 2005-02-01 Roland McGrath <roland@redhat.com>
* syscall.c (qual_signal): Fix inverted return value and bogus
	argument to qualify_one in the named case.
2005-02-02 03:51:18 +00:00
Roland McGrath
f01185e5d4 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/syscall.h [IA64] (SYS_semtimedop): #undef it.
2005-02-02 03:42:51 +00:00
Roland McGrath
5f221c3659 . 2005-02-02 03:38:49 +00:00
Roland McGrath
883567c1cc 2005-02-01 Roland McGrath <roland@redhat.com>
* file.c (print_xattr_val): Don't use auto array sized by syscall
	argument.  Use malloc instead, so it can fail for insane values.
	Fixes Debian bug #283704.
2005-02-02 03:38:32 +00:00
Roland McGrath
5396233748 . 2005-02-02 03:11:43 +00:00
Roland McGrath
96ad7b8f52 2005-02-01 Roland McGrath <roland@redhat.com>
* net.c (sys_getsockopt): Fix a format %ld -> %d.
2005-02-02 03:11:32 +00:00
Roland McGrath
bc484bd394 . 2005-02-02 03:07:24 +00:00