]> granicus.if.org Git - strace/log
strace
19 years ago2004-12-19 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Sun, 6 Feb 2005 01:16:32 +0000 (01:16 +0000)]
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.

19 years ago2005-02-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 6 Feb 2005 01:16:22 +0000 (01:16 +0000)]
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.

19 years agonit
Roland McGrath [Fri, 4 Feb 2005 10:13:15 +0000 (10:13 +0000)]
nit

19 years ago.
Roland McGrath [Fri, 4 Feb 2005 09:54:16 +0000 (09:54 +0000)]
.

19 years ago2005-02-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 4 Feb 2005 09:54:04 +0000 (09:54 +0000)]
2005-02-04  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.9.
* debian/changelog, strace.spec: 4.5.9-2.

19 years ago.
Roland McGrath [Fri, 4 Feb 2005 09:50:24 +0000 (09:50 +0000)]
.

19 years ago2005-02-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 4 Feb 2005 09:49:56 +0000 (09:49 +0000)]
2005-02-04  Roland McGrath  <roland@redhat.com>

* file.c (O_LARGEFILE): Omit when #undef'd because it was zero.

19 years ago.
Roland McGrath [Fri, 4 Feb 2005 09:29:11 +0000 (09:29 +0000)]
.

19 years ago2005-02-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 4 Feb 2005 09:29:04 +0000 (09:29 +0000)]
2005-02-04  Roland McGrath  <roland@redhat.com>

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

19 years ago.
Roland McGrath [Thu, 3 Feb 2005 03:19:43 +0000 (03:19 +0000)]
.

19 years ago2005-02-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 3 Feb 2005 03:19:34 +0000 (03:19 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 22:11:37 +0000 (22:11 +0000)]
.

19 years ago2005-02-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 22:11:32 +0000 (22:11 +0000)]
2005-02-02  Roland McGrath  <roland@redhat.com>

* file.c (openmodes) [O_LARGEFILE] [O_LARGEFILE == 0]: Redefine to
known values for Linux.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 20:55:27 +0000 (20:55 +0000)]
.

19 years ago2005-02-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 20:55:23 +0000 (20:55 +0000)]
2005-02-02  Roland McGrath  <roland@redhat.com>

* util.c (printcall): Print 16 ?s when long is 8 bytes.
Fixes RH#146932.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 20:45:37 +0000 (20:45 +0000)]
.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 20:32:37 +0000 (20:32 +0000)]
.

19 years ago2005-02-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 20:32:13 +0000 (20:32 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 20:25:36 +0000 (20:25 +0000)]
.

19 years ago2005-02-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 20:25:17 +0000 (20:25 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 04:45:09 +0000 (04:45 +0000)]
.

19 years ago2004-12-20 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Wed, 2 Feb 2005 04:44:57 +0000 (04:44 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 04:42:56 +0000 (04:42 +0000)]
.

19 years ago2004-12-20 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Wed, 2 Feb 2005 04:42:25 +0000 (04:42 +0000)]
2004-12-20  Dmitry V. Levin  <ldv@altlinux.org>

* syscall.c (call_summary): Fix potential NULL dereference.
Fixes RH#143369.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 04:40:36 +0000 (04:40 +0000)]
.

