]> granicus.if.org Git - strace/log
strace
20 years ago.
Roland McGrath [Fri, 4 Jun 2004 02:01:54 +0000 (02:01 +0000)]
.

20 years ago2004-06-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 4 Jun 2004 02:01:48 +0000 (02:01 +0000)]
2004-06-03  Roland McGrath  <roland@redhat.com>

* debian/control (Architecture): Add amd64.
Fixes Debian bug #246568.

20 years ago.
Roland McGrath [Fri, 4 Jun 2004 01:50:53 +0000 (01:50 +0000)]
.

20 years ago2004-06-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 4 Jun 2004 01:50:45 +0000 (01:50 +0000)]
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.

20 years ago.
Roland McGrath [Fri, 4 Jun 2004 01:24:12 +0000 (01:24 +0000)]
.

20 years ago2004-04-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 4 Jun 2004 01:24:07 +0000 (01:24 +0000)]
2004-04-19  Roland McGrath  <roland@redhat.com>

* process.c (printstatus): Add a space before | in output.

20 years agodup line
Roland McGrath [Fri, 16 Apr 2004 22:49:18 +0000 (22:49 +0000)]
dup line

20 years ago.
Roland McGrath [Fri, 16 Apr 2004 22:28:48 +0000 (22:28 +0000)]
.

20 years ago2004-04-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 16 Apr 2004 22:28:41 +0000 (22:28 +0000)]
2004-04-16  Roland McGrath  <roland@redhat.com>

* configure.ac: Version 4.5.3.
* strace.spec, debian/changelog: 4.5.3-1.

20 years ago.
Roland McGrath [Fri, 16 Apr 2004 21:59:05 +0000 (21:59 +0000)]
.

20 years ago2004-03-18 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Fri, 16 Apr 2004 21:58:55 +0000 (21:58 +0000)]
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.

20 years ago2004-04-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 16 Apr 2004 21:58:49 +0000 (21:58 +0000)]
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>.

20 years ago.
Roland McGrath [Fri, 16 Apr 2004 21:54:59 +0000 (21:54 +0000)]
.

20 years ago2004-04-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 16 Apr 2004 21:54:56 +0000 (21:54 +0000)]
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.

20 years ago2004-04-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 16 Apr 2004 21:48:44 +0000 (21:48 +0000)]
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.

20 years ago.
Roland McGrath [Fri, 16 Apr 2004 21:48:43 +0000 (21:48 +0000)]
.

20 years ago2004-04-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 16 Apr 2004 21:48:42 +0000 (21:48 +0000)]
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.

20 years ago2004-04-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 16 Apr 2004 21:48:40 +0000 (21:48 +0000)]
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.
* 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.

20 years ago.
Roland McGrath [Wed, 14 Apr 2004 02:54:02 +0000 (02:54 +0000)]
.

20 years ago2004-04-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 14 Apr 2004 02:53:54 +0000 (02:53 +0000)]
2004-04-13  Roland McGrath  <roland@redhat.com>

* net.c (msg_flags): Grok MSG_FIX, MSG_SYN, MSG_RST, MSG_NOSIGNAL,
MSG_MORE.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#120541.

20 years ago.
Roland McGrath [Wed, 14 Apr 2004 02:46:35 +0000 (02:46 +0000)]
.

20 years ago2004-04-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 14 Apr 2004 02:45:55 +0000 (02:45 +0000)]
2004-04-13  Roland McGrath  <roland@redhat.com>

* process.c (printstatus): Mask out bits presented symbolically, and
print "| 0xnnn" if the remaining bits are not all zero.
Fixes Debian bug #240062.
* process.c (print_affinitylist): Rewritten to handle indirect values.
(sys_sched_setaffinity, sys_sched_getaffinity): Update callers.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#118685.

20 years ago2004-04-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 14 Apr 2004 02:45:53 +0000 (02:45 +0000)]
2004-04-13  Roland McGrath  <roland@redhat.com>

