791 Commits

Author SHA1 Message Date
Roland McGrath
a0b9ef14b0 . 2004-08-31 06:30:51 +00:00
Roland McGrath
3292e229b9 2004-08-30 Roland McGrath <roland@redhat.com>
* file.c (print_xattr_val): New function to show attribute values.
	(sys_setxattr, sys_fsetxattr, sys_getxattr, sys_fgetxattr): Use it.
	From Ulrich Drepper <drepper@redhat.com>.
	Fixes RH#131177.
2004-08-31 06:30:48 +00:00
Roland McGrath
d51619ab5d . 2004-07-12 07:56:00 +00:00
Roland McGrath
785a0260ff 2004-07-12 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.5.6.
	* strace.spec, debian/changelog: 4.5.6-1.
2004-07-12 07:55:48 +00:00
Roland McGrath
05cf2951a6 . 2004-07-12 07:54:09 +00:00
Roland McGrath
b46cd51d58 2004-07-12 Roland McGrath <roland@redhat.com>
* debian/rules: On sparc-linux, build strace64 as well.
	From Ben Collins <bcollins@debian.org>.
	Fixes Debian bug #254728.
2004-07-12 07:54:02 +00:00
Roland McGrath
0165e7790d 2004-07-12 Roland McGrath <roland@redhat.com>
* Makefile.am (EXTRA_DIST): Add linux/sparc64 files.
2004-07-12 07:53:59 +00:00
Roland McGrath
6d1a65c759 2004-07-07 David S. Miller <davem@nuts.davemloft.net>
* linux/sparc/syscallent.h: Sync with reality.
	* linux/sparc/syscall.h (sys_sendfile64, sys_futex, sys_gettid,
	sys_sched_setaffinity, sys_sched_getaffinity, sys_setxattr,
	sys_lsetxattr, sys_fsetxattr, sys_getxattr, sys_lgetxattr,
	sys_fgetxattr, sys_listxattr, sys_llistxattr, sys_flistxattr,
	sys_removexattr, sys_lremovexattr, sys_fremovexattr,
	sys_remap_file_pages, sys_readahead, sys_tgkill, sys_statfs64,
	sys_fstatfs64, sys_clock_settime, sys_clock_gettime,
	sys_clock_getres, sys_clock_nanosleep, sys_timer_create,
	sys_timer_settime, sys_timer_gettime): New declarations.
	* linux/sparc64/dummy2.h, linux/sparc64/syscallent2.h,
	linux/sparc64/syscall.h, linux/sparc64/errnoent.h,
	linux/sparc64/errnoent1.h, linux/sparc64/errnoent2.h,
	linux/sparc64/ioctlent.h, linux/sparc64/ioctlent1.h,
	linux/sparc64/ioctlent2.h, linux/sparc64/signalent.h,
	linux/sparc64/signalent.h, linux/sparc64/signalent.h,
	linux/sparc64/signalent1.h, linux/sparc64/signalent2.h,
	linux/sparc64/syscall1.h, linux/sparc64/syscallent.h,
	linux/sparc64/syscallent1.h: New files.
	* defs.h (LINUXSPARC): Define also when SPARC64.
	(LINUX && SPARC64): Set SUPPORTED_PERSONALITIES to 3.
	Ignore SIGTRAP after execve by defining TCB_WAITEXECVE.
	Define possibly missing __NR_exit_group.  Declare getrval2.
	* configure.ac (sparc64): New architecture case.
	* config.h.in (SPARC64): New define.
	* file.c (stat_sparc64): New structure.
	(printstat_sparc64): New output routine for that.
	(printstat): Call it, if personality is 2.
	(printstat64): Likewise.
	* util.c: Conditionalize ptrace defines on LINUXSPARC
	not LINUX && SPARC.
	(SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS
	to PTRACE_FOOREGS64 so that more sparc code can be shared
	between 64-bit and 32-bit.
	(_hack_syscall5): Correct trap number when SPARC64.
	(PTRACE_WRITE{TEXT,DATA}): Add SPARC64 to ifdef guard.
	(getpc): Handle SPARC64 && LINUX.
	(printcall): Likewise.
	(arg fetching/setting): Use same code for SPARC64 LINUX
	as for SPARC.
	(setbpt): Handle SPARC64 && LINUX.
	(clearbpt): Likewise.
	* signal.c: Conditionalize ptrace defines on SPARC and
	SPARC64.
	(SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS
	to PTRACE_FOOREGS64 so that more sparc code can be shared
	between 64-bit and 32-bit.
	(m_siginfo): Use same definition on SPARC64 as SPARC.
	(sys_sigreturn): Handle LINUX && SPARC64.
	* syscall.c: Conditionalize ptrace defines on SPARC and
	SPARC64.
	(SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS
	to PTRACE_FOOREGS64 so that more sparc code can be shared
	between 64-bit and 32-bit.
	(getscno): Use same static state on SPARC64 as SPARC,
	and add SPARC64 handling.
	(get_error): Handle LINUX && SPARC64.
	(force_result): Likewise.
	(syscall_enter): Likewise.
	(trace_syscall): Handle sys_socketcall and sys_ipc on SPARC64
	just like SPARC.
	(getrval2): Handle LINUX && SPARC64.
	* process.c: Conditionalize ptrace defines on SPARC and
	SPARC64.
	(SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS
	to PTRACE_FOOREGS64 so that more sparc code can be shared
	between 64-bit and 32-bit.
	(change_syscall): Handle LINUX && SPARC64.
	(struct_user_offsets): Ifdef out those which do not exist
	on SPARC64.
	* net.c (sys_pipe): Handle LINUX && SPARC64.
	* ioctl.c: Fix initializer typo for nioctlents2, was
	nioctlents1 by accident.
2004-07-12 07:44:08 +00:00
Roland McGrath
fdb097f637 2004-06-28 Andreas Schwab <schwab@suse.de>
* process.c (internal_exec): Move TCB_WAITEXECVE handling here.
	(sys_execve): Remove it here.
2004-07-12 07:38:55 +00:00
Roland McGrath
6b3b1fcee1 2004-07-12 Roland McGrath <roland@redhat.com>
* debian/control (Section): Move to utils, matching Debian override.
2004-07-12 07:27:25 +00:00
Roland McGrath
6617729a7a 2004-07-12 Roland McGrath <roland@redhat.com>
* Makefile.am (EXTRA_DIST): Add linux/sh64/syscallent.h.
2004-07-12 07:27:23 +00:00
Roland McGrath
23e86d6763 . 2004-07-12 07:13:12 +00:00
Roland McGrath
5687ff1ca7 2004-07-12 Roland McGrath <roland@redhat.com>
* net.c (addrfams): Make variable global.
	* sock.c (sock_ioctl): Decode the arguments for SIOCGIFNAME,
	SIOCGIFINDEX, and SIOCGIFCONF.
	From Ulrich Drepper <drepper@redhat.com>.
	Fixes RH#126917.
2004-07-12 07:13:06 +00:00
Roland McGrath
90a5a949d8 . 2004-07-12 07:04:55 +00:00
Roland McGrath
bd10245b09 2004-07-12 Roland McGrath <roland@redhat.com>
* linux/ioctlsort.c: Add some #includes.
	[POWERPC]: Kludge out high bits.
	* linux/ia64/ioctlent.h: Regenerated using RHEL3 headers.
	* linux/powerpc/ioctlent.h: Likewise.
2004-07-12 07:04:39 +00:00
Roland McGrath
61e0bebb44 2004-07-11 Roland McGrath <roland@redhat.com>
* linux/ioctlent.sh: Replace asm with $asm in all places.
2004-07-12 06:11:16 +00:00
Roland McGrath
adc2b308a1 Tweak maintainer rules. 2004-07-12 06:11:03 +00:00
Roland McGrath
16110b23a0 . 2004-07-12 05:45:26 +00:00
Roland McGrath
bc44e40e2a 2004-07-11 Roland McGrath <roland@redhat.com>
* configure.ac: Add I386 as AM_CONDITIONAL.
	* Makefile.am [LINUX]: Add maintainer-mode rules to regenerate
	the ioctlent.h file.
2004-07-12 05:45:08 +00:00
Roland McGrath
d265669557 2004-07-07 Roland McGrath <roland@redhat.com>
* linux/ioctlent.sh: Take optional second argument to use as directory
	name in place of `asm'.
2004-07-08 19:01:28 +00:00
Roland McGrath
533e52aeb0 . 2004-07-08 19:00:25 +00:00
Roland McGrath
9f09da616a 2004-07-08 Roland McGrath <roland@redhat.com>
* resource.c (sys_quotactl): Truncate first argument to 32 bits, since
	that's what the kernel will do.
2004-07-08 19:00:04 +00:00
Roland McGrath
2c72f3c1d7 . 2004-06-28 05:24:40 +00:00
Roland McGrath
b7e2ca1456 2004-06-27 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.5.5.
	* strace.spec, debian/changelog: 4.5.5-1.
2004-06-28 05:24:29 +00:00
Roland McGrath
7a391df72c . 2004-06-23 01:41:30 +00:00
Roland McGrath
a2dec92f02 . 2004-06-23 01:40:57 +00:00
Roland McGrath
998fac7049 2004-06-22 Roland McGrath <roland@redhat.com>
* syscall.c (syscall_fixup) [LINUX && X86_64]: For 32-bit process,
	sign extend the low 32 bits of RAX to 64 bits.
	* syscall.c (force_result): [LINUX && X86_64]: Fix RAX*4 -> RAX*8.
2004-06-23 01:40:45 +00:00
Roland McGrath
66a77f1aaf . 2004-06-04 02:36:03 +00:00
Roland McGrath
ed8e77e6d4 2004-06-03 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.5.4.
	* strace.spec, debian/changelog: 4.5.4-1.
2004-06-04 02:35:58 +00:00
Roland McGrath
0c542de51f . 2004-06-04 02:25:12 +00:00
Roland McGrath
5a8146a208 2004-06-03 Roland McGrath <roland@redhat.com>
* net.c (domains): Add many PF_* values #ifdef PF_*.
	(addrfams): Add many AF_* values #ifdef AF_*.
	Fixes Debian bug #250506.
2004-06-04 02:24:14 +00:00
Roland McGrath
337d391ae9 . 2004-06-04 02:03:15 +00:00
Roland McGrath
59fbb400b5 2004-05-02 Dmitry V. Levin <ldv@altlinux.org>
* linux/ioctlent.h: Regenerated from linux-2.6.5.
	Fixes RH#122257.
2004-06-04 02:03:08 +00:00
Roland McGrath
718f9a692f 2004-05-02 Dmitry V. Levin <ldv@altlinux.org>
* linux/ioctlent.sh: Build the list of ioctls defined in
	linux/fb.h (0x46..), linux/kd.h (0x4B..), linux/cdrom.h (0x53..),
	asm/ioctls.h (0x54..), linux/vt.h (0x56..), linux/videotext.h
	(0x71..), linux/videotext.h (0x72..), asm/sockios.h (0x89..),
	linux/sockios.h (0x89..), linux/wireless.h (0x8B..).
2004-06-04 02:03:06 +00:00
Roland McGrath
3dfd799d11 2004-05-02 Dmitry V. Levin <ldv@altlinux.org>
* linux/ioctlsort.c (compare): When ioctl codes equal, compare
	names.
	(main): Print a note that program output is generated by
	ioctlsort.
2004-06-04 02:03:05 +00:00
Roland McGrath
e01b8ce73a . 2004-06-04 02:01:54 +00:00
Roland McGrath
27387f9f4b 2004-06-03 Roland McGrath <roland@redhat.com>
* debian/control (Architecture): Add amd64.
	Fixes Debian bug #246568.
2004-06-04 02:01:48 +00:00
Roland McGrath
6d52da697d . 2004-06-04 01:50:53 +00:00
Roland McGrath
7b54a7ae61 2004-06-03 Roland McGrath <roland@redhat.com>
* strace.c (main) [LINUX]: Expand TCBTAB as necessary for threads
	attached.  Attach threads only under -f.  Set TCB_FOLLOWFORK in them.
	(expand_tcbtab): New function, broken out of ...
	* process.c (fork_tcb): ... here, call that.
	* defs.h: Declare expand_tcbtab.
2004-06-04 01:50:45 +00:00
Roland McGrath
25e8259c36 . 2004-06-04 01:24:12 +00:00
Roland McGrath
f8cc83c9ef 2004-04-19 Roland McGrath <roland@redhat.com>
* process.c (printstatus): Add a space before | in output.
2004-06-04 01:24:07 +00:00
Roland McGrath
252b185634 dup line 2004-04-16 22:49:18 +00:00
Roland McGrath
ea2402e72f . 2004-04-16 22:28:48 +00:00
Roland McGrath
a8c555fbbb 2004-04-16 Roland McGrath <roland@redhat.com>
* configure.ac: Version 4.5.3.
	* strace.spec, debian/changelog: 4.5.3-1.
2004-04-16 22:28:41 +00:00
Roland McGrath
025442c135 . 2004-04-16 21:59:05 +00:00
Roland McGrath
1a3d60e1fc 2004-03-18 Dmitry V. Levin <ldv@altlinux.org>
* resource.c (sys_quotactl) [LINUX]: Cast arithmetic shift operand
	from long to unsigned long, to fix output of the quotactl command
	parser.
2004-04-16 21:58:55 +00:00
Roland McGrath
5a8458bb03 2004-04-16 Roland McGrath <roland@redhat.com>
* linux/s390/ioctlent.h, linux/s390x/ioctlent.h: Update DASD ioctls.
	From Maxim Shchetynin <maxim@de.ibm.com>.
2004-04-16 21:58:49 +00:00
Roland McGrath
6508d3321a . 2004-04-16 21:54:59 +00:00
Roland McGrath
5e169a1b64 2004-04-16 Roland McGrath <roland@redhat.com>
* configure.ac: Check for <mqueue.h>.
	* ipc.c (sys_mq_open, printmqattr) [! HAVE_MQUEUE_H]: Don't try to
	decode struct mq_attr.
	* NEWS: Mention mq support.
2004-04-16 21:54:56 +00:00
Roland McGrath
d4c85ebbc6 2004-04-16 Roland McGrath <roland@redhat.com>
* linux/syscall.h: Support new mq_* syscalls on Linux.
	* linux/syscallent.h: Likewise.
	* linux/dummy.h: Likewise.
	* ipc.c: Likewise.
	* time.c (printsigevent): Handle SIGEV_THREAD.
	From Ulrich Drepper <drepper@redhat.com>.
	Fixes RH#120701.
2004-04-16 21:48:44 +00:00