19 years ago2004-12-19 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Wed, 2 Feb 2005 04:40:11 +0000 (04:40 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 04:36:38 +0000 (04:36 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 04:36:11 +0000 (04:36 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 04:19:19 +0000 (04:19 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 04:19:06 +0000 (04:19 +0000)]
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.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 04:17:00 +0000 (04:17 +0000)]
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.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 04:16:58 +0000 (04:16 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 04:16:58 +0000 (04:16 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 04:16:56 +0000 (04:16 +0000)]
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.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 04:16:54 +0000 (04:16 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* signal.c [HAVE_SIGACTION] [LINUX && X86_64] (SA_RESTORER): Define
here too.
Part of RH#142667.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 04:16:52 +0000 (04:16 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 03:51:22 +0000 (03:51 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 03:51:18 +0000 (03:51 +0000)]
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.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 03:42:51 +0000 (03:42 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* linux/syscall.h [IA64] (SYS_semtimedop): #undef it.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 03:38:49 +0000 (03:38 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 03:38:32 +0000 (03:38 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 03:11:43 +0000 (03:11 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 03:11:32 +0000 (03:11 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* net.c (sys_getsockopt): Fix a format %ld -> %d.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 03:07:24 +0000 (03:07 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 03:06:52 +0000 (03:06 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* syscall.c (syscall_enter) [X86_64]: Fix 32-bit argument register map
not to double the middle entry!

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 02:54:35 +0000 (02:54 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 02:54:33 +0000 (02:54 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Fix exit_group entry.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 02:49:03 +0000 (02:49 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 02:49:02 +0000 (02:49 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* linux/ia64/syscallent.h: Add fadvise64, fstatfs64, statfs64, mbind,
[gs]et_mempolicy, mq_*, sys_kexec_load, vserver, and waitid.
Fixes RH#146245.

19 years ago2005-01-22 Andreas Schwab <schwab@suse.de>
Roland McGrath [Wed, 2 Feb 2005 02:48:57 +0000 (02:48 +0000)]
2005-01-22  Andreas Schwab  <schwab@suse.de>

* net.c (sys_getsockopt): Change type of len to int.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 02:48:53 +0000 (02:48 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* util.c (getpc) [S390 || S390X]: Implement it.
Patch by David Wilder <wilder@us.ibm.com>.

19 years ago.
Roland McGrath [Wed, 20 Oct 2004 02:24:28 +0000 (02:24 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:24:19 +0000 (02:24 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* file.c (sys_fadvise64): Conditionalize just on [LINUX].

19 years ago.
Roland McGrath [Wed, 20 Oct 2004 02:17:58 +0000 (02:17 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:17:52 +0000 (02:17 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

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

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:17:41 +0000 (02:17 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* configure.ac: Check for sys/epoll.h.
* desc.c: Protect #include <sys/epoll.h> with [HAVE_SYS_EPOLL_H].
(epollctls, epollevents): Protect each entry with #ifdef on its macro.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:17:41 +0000 (02:17 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* configure.ac: Check for sys/epoll.h.
* desc.c: Protect #include <sys/epoll.h> with [HAVE_SYS_EPOLL_H].
(epollctls, epollevents): Protect each entry with #ifdef on its macro.

19 years ago.
Roland McGrath [Wed, 20 Oct 2004 02:04:19 +0000 (02:04 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:04:15 +0000 (02:04 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* strace.c (handle_group_exit): Don't detach leader that wasn't
TCB_ATTACHED.  Instead mark it with TCB_GROUP_EXITING.
Remove droptcb loop at end, no longer required since 2.6 reports each
thread death.
Fixes RH#135254.

19 years ago.
Roland McGrath [Wed, 20 Oct 2004 01:00:45 +0000 (01:00 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 01:00:27 +0000 (01:00 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* strace.c (trace): Use handle_group_exit for non-TCB_ATTACHED child
taking signal when it has nclone_threads > 0.
* strace.c (handle_group_exit): Don't detach leader that wasn't
TCB_ATTACHED.
* strace.c (handle_group_exit, trace): Mark leader with
TCB_GROUP_EXITING and don't be surprised at child deaths when their
leader has it set.
Fixes RH#132150.

19 years ago.
Roland McGrath [Tue, 19 Oct 2004 23:33:53 +0000 (23:33 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:33:50 +0000 (23:33 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* sock.c [! LINUX]: Include <sys/socket.h> before <sys/sockio.h>.
Reported by Marty Leisner <mleisner@eng.mc.xerox.com>.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:33:47 +0000 (23:33 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* process.c (WCOREFLAG): Define if not defined.
(W_STOPCODE, W_EXITCODE): Likewise.
Reported by Marty Leisner <mleisner@eng.mc.xerox.com>.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:29:47 +0000 (23:29 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* debian/rules: Make strace64.1.gz symlink to strace.1.gz instead of
strace64.1 to strace.1, which doesn't exist.
Fixes Debian bug #269220.

19 years ago2004-09-05 Phil Blundell <pb@nexus.co.uk>
Roland McGrath [Tue, 19 Oct 2004 23:29:27 +0000 (23:29 +0000)]
2004-09-05  Phil Blundell  <pb@nexus.co.uk>

* linux/arm/syscallent.h: New file.

19 years ago2004-09-14 Richard Henderson <rth@twiddle.net>
Roland McGrath [Tue, 19 Oct 2004 23:23:59 +0000 (23:23 +0000)]
2004-09-14  Richard Henderson  <rth@twiddle.net>

* linux/alpha/syscallent.h: Add tgkill, *stat64, vserver, mbind,
[gs]et_mempolicy, mq_*, waitid.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:23:36 +0000 (23:23 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

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

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:23:34 +0000 (23:23 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* debian/rules (DEB_BUILD_GNU_TYPE, CONFIG_OPTS): New variables.
[$(DEB_HOST_GNU_TYPE) == s390-linux] (build64, HOST64, CC64): Set them.
(build/Makefile): Use $(CONFIG_OPTS).
(build64/Makefile): Pass --host as well as --build.
From Steve Langasek <vorlon@debian.org>.
Fixes Debian bug #271500.

19 years ago.
Roland McGrath [Tue, 19 Oct 2004 23:00:14 +0000 (23:00 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 22:59:55 +0000 (22:59 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* file.c (sys_llseek): Revert last change.

19 years ago.
Roland McGrath [Thu, 7 Oct 2004 19:09:23 +0000 (19:09 +0000)]
.

19 years ago2004-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 7 Oct 2004 19:09:16 +0000 (19:09 +0000)]
2004-10-07  Roland McGrath  <roland@redhat.com>

* file.c (sys_llssek, sys_readahead, sys_fadvise64, sys_fadvise64_64):
Use LONG_LONG macro.
* io.c (sys_pread, sys_pwrite, sys_sendfile): Likewise.

19 years ago.
Roland McGrath [Thu, 7 Oct 2004 18:59:13 +0000 (18:59 +0000)]
.

19 years ago2004-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 7 Oct 2004 18:58:45 +0000 (18:58 +0000)]
2004-10-07  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Fix botched table entries.
From Ulrich Drepper <drepper@redhat.com>.

19 years ago.
Roland McGrath [Thu, 7 Oct 2004 18:53:17 +0000 (18:53 +0000)]
.

19 years ago2004-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 7 Oct 2004 18:53:12 +0000 (18:53 +0000)]
2004-10-07  Roland McGrath  <roland@redhat.com>

* mem.c [LINUX] (sys_mbind, sys_set_mempolicy, sys_get_mempolicy):
New functions.
* linux/syscall.h: Declare them.
* linux/x86_64/syscallent.h: Likewise.
* linux/syscallent.h: Handle mbind, set_mempolicy, get_mempolicy.
From Ulrich Drepper <drepper@redhat.com>.

19 years ago.
Roland McGrath [Thu, 7 Oct 2004 18:51:22 +0000 (18:51 +0000)]
.

19 years ago2004-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 7 Oct 2004 18:51:19 +0000 (18:51 +0000)]
2004-10-07  Roland McGrath  <roland@redhat.com>

* file.c [LINUX && (I386 || X86_64)] (sys_fadvise64, sys_fadvise64_64):
New functions.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Handle fadvise64 and fadvise64_64 using those.
From Ulrich Drepper <drepper@redhat.com>.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:32:04 +0000 (22:32 +0000)]
.

19 years ago2004-09-13 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Wed, 6 Oct 2004 22:31:38 +0000 (22:31 +0000)]
2004-09-13  Dmitry V. Levin  <ldv@altlinux.org>

* linux/ioctlsort.c (main): Omit duplicate lines
(with same name and code) from output.
* linux/ioctlent.sh: Build the list of ioctls defined in
scsi/sg.h (0x22..), scsi/scsi.h and scsi/scsi_ioctl.h (0x53..),
as suggested by Peter Jones <pjones@redhat.com>
* linux/ioctlent.h: Regenerated.
Fixes RH#129808.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:28:17 +0000 (22:28 +0000)]
.

19 years ago2004-09-13 Ulrich Drepper <drepper@redhat.com>, Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Wed, 6 Oct 2004 22:27:43 +0000 (22:27 +0000)]
2004-09-13  Ulrich Drepper <drepper@redhat.com>, Dmitry V. Levin <ldv@altlinux.org>

* time.c [LINUX] (print_rtc): New function, for printing rtc_time
structure.
[LINUX] (rtc_ioctl): New function, for parsing RTC_* ioctls.
* ioctl.c [LINUX] (ioctl_decode): Call rtc_ioctl.
* defs.h [LINUX]: Declare rtc_ioctl.
Fixes RH#58606.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:23:55 +0000 (22:23 +0000)]
.

19 years ago2004-10-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:23:31 +0000 (22:23 +0000)]
2004-10-06  Roland McGrath  <roland@redhat.com>

* desc.c [LINUX] (sys_epoll_create, sys_epoll_ctl, sys_epoll_wait):
New functions.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Use those for epoll_* syscalls.
* linux/alpha/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc64/syscallent2.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#134463.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:15:18 +0000 (22:15 +0000)]
.

19 years ago2004-10-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:14:53 +0000 (22:14 +0000)]
2004-10-06  Roland McGrath  <roland@redhat.com>

* resource.c (resources): Add RLIMIT_LOCKS, RLIMIT_SIGPENDING,
and RLIMIT_MSGQUEUE, if defined.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#133594.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:12:09 +0000 (22:12 +0000)]
.

19 years ago2004-10-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:11:54 +0000 (22:11 +0000)]
2004-10-06  Roland McGrath  <roland@redhat.com>

* file.c (sprintmode): Add const to return type.
(sprintfstype): Likewise.
* signal.c (printsiginfo): Add a const.

19 years ago2004-10-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:11:51 +0000 (22:11 +0000)]
2004-10-06  Roland McGrath  <roland@redhat.com>

* net.c [HAVE_SENDMSG] (printcmsghdr): New function.
(printmsghdr): Use it.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:03:22 +0000 (22:03 +0000)]
.

19 years ago2004-09-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:02:59 +0000 (22:02 +0000)]
2004-09-15  Roland McGrath  <roland@redhat.com>

* linux/syscallent.h: waitid takes 5 arguments, and is in TP category.
* process.c (sys_waitid): Handle fifth argument (struct rusage *).

19 years ago2004-09-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:02:41 +0000 (22:02 +0000)]
2004-09-15  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Use sys_waitid.

20 years ago.
Roland McGrath [Sat, 11 Sep 2004 08:13:27 +0000 (08:13 +0000)]
.

20 years ago2004-09-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 11 Sep 2004 08:12:45 +0000 (08:12 +0000)]
2004-09-11  Roland McGrath  <roland@redhat.com>

* time.c (sys_clock_nanosleep): Print zero flags arg correctly.
(sys_timer_settime): Likewise.
(printsigevent): Print signals by name for SIGEV_SIGNAL.
(sys_timer_create): Print clock ID symbolically.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#131420.

20 years ago2004-09-07 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Tue, 7 Sep 2004 14:06:03 +0000 (14:06 +0000)]
2004-09-07  Michal Ludvig  <mludvig@suse.cz>

* defs.h (nioctlents1, nsignals2): Fix typos in decls.

20 years ago.
Roland McGrath [Sat, 4 Sep 2004 04:20:49 +0000 (04:20 +0000)]
.

20 years ago2004-09-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 4 Sep 2004 04:20:43 +0000 (04:20 +0000)]
2004-09-03  Roland McGrath  <roland@redhat.com>

* syscall.c (qual_options): Add const to defn.
Update all uses.
(call_count, error_count, tv_count): Variables removed.
(struct call_counts, counts): New type and variable.
Update all users of the old three to use the new array of structs.
(trace_syscall): Allocate counts on first use.
(sorted_count): Variable removed.
(call_summary): Allocate locally.

20 years ago.
Roland McGrath [Sat, 4 Sep 2004 03:53:18 +0000 (03:53 +0000)]
.

20 years ago2004-09-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 4 Sep 2004 03:53:10 +0000 (03:53 +0000)]
2004-09-03  Roland McGrath  <roland@redhat.com>

* syscall.c (sysent0, sysent1, sysent2, sysent): Add const to defn.
(nsyscalls0, nsyscalls1, nsyscalls2): Likewise.
(errnoent0, errnoent1, errnoent2, errnoent): Likewise.
(nerrnos0, nerrnos1, nerrnos2): Likewise.
* signal.c (signalent0, signalent1, signalent2): Likewise.
(nsignals0, nsignals1, nsignals2): Likewise.
(signame): LIkewise.
* ioctl.c (ioctlent0, ioctlent1, ioctlent2): Likewise.
(nioctlents0, nioctlents1, nioctlents2): Likewise.
(ioctl_lookup, ioctl_next_match): Likewise.
* defs.h: Update decls.
* io.c (sys_ioctl): Update users.