* acinclude.m4: Quote first argument to AC_DEFUN in all cases.

20 years ago.
Roland McGrath [Fri, 9 Apr 2004 00:25:47 +0000 (00:25 +0000)]
.

20 years ago2004-04-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 9 Apr 2004 00:25:38 +0000 (00:25 +0000)]
2004-04-08  Roland McGrath  <roland@redhat.com>

* strace.c (main) [LINUX]: When attaching for -p, look in
/proc/PID/task for all threads and attach them as presumed
CLONE_THREAD children.
* NEWS: Mention the feature.

20 years ago2004-04-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 9 Apr 2004 00:25:21 +0000 (00:25 +0000)]
2004-04-08  Roland McGrath  <roland@redhat.com>

* strace.c (main) [LINUX]: When attaching for -p, look in
/proc/PID/task for all threads and attach them as presumed
CLONE_THREAD children.

20 years ago.
Roland McGrath [Tue, 2 Mar 2004 08:50:47 +0000 (08:50 +0000)]
.

20 years ago2004-03-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 2 Mar 2004 08:50:42 +0000 (08:50 +0000)]
2004-03-02  Roland McGrath  <roland@redhat.com>

* util.c (setbpt): Fix one missed spot to use new arg0_index macro.
From Michael Holzheu <HOLZHEU@de.ibm.com>.

20 years ago.
Roland McGrath [Tue, 2 Mar 2004 08:07:20 +0000 (08:07 +0000)]
.

20 years ago2004-03-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 2 Mar 2004 08:07:11 +0000 (08:07 +0000)]
2004-03-02  Roland McGrath  <roland@redhat.com>

* debian/control (Standards-Version): Update to 3.6.1.

20 years ago.
Roland McGrath [Tue, 2 Mar 2004 06:54:57 +0000 (06:54 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 2 Mar 2004 06:52:01 +0000 (06:52 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* strace.c (main): Avoid potential buffer overruns from ludicrous
arguments or PATH values.
* syscall.c (qual_signal): Bail out for too-long string.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 2 Mar 2004 06:50:04 +0000 (06:50 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* strace.c (main): Avoid potential buffer overruns from ludicrous
arguments or PATH values.

20 years ago.
Roland McGrath [Tue, 2 Mar 2004 06:38:40 +0000 (06:38 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 2 Mar 2004 06:38:35 +0000 (06:38 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.2.
* strace.spec, debian/changelog: 4.5.1-1.

20 years ago.
Roland McGrath [Tue, 2 Mar 2004 06:23:08 +0000 (06:23 +0000)]
.

20 years ago.
Roland McGrath [Tue, 2 Mar 2004 06:17:11 +0000 (06:17 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 2 Mar 2004 06:16:59 +0000 (06:16 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* mem.c [LINUX]: <asm/mman.h> -> <linux/mman.h>

20 years ago.
Roland McGrath [Tue, 2 Mar 2004 06:09:35 +0000 (06:09 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 2 Mar 2004 06:08:55 +0000 (06:08 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* linux/sparc/syscall.h: Copy linux/syscall.h defns of sys_sched_*.

20 years ago.
Roland McGrath [Mon, 1 Mar 2004 22:10:58 +0000 (22:10 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 1 Mar 2004 22:10:54 +0000 (22:10 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* system.c (sysctl_vm): Conditionalize VM_* macro uses, add some more.
From Tim Yamin <plasmaroo@gentoo.org>.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 1 Mar 2004 22:10:52 +0000 (22:10 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* configure.ac: Check for `struct user_desc' in <asm/ldt.h>.
* process.c [HAVE_STRUCT_USER_DESC]: Use struct user_desc in place of
struct modify_ldt_ldt_s.
* mem.c [HAVE_STRUCT_USER_DESC]: Likewise.

20 years ago.
Roland McGrath [Mon, 1 Mar 2004 22:04:09 +0000 (22:04 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 1 Mar 2004 22:03:58 +0000 (22:03 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* process.c (sys_execve): Clear instead of set TCB_WAITEXECVE on
erring syscall.

20 years ago.
Roland McGrath [Mon, 1 Mar 2004 21:31:07 +0000 (21:31 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 1 Mar 2004 21:31:02 +0000 (21:31 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* configure.ac: Check for `struct pt_all_user_regs'
and `struct ia64_fpreg' in <sys/ptrace.h>.
* util.c, process.c, syscall.c, signal.c: Work around conflicts between
<sys/ptrace.h> and <linux/ptrace.h> for defining those types.

20 years ago.
Roland McGrath [Mon, 1 Mar 2004 21:29:31 +0000 (21:29 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 1 Mar 2004 21:29:24 +0000 (21:29 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* process.c (struct_user_offsets) [LINUX && IA64]: Conditionalize
PT_AR_CSD and PT_AR_SSD uses in case of older kernel headers.
* configure.ac: Check for `struct pt_all_user_regs'
and `struct ia64_fpreg' in <sys/ptrace.h>.
* util.c, process.c, syscall.c: Work around conflicts between
<sys/ptrace.h> and <linux/ptrace.h> for defining those types.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 1 Mar 2004 21:29:22 +0000 (21:29 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* configure.ac: Check for `struct pt_all_user_regs'
and `struct ia64_fpreg' in <sys/ptrace.h>.
* util.c, process.c, syscall.c: Work around conflicts between
<sys/ptrace.h> and <linux/ptrace.h> for defining those types.

20 years agoTweak last change.
Roland McGrath [Mon, 1 Mar 2004 21:05:16 +0000 (21:05 +0000)]
Tweak last change.

20 years ago.
Roland McGrath [Mon, 1 Mar 2004 20:57:16 +0000 (20:57 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 1 Mar 2004 20:57:09 +0000 (20:57 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* util.c [LINUX] (arg0_index, arg1_index): New macros.
[S390 || S390X]: Define them with inverted values.
(setbpt): Use them for u_arg indices.

20 years ago.
Roland McGrath [Mon, 1 Mar 2004 20:30:51 +0000 (20:30 +0000)]
.

20 years ago2004-02-26 Andreas Schwab <schwab@suse.de>
Roland McGrath [Mon, 1 Mar 2004 20:30:48 +0000 (20:30 +0000)]
2004-02-26  Andreas Schwab  <schwab@suse.de>

* defs.h [LINUX && IA64]: Declare getrval2 also on IA64.
* net.c (sys_pipe) [LINUX && IA64]: For IA64 use the two return values.
* syscall.c (getrval2) [LINUX && IA64]: Implement for IA64.

20 years ago.
Roland McGrath [Mon, 1 Mar 2004 20:28:19 +0000 (20:28 +0000)]
.

20 years ago2004-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 1 Mar 2004 20:27:37 +0000 (20:27 +0000)]
2004-03-01  Roland McGrath  <roland@redhat.com>

* linux/dummy.h (sys_sched_getscheduler, sys_sched_setparam,
sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler,
sys_sched_get_priority_max, sys_sched_get_priority_min): Remove macros.
* process.c [LINUX] (sys_sched_getscheduler, sys_sched_setparam,
sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler,
sys_sched_get_priority_min): New functions.
From Ulrich Drepper <drepper@redhat.com>.

20 years ago.
Roland McGrath [Fri, 20 Feb 2004 23:21:34 +0000 (23:21 +0000)]
.

20 years ago2004-02-20 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 20 Feb 2004 23:19:21 +0000 (23:19 +0000)]
2004-02-20  Roland McGrath  <roland@redhat.com>

* linux/hppa/syscallent.h: Update some syscalls.
From Randolph Chung <tausq@debian.org>.
Fixes Debian bug #231632.

20 years ago.
Roland McGrath [Fri, 20 Feb 2004 22:56:55 +0000 (22:56 +0000)]
.

20 years ago2003-12-31 David Mosberger <davidm@hpl.hp.com>
Roland McGrath [Fri, 20 Feb 2004 22:56:43 +0000 (22:56 +0000)]
2003-12-31  David Mosberger  <davidm@hpl.hp.com>

* process.c (internal_exit): For ia64, also recognize IA-32 252
as exit_group().
(change_syscall): For IA64, also support changing IA-32 syscalls.
* syscall.c (internal_syscall): For IA64, also recognize IA-32
        syscall 252 (exit_group) as an internal_exit() syscall.
* util.c (SYS_fork): For IA64, define them to the IA-32 syscall
number.
(SYS_vfork): Likewise.
(arg_setup): For IA64 version, also support IA-32 syscalls.
(get_arg0): Likewise.
(get_arg1): Likewise.
(set_arg0): Likewise.
(set_arg1): Likewise.

20 years ago.
Roland McGrath [Fri, 20 Feb 2004 02:25:42 +0000 (02:25 +0000)]
.

20 years ago2004-02-15 Anton Blanchard <anton@samba.org>
Roland McGrath [Fri, 20 Feb 2004 02:25:18 +0000 (02:25 +0000)]
2004-02-15  Anton Blanchard  <anton@samba.org>

* linux/powerpc/syscallent.h: Add rtas call.
Shift multiplexed syscalls to start at 300, we are already about
to hit 256 real syscalls.
* linux/syscall.h: SYS_socket_subcall is now 300 for [POWERPC].

20 years ago2004-02-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 20 Feb 2004 02:23:52 +0000 (02:23 +0000)]
2004-02-19  Roland McGrath  <roland@redhat.com>

* strace.c (main): Use TCP->pid, not PID, in -p message.
Fixes Debian bug #229802.

20 years ago2004-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 20 Feb 2004 02:23:30 +0000 (02:23 +0000)]
2004-01-13  Roland McGrath  <roland@redhat.com>

* syscall.c (force_result) [LINUX] [S390 || S390X]: Remove bogus upeek
call.

20 years agoRevert jhughes commits.
Roland McGrath [Fri, 20 Feb 2004 02:22:35 +0000 (02:22 +0000)]
Revert jhughes commits.

20 years agoBetter output for sys_migrate
John Hughes [Thu, 5 Feb 2004 14:37:02 +0000 (14:37 +0000)]
Better output for sys_migrate

20 years agoport SSI clustering mods to OpenSSI on Linux
John Hughes [Thu, 29 Jan 2004 11:17:50 +0000 (11:17 +0000)]
port SSI clustering mods to OpenSSI on Linux

20 years ago.
Roland McGrath [Tue, 13 Jan 2004 10:18:52 +0000 (10:18 +0000)]
.

20 years ago2004-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 13 Jan 2004 10:18:46 +0000 (10:18 +0000)]
2004-01-13  Roland McGrath  <roland@redhat.com>

* stream.c (internal_stream_ioctl): Fix typo strict -> struct.
Reported by Petter Reinholdtsen <pere@hungry.com>.

20 years ago.
Roland McGrath [Tue, 13 Jan 2004 10:17:00 +0000 (10:17 +0000)]
.

20 years ago2003-12-14 Anton Blanchard <anton@samba.org>
Roland McGrath [Tue, 13 Jan 2004 10:16:47 +0000 (10:16 +0000)]
2003-12-14 Anton Blanchard <anton@samba.org>

* file.c (sys_getdents64): Don't cast d_ino and d_off to unsigned long.
Use %llu formats for them.

20 years ago.
Roland McGrath [Tue, 13 Jan 2004 10:14:04 +0000 (10:14 +0000)]
.

20 years ago2003-12-14 Anton Blanchard <anton@samba.org>
Roland McGrath [Tue, 13 Jan 2004 10:13:45 +0000 (10:13 +0000)]
2003-12-14 Anton Blanchard <anton@samba.org>

* file.c [LINUX] (fsmagic): Add SYSFS_MAGIC.

20 years ago2003-12-14 Anton Blanchard <anton@samba.org>
Roland McGrath [Tue, 13 Jan 2004 10:13:44 +0000 (10:13 +0000)]
2003-12-14 Anton Blanchard <anton@samba.org>

* syscall.c (get_error) [POWERPC]: Cast result to unsigned long for
ppc64, we were misreporting syscalls that really succeeded as having
failed.

20 years ago2003-12-14 Anton Blanchard <anton@samba.org>
Roland McGrath [Tue, 13 Jan 2004 10:13:43 +0000 (10:13 +0000)]
2003-12-14 Anton Blanchard <anton@samba.org>

* linux/powerpc/syscallent.h: Update to include recently added
syscalls.

20 years ago2003-12-31 David Mosberger <davidm@hpl.hp.com>
Roland McGrath [Tue, 13 Jan 2004 10:13:20 +0000 (10:13 +0000)]
2003-12-31  David Mosberger  <davidm@hpl.hp.com>

* process.c (struct_user_offsets) [IA64]: Fix up register name list.

20 years ago.
Roland McGrath [Tue, 13 Jan 2004 10:00:01 +0000 (10:00 +0000)]
.

20 years ago2004-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 13 Jan 2004 09:59:55 +0000 (09:59 +0000)]
2004-01-13  Roland McGrath  <roland@redhat.com>

* strace.1: Remove comment about vfork on Linux.
Fixes Debian bug #223390.

20 years ago2003-12-15 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Tue, 13 Jan 2004 09:59:45 +0000 (09:59 +0000)]
2003-12-15  Dmitry V. Levin <ldv@altlinux.org>

* strace.c (trace) [WCOREDUMP]: Show coredump status of the
killed process if available.

20 years ago.
Roland McGrath [Tue, 13 Jan 2004 09:52:52 +0000 (09:52 +0000)]
.

20 years ago2004-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 13 Jan 2004 09:47:49 +0000 (09:47 +0000)]
2004-01-13  Roland McGrath  <roland@redhat.com>

* file.c (direnttypes): Define under [LINUX] as well.  Add DT_UNKNOWN.
(sys_getdents64) [LINUX]: Print d_type field.

20 years ago.
Roland McGrath [Fri, 14 Nov 2003 02:57:31 +0000 (02:57 +0000)]
.

20 years ago2003-11-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 14 Nov 2003 02:57:22 +0000 (02:57 +0000)]
2003-11-13  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.1.
* strace.spec, debian/changelog: 4.5.1-1.

20 years ago.
Roland McGrath [Fri, 14 Nov 2003 02:54:09 +0000 (02:54 +0000)]
.

20 years ago2003-09-06 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Fri, 14 Nov 2003 02:54:03 +0000 (02:54 +0000)]
2003-09-06  Dmitry V. Levin <ldv@altlinux.org>

* defs.h (ioctl_lookup): Prototype change.
* ioctl.c (ioctl_next_match): New function.
* defs.h: Declare it.
* io.c (sys_ioctl): Use it, to display all possible ioctl names
when there's more than one match.
* ioctl.c (ioctl_lookup): Likewise.
* stream.c (internal_stream_ioctl): Likewise.
Patch from Solar Designer <solar@openwall.com>.

20 years ago.
Roland McGrath [Thu, 13 Nov 2003 22:33:48 +0000 (22:33 +0000)]
.

20 years ago.
Roland McGrath [Thu, 13 Nov 2003 22:32:32 +0000 (22:32 +0000)]
.

20 years ago2003-11-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 13 Nov 2003 22:32:28 +0000 (22:32 +0000)]
2003-11-13  Roland McGrath  <roland@redhat.com>

* linux/sh/syscallent.h: Use sys_setgroups32, sys_getgroups32.
* linux/sh64/syscallent.h: Likewise.

20 years ago2003-09-06 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 13 Nov 2003 22:32:27 +0000 (22:32 +0000)]
2003-09-06  Dmitry V. Levin <ldv@altlinux.org>

* util.c (printuid): New function.
* defs.h: Declare it.
* file.c (sys_chown): Use it.
* file.c (sys_fchown): Likewise.
* process.c (sys_setreuid, sys_setregid, sys_setresuid,
sys_setresgid): Likewise.

20 years ago2003-09-06 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 13 Nov 2003 22:32:26 +0000 (22:32 +0000)]
2003-09-06  Dmitry V. Levin <ldv@altlinux.org>

* util.c (printuid): New function.
* defs.h: Declare it.
* file.c (sys_chown): Use it.
* file.c (sys_fchown): Likewise.
* process.c (sys_setreuid, sys_setregid, sys_setresuid,
sys_setresgid): Likewise.
* linux/syscallent.h: Better handle getgid32, geteuid32, getegid32,
setreuid32, setregid32, getgroups32, setgroups32, fchown32,
setresuid32, getresuid32, setresgid32, getresgid32, chown32,
setuid32, setgid32, setfsuid32, setfsgid32.
* process.c [LINUX]: Define GETGROUPS32_T.
* process.c [LINUX] (sys_setgroups32, sys_getgroups32):
New functions.
* linux/syscall.h (sys_setgroups32, sys_getgroups32):
Declare them.

20 years ago2003-09-06 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 13 Nov 2003 22:32:25 +0000 (22:32 +0000)]
2003-09-06  Dmitry V. Levin <ldv@altlinux.org>

* linux/syscallent.h: Better handle getgid32, geteuid32, getegid32,
setreuid32, setregid32, getgroups32, setgroups32, fchown32,
setresuid32, getresuid32, setresgid32, getresgid32, chown32,
setuid32, setgid32, setfsuid32, setfsgid32.
* process.c [LINUX]: Define GETGROUPS32_T.
* process.c [LINUX] (sys_setgroups32, sys_getgroups32):
New functions.
* linux/syscall.h (sys_setgroups32, sys_getgroups32):
Declare them.

20 years ago.
Roland McGrath [Tue, 11 Nov 2003 21:24:28 +0000 (21:24 +0000)]
.

20 years ago2003-11-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 11 Nov 2003 21:24:23 +0000 (21:24 +0000)]
2003-11-11  Roland McGrath  <roland@redhat.com>

* strace.c (main): Bail with usage error for missing command before we
open the -o file or fiddle uids.

20 years ago.
Roland McGrath [Fri, 7 Nov 2003 02:36:45 +0000 (02:36 +0000)]
.

20 years ago2003-11-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 7 Nov 2003 02:26:54 +0000 (02:26 +0000)]
2003-11-06  Roland McGrath  <roland@redhat.com>

* strace.c (main): Treat piped output more like file output.
Disallow -ff with piped output.  Fixes RH#105366.
Reported by Dmitry V. Levin <ldv@altlinux.org>

20 years ago.
Roland McGrath [Thu, 6 Nov 2003 23:41:33 +0000 (23:41 +0000)]
.

20 years ago2003-11-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 6 Nov 2003 23:41:23 +0000 (23:41 +0000)]
2003-11-06  Roland McGrath  <roland@redhat.com>

* net.c (printsock): Fix typo in #ifdef AF_NETLINK.
From Ulrich Drepper <drepper@redhat.com>.

20 years ago2003-11-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 6 Nov 2003 23:41:22 +0000 (23:41 +0000)]
2003-11-06  Roland McGrath  <roland@redhat.com>

* strace.c (tprintf): Check result of vfprintf and use perror when it
fails while not writing to stderr itself.  Fixes Debian bug #218762.

20 years ago.
Roland McGrath [Sat, 1 Nov 2003 22:13:35 +0000 (22:13 +0000)]
.