]> granicus.if.org Git - strace/log
strace
17 years ago.
Roland McGrath [Thu, 11 Jan 2007 22:42:45 +0000 (22:42 +0000)]
.

17 years ago2007-01-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 11 Jan 2007 22:42:32 +0000 (22:42 +0000)]
2007-01-11  Roland McGrath  <roland@redhat.com>

* debian/control (Uploaders): Add Frederik Schueler <fs@debian.org>.

17 years ago.
Roland McGrath [Thu, 11 Jan 2007 22:26:04 +0000 (22:26 +0000)]
.

17 years ago.
Roland McGrath [Thu, 11 Jan 2007 22:22:54 +0000 (22:22 +0000)]
.

17 years ago2007-01-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 11 Jan 2007 22:22:47 +0000 (22:22 +0000)]
2007-01-11  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.15.
* debian/changelog, strace.spec: 4.5.15-1.
* strace.spec (Release): Use %{?dist}.

17 years ago2007-01-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 11 Jan 2007 22:22:42 +0000 (22:22 +0000)]
2007-01-11  Roland McGrath  <roland@redhat.com>

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

17 years ago2006-12-27 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Thu, 11 Jan 2007 22:05:04 +0000 (22:05 +0000)]
2006-12-27  Dmitry V. Levin <ldv@altlinux.org>

Add const qualifier to xlookup() return value

* defs.h (xlookup): Add const qualifier to return value.
* desc.c (sprintflags): Likewise.
* process.c (printpriv): Update xlookup() use.
* signal.c (sprintsigmask): Add const qualifier to first argument and return value.
* util.c (xlookup): Add const qualifier to return value.
(printxval): Update xlookup() use.

17 years ago2006-12-21 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Thu, 21 Dec 2006 21:15:04 +0000 (21:15 +0000)]
2006-12-21  Dmitry V. Levin <ldv@altlinux.org>

Move counts code to separate file.
* count.c: New file.
* Makefile.am (strace_SOURCES): Add count.c.
* syscall.c (call_counts, countv, counts, shortest, time_cmp,
syscall_cmp, count_cmp, sortfun, overhead, set_sortby,
set_overhead, call_summary_pers, call_summary): Move to count.c
* count.c (count_syscall): New function.
* defs.h (count_syscall): Declare it.
* syscall.c (trace_syscall): Use it.

17 years agoRH#165469 is also Debian#350641.
Dmitry V. Levin [Thu, 21 Dec 2006 21:00:34 +0000 (21:00 +0000)]
RH#165469 is also Debian#350641.
RH#218435 is also Debian#353935.

17 years ago2006-12-20 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Thu, 21 Dec 2006 11:44:28 +0000 (11:44 +0000)]
2006-12-20  Dmitry V. Levin <ldv@altlinux.org>

* syscall.c (internal_syscall): Change conditions for internal_exit,
internal_fork, internal_clone, internal_exec and internal_wait
calls from switching on known scno values to switching on known
sysent[tcp->scno].sys_func values.
Fixes RH#179740.

17 years ago2006-12-20 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 20 Dec 2006 22:37:21 +0000 (22:37 +0000)]
2006-12-20  Dmitry V. Levin <ldv@altlinux.org>

Show system call summary for each personality.
* syscall.c (countv): New call_counts pointers array.
(counts): Convert to macro wrapper around countv.
(call_summary_pers): New function.
(call_summary): Use it for each personality.
Fixes RH#192193.

17 years ago2006-12-12 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 13 Dec 2006 21:45:31 +0000 (21:45 +0000)]
2006-12-12  Dmitry V. Levin <ldv@altlinux.org>

Fix -ff -o behaviour.  Fix piping trace output.
* defs.h (newoutf): Remove.
(alloctcb): Rename to alloc_tcb.  Add alloctcb() macro wrapper
around alloc_tcb().
* process.c [!USE_PROCFS] (internal_clone, internal_fork):
Remove newoutf() call.
* strace.c (set_cloexec_flag, strace_fopen, strace_popen,
swap_uid): New functions.
(popen_pid): New variable.
(newoutf): Make static, use strace_fopen().
(main): Use strace_fopen() and strace_popen(), remove uids
swapping.  Do not open outfname when followfork > 1.
Reinitialize tcp->outf properly.
(alloctcb): Rename to alloc_tcb.  Use newoutf().
(trace): Check popen_pid.  Remove newoutf() call.
[USE_PROCFS] (proc_open, proc_poll_open): Use set_cloexec_flag().
Fixes RH#204950, RH#218435.

17 years ago2006-12-10 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 13 Dec 2006 17:45:02 +0000 (17:45 +0000)]
2006-12-10  Dmitry V. Levin <ldv@altlinux.org>

Add biarch support for "struct sigevent".
* time.c [LINUX && SUPPORTED_PERSONALITIES > 1] (printsigevent32):
New function.
[LINUX] (printsigevent): [SUPPORTED_PERSONALITIES > 1]
Handle 32-bit personality.

17 years ago2006-12-10 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 13 Dec 2006 17:43:45 +0000 (17:43 +0000)]
2006-12-10  Dmitry V. Levin <ldv@altlinux.org>

Add biarch support for "struct timex".
* time.c [LINUX && SUPPORTED_PERSONALITIES > 1] (tprint_timex32):
New function.
[LINUX] (tprint_timex): New function.
[LINUX] (sys_adjtimex): Use it.

17 years ago2006-12-10 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 13 Dec 2006 17:42:32 +0000 (17:42 +0000)]
2006-12-10  Dmitry V. Levin <ldv@altlinux.org>

Enhance adjtimex parser.
* time.c [LINUX] (adjtimex_modes, adjtimex_status,
adjtimex_state): New xlat structures.
[LINUX] (sys_adjtimex): Print the whole struct timex.
Decode modes, status and return code.

17 years ago2006-12-10 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 13 Dec 2006 17:14:36 +0000 (17:14 +0000)]
2006-12-10  Dmitry V. Levin <ldv@altlinux.org>

Add biarch support for "struct itimerval".
* time.c (printitv): Rename to printitv_bitness().
Add printitv() macro wrapper around printitv_bitness().
(printitv_bitness): Handle 32-bit personality.
[ALPHA] (sys_osf_getitimer, sys_osf_setitimer):
Use printitv_bitness().
(tprint_timeval, tprint_timeval32): New functions.
(printtv_bitness, printitv_bitness, sys_adjtimex): Use them.
(printitv32): Remove.

17 years ago2006-12-10 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 13 Dec 2006 17:10:11 +0000 (17:10 +0000)]
2006-12-10  Dmitry V. Levin <ldv@altlinux.org>

Add biarch support for "struct timeval".
* defs.h (bitness_t): New enum type.
(printtv_bitness, sprinttv): New function prototypes.
(printtv): Convert to macro wrapper around printtv_bitness().
(printtv32): Remove.
* desc.c (decode_select): Use printtv_bitness() and sprinttv().
(sys_oldselect, sys_osf_select, sys_select, sys_pselect6):
Update decode_select() use.
* file.c [ALPHA] (sys_osf_utimes): Use printtv_bitness().
* time.c (printtv_bitness, sprinttv): New functions.
(printtv, printtv32): Remove.
[ALPHA] (sys_osf_settimeofday, sys_osf_settimeofday):
Use printtv_bitness().
Fixes RH#171626, RH#173050.

17 years ago2006-12-10 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 13 Dec 2006 17:08:08 +0000 (17:08 +0000)]
2006-12-10  Dmitry V. Levin <ldv@altlinux.org>

Add biarch support for "struct iovec".
* defs.h (personality_wordsize): Add.
* io.c [HAVE_SYS_UIO_H] (tprint_iov): [LINUX &&
SUPPORTED_PERSONALITIES > 1] Handle 32-bit personality.
* util.c [HAVE_SYS_UIO_H] (dumpiov): [LINUX &&
SUPPORTED_PERSONALITIES > 1] Likewise.
Patch from Jakub Jelinek.
Fixes RH#218433.

17 years ago2006-12-10 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 13 Dec 2006 17:03:02 +0000 (17:03 +0000)]
2006-12-10  Dmitry V. Levin <ldv@altlinux.org>

* time.c (sys_timer_create): Check umove() return code.

17 years ago2006-12-10 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 13 Dec 2006 16:59:44 +0000 (16:59 +0000)]
2006-12-10  Dmitry V. Levin <ldv@altlinux.org>

Make several global variables static.
#ifdef definitions of rarely unused functions.
* defs.h (rflag, tflag, outfname): Remove.
* strace.c (iflag, interactive, pflag_seen, rflag, tflag,
outfname, username): Make static.
* desc.c (sys_getdtablesize): Define only for
ALPHA || FREEBSD || SUNOS4.
* file.c (sys_fchroot): Define only for SUNOS4 || SVR4.
(sys_mkfifo): Define only for FREEBSD.
* mem.c (sys_sbrk): Define only for FREEBSD || SUNOS4.
(sys_getpagesize): Define only for
ALPHA || FREEBSD || IA64 || SUNOS4 || SVR4.
* net.c (sys_so_socket): Define only for SVR4.
* process.c (sys_gethostid): Define only for
FREEBSD || SUNOS4 || SVR4.
(sys_gethostname): Define only for
ALPHA || FREEBSD || SUNOS4 || SVR4.
(sys_setpgrp): Define only for ALPHA || SUNOS4 || SVR4.
(sys_execv): Define only for SPARC || SPARC64 || SUNOS4.
* signal.c (sys_sigblock): Define only for FREEBSD || SUNOS4.
(sys_sighold, sys_sigwait): Define only for SVR4.
(sys_killpg): Define only for FREEBSD || SUNOS4.
* stream.c (sys_getmsg): Define only for
SPARC || SPARC64 || SUNOS4 || SVR4.
* syscall.c (sys_indir): Define only for SUNOS4.

17 years ago2006-11-27 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Mon, 4 Dec 2006 13:48:10 +0000 (13:48 +0000)]
2006-11-27  Dmitry V. Levin  <ldv@altlinux.org>

* system.c [LINUX]: Define CTL_PROC, since Linux 2.6.18+ headers
removed CTL_PROC enum. Patch from Jakub Jelinek.
[LINUX] (sysctl_root): Add CTL_BUS, CTL_ABI and CTL_CPU.

17 years ago2006-11-20 Jakub Jelinek <jakub@redhat.com>
Dmitry V. Levin [Mon, 4 Dec 2006 13:46:28 +0000 (13:46 +0000)]
2006-11-20  Jakub Jelinek  <jakub@redhat.com>

* linux/ia64/syscallent.h: Add #if check to make sure that
SYS_socket_subcall adjustment isn't forgotten again.

18 years ago2006-10-16 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Mon, 16 Oct 2006 00:26:47 +0000 (00:26 +0000)]
2006-10-16  Dmitry V. Levin  <ldv@altlinux.org>

Implement comprehensive quotactl(2) parser for Linux.
* Makefile.am (strace_SOURCES): Add quota.c.
* quota.c: New file.
* resource.c: Remove old quotactl(2) parser.
Fixes RH#118696.

18 years ago2006-10-14 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 14 Oct 2006 20:20:46 +0000 (20:20 +0000)]
2006-10-14  Dmitry V. Levin  <ldv@altlinux.org>

* configure.ac(AC_CHECK_HEADERS): Add inttypes.h.
* file.c [_LFS64_LARGEFILE && (LINUX || SVR4)]:
Include <inttypes.h>.
(sys_getdents64): Use PRIu64/PRId64 to avoid gcc warnings on
64-bit platforms.

18 years ago2006-10-14 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 14 Oct 2006 14:23:57 +0000 (14:23 +0000)]
2006-10-14  Dmitry V. Levin  <ldv@altlinux.org>

* strace.c (main): Check getcwd() return code.

18 years ago2006-10-13 Ulrich Drepper <drepper@redhat.com>
Dmitry V. Levin [Fri, 13 Oct 2006 20:25:12 +0000 (20:25 +0000)]
2006-10-13  Ulrich Drepper  <drepper@redhat.com>
    Bernhard Kaindl <bk@suse.de>
    Dmitry V. Levin  <ldv@altlinux.org>
    Michael Holzheu <holzheu@de.ibm.com>

Add hooks for new syscalls.  Add decoders for *at, inotify*,
pselect6, ppoll and unshare syscalls.

* defs.h: Declare print_sigset.
* desc.c (sys_pselect6): New function.
* file.c (decode_open, decode_access, decode_mkdir,
decode_readlink, decode_chmod, decode_utimes, decode_mknod):
New functions.
(sys_open, sys_access, sys_mkdir, sys_readlink, sys_chmod,
sys_utimes, sys_mknod): Use them.
[LINUX] (fstatatflags, unlinkatflags, inotify_modes): New
variables.
[LINUX] (print_dirfd, sys_openat, sys_faccessat,
sys_newfstatat, sys_mkdirat, sys_linkat, sys_unlinkat,
sys_symlinkat, sys_readlinkat, sys_renameat, sys_fchownat,
sys_fchmodat, sys_futimesat, sys_mknodat, sys_inotify_add_watch,
sys_inotify_rm_watch): New functions.
* process.c [LINUX] (sys_unshare): New function.
* signal.c (print_sigset): New function.
(sys_sigprocmask): Use it.
* stream.c (decode_poll): New function.
(sys_poll): Use it.
[LINUX] (sys_ppoll): New function.
* linux/syscall.h: Delcare new syscall handlers.
* linux/syscallent.h: Hook up new syscalls.
* linux/alpha/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/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/x86_64/syscallent.h: Likewise.
Fixes RH#178633.

18 years ago2006-10-06 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 11 Oct 2006 23:11:43 +0000 (23:11 +0000)]
2006-10-06  Dmitry V. Levin  <ldv@altlinux.org>

* strace.c [!USE_PROCFS] (trace): Presence of PT_GETSIGINFO
macro does not mean that PT_CR_IPSR and PT_CR_IIP macros are
also defined, so check them along with PT_GETSIGINFO.
Fixes RH#209856.

18 years ago2006-09-01 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 11 Oct 2006 22:58:31 +0000 (22:58 +0000)]
2006-09-01  Dmitry V. Levin  <ldv@altlinux.org>

* file.c (print_xattr_val): Fix memory corruption bug reported
by James Antill.
Fixes RH#200621.

18 years ago2006-04-21 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 11 Oct 2006 22:56:49 +0000 (22:56 +0000)]
2006-04-21  Dmitry V. Levin  <ldv@altlinux.org>

* defs.h [LINUX && X86_64 && !__NR_exit_group]: Define
__NR_exit_group.

18 years ago2006-03-29 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 11 Oct 2006 22:55:25 +0000 (22:55 +0000)]
2006-03-29  Dmitry V. Levin  <ldv@altlinux.org>

Fix race conditions in tcb allocation.
* process.c (fork_tcb): Return error code as documented.  Do not
print "tcb table full" error message.
[USE_PROCFS] (internal_fork): Do not print "tcb table full"
error message.
[SYS_clone || SYS_clone2] (internal_clone, internal_fork): Call
fork_tcb() before alloctcb().  Do not print "tcb table full"
error message.
* strace.c (main): Do not print "tcb table full" error message.
(expand_tcbtab): Print error message in case of memory allocation
failure.
(alloctcb): Print error message when tcb table is full.
(trace): Expand tcb table if necessary prior to allocating
entry there.  Do not print "tcb table full" error message.
Fixes RH#180293.

18 years agofix bz tag
Roland McGrath [Tue, 10 Oct 2006 00:57:30 +0000 (00:57 +0000)]
fix bz tag

18 years ago.
Roland McGrath [Tue, 22 Aug 2006 07:37:00 +0000 (07:37 +0000)]
.

18 years ago2006-08-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 22 Aug 2006 07:36:55 +0000 (07:36 +0000)]
2006-08-22  Roland McGrath  <roland@redhat.com>

* ipc.c (sys_msgget, sys_semget, sys_shmget): Show key values in hex.
Fixes RH#198179.

18 years ago.
Roland McGrath [Tue, 22 Aug 2006 06:33:45 +0000 (06:33 +0000)]
.

18 years ago2006-08-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 22 Aug 2006 06:17:33 +0000 (06:17 +0000)]
2006-08-21  Roland McGrath  <roland@redhat.com>

* linux/syscall.h (SYS_socket_subcall): Bump to 400.
* linux/syscallent.h: Update table.
* linux/arm/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
Fixes RH#202620.

18 years ago.
Roland McGrath [Tue, 22 Aug 2006 06:06:24 +0000 (06:06 +0000)]
.

18 years ago2006-08-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 22 Aug 2006 06:06:12 +0000 (06:06 +0000)]
2006-08-21  Roland McGrath  <roland@redhat.com>

* linux/syscall.h (SYS_socket_subcall): Bump to 400.
* linux/syscallent.h: Update table.
* linux/arm/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
Fixes RH#202620.

18 years ago.
Roland McGrath [Tue, 25 Apr 2006 07:48:06 +0000 (07:48 +0000)]
.

18 years ago2006-04-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 25 Apr 2006 07:48:03 +0000 (07:48 +0000)]
2006-04-25  Roland McGrath  <roland@redhat.com>

* strace.c (main): Fail when -c is given with -ff.
* strace.1: Note their incompatibility.
Fixes RH#187847.

18 years ago.
Roland McGrath [Tue, 25 Apr 2006 07:39:48 +0000 (07:39 +0000)]
.

18 years ago2006-04-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 25 Apr 2006 07:39:40 +0000 (07:39 +0000)]
2006-04-25  Roland McGrath  <roland@redhat.com>

* strace.c (main): Fail when nonoption args follow -p switches.
Fixes Debian#361302.

18 years ago2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
Roland McGrath [Tue, 25 Apr 2006 07:39:34 +0000 (07:39 +0000)]
2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>

* linux/arm/syscallent.h: Correct the name of exit.  Remove
M68K conditionals and sys_security.  Correct syscalls 243-282.
Fixes Debian#360154.

18 years ago.
Roland McGrath [Tue, 25 Apr 2006 07:34:44 +0000 (07:34 +0000)]
.

18 years ago2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
Roland McGrath [Tue, 25 Apr 2006 07:34:41 +0000 (07:34 +0000)]
2006-03-30  Daniel Jacobowitz  <dan@codesourcery.com>

* process.c (change_syscall): Add ARM support.
* syscall.c (get_scno): Handle ARM EABI.
Fixes Debian#360152.

18 years ago.
Roland McGrath [Tue, 25 Apr 2006 07:33:26 +0000 (07:33 +0000)]
.

18 years ago2006-04-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 25 Apr 2006 07:33:20 +0000 (07:33 +0000)]
2006-04-25  Roland McGrath  <roland@redhat.com>

* Makefile.am (EXTRA_DIST): Add xlate.el.

18 years ago2006-04-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 25 Apr 2006 07:33:19 +0000 (07:33 +0000)]
2006-04-25  Roland McGrath  <roland@redhat.com>

* linux/mips/Makefile.in: File removed, unused cruft.
* linux/sparc/Makefile.in: Likewise.

18 years ago.
Roland McGrath [Tue, 25 Apr 2006 07:22:04 +0000 (07:22 +0000)]
.

18 years ago2006-04-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 25 Apr 2006 07:22:02 +0000 (07:22 +0000)]
2006-04-25  Roland McGrath  <roland@redhat.com>

* strace.spec (Source0): Use http://dl.sourceforge.net URL.

18 years ago2006-04-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 25 Apr 2006 07:22:01 +0000 (07:22 +0000)]
2006-04-25  Roland McGrath  <roland@redhat.com>

* ipc.c (sys_semtimedop): Fixed inverted indirect_ipccall test.
* linux/hppa/syscallent.h: Fixed semtimedop entry.
From Mike Stroyan <mike.stroyan@hp.com>.
Fixes Debian#340239.

18 years ago.
Roland McGrath [Tue, 17 Jan 2006 06:23:01 +0000 (06:23 +0000)]
.

18 years ago2006-01-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 17 Jan 2006 06:22:57 +0000 (06:22 +0000)]
2006-01-16  Roland McGrath  <roland@redhat.com>

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

18 years ago.
Roland McGrath [Sat, 14 Jan 2006 00:20:26 +0000 (00:20 +0000)]
.

18 years ago2006-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 14 Jan 2006 00:20:20 +0000 (00:20 +0000)]
2006-01-13  Roland McGrath  <roland@redhat.com>

* debian/control (Build-Depends): Add debhelper.

18 years ago.
Roland McGrath [Thu, 12 Jan 2006 22:35:02 +0000 (22:35 +0000)]
.

18 years ago2006-01-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 12 Jan 2006 22:34:50 +0000 (22:34 +0000)]
2006-01-12  Roland McGrath  <roland@redhat.com>

* signal.c [LINUX] (sys_restart_syscall): New function.
* linux/syscall.h: Declare sys_restart_syscall.
* linux/sparc/syscall.h: Likewise.
* linux/syscallent.h: Call 0 is restart_syscall.
* linux/arm/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/alpha/syscallent.h: Use sys_restart_syscall.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.

18 years ago2005-08-08 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 12 Jan 2006 21:21:06 +0000 (21:21 +0000)]
2005-08-08  Dmitry V. Levin  <ldv@altlinux.org>

* system.c [LINUX] (MS_MGC_VAL): New macro.
[LINUX] (mount_flags): Add it.
[LINUX] (sys_mount): If neither MS_BIND nor MS_MOVE bits are
        set in the flags argument, try to fetch data string.
Fixes RH#165377.

18 years ago.
Roland McGrath [Thu, 12 Jan 2006 11:07:40 +0000 (11:07 +0000)]
.

18 years ago2006-01-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 12 Jan 2006 11:03:49 +0000 (11:03 +0000)]
2006-01-12  Roland McGrath  <roland@redhat.com>

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

18 years ago.
Roland McGrath [Thu, 12 Jan 2006 11:03:48 +0000 (11:03 +0000)]
.

18 years ago2006-01-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 12 Jan 2006 11:03:46 +0000 (11:03 +0000)]
2006-01-12  Roland McGrath  <roland@redhat.com>

* system.c (sys_sysctl): Don't read off end of NAME when max_strlen
exceeds INFO.nlen.
From Timo Lindfors <timo.lindfors@iki.fi>.
Fixes Debian#339117.

18 years ago2006-01-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 12 Jan 2006 11:03:44 +0000 (11:03 +0000)]
2006-01-12  Roland McGrath  <roland@redhat.com>

* debian/rules (binary-arch): Don't pass -s to install.  Use dh_strip.
Fixes Debian#325132.

18 years ago.
Roland McGrath [Thu, 12 Jan 2006 10:19:01 +0000 (10:19 +0000)]
.

18 years ago2006-01-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 12 Jan 2006 10:18:53 +0000 (10:18 +0000)]
2006-01-12  Roland McGrath  <roland@redhat.com>

* defs.h [LINUXSPARC] (PERSONALITY0_WORDSIZE, PERSONALITY1_WORDSIZE):
New macros.
[SPARC64] (PERSONALITY2_WORDSIZE): New macro.
[X86_64] (PERSONALITY0_WORDSIZE, PERSONALITY1_WORDSIZE): New macros.
* syscall.c (PERSONALITY0_WORDSIZE): New macro if undefined.
(personality_wordsize): New variable.
(decode_subcall): Use it for size of argument words.
Fixes RH#174354.

18 years ago.
Roland McGrath [Thu, 12 Jan 2006 09:51:03 +0000 (09:51 +0000)]
.

18 years ago2005-11-17 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 12 Jan 2006 09:50:49 +0000 (09:50 +0000)]
2005-11-17  Dmitry V. Levin  <ldv@altlinux.org>

Implement qual_flags support for each personality.
* strace.c (main): Move qualify calls after set_personality call.
* syscall.c (qual_flags0): New variable..
[SUPPORTED_PERSONALITIES >= 2] (qual_flags1): New variable.
[SUPPORTED_PERSONALITIES >= 3] (qual_flags2): New variable.
(qual_flags): Change variable definition from array to pointer.
(set_personality): Initialize qual_flags variable.
(qualify_one): Add "pers" argument to specify personality.
[SUPPORTED_PERSONALITIES >= 2]: Set qual_flags1 if requested.
[SUPPORTED_PERSONALITIES >= 3]: Set qual_flags2 if requested.
(qual_syscall): Pass personality to qualify_one.
[SUPPORTED_PERSONALITIES >= 2]: Look for syscall also in sysent1
table.
[SUPPORTED_PERSONALITIES >= 3]: Look for syscall also in sysent2
table.
(qual_signal): Pass personality to qualify_one.
(qual_desc): Likewise.
(qualify): Use qualify_one instead of manual qual_flags
manipulations.
[SUPPORTED_PERSONALITIES >= 2]: Look for syscall also in sysent1
table.
[SUPPORTED_PERSONALITIES >= 3]: Look for syscall also in sysent2
table.
* defs.h: Update qual_flags declaration.
Fixes RH#173986.

18 years ago.
Roland McGrath [Thu, 12 Jan 2006 09:45:59 +0000 (09:45 +0000)]
.

18 years ago2005-11-14 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 12 Jan 2006 09:45:56 +0000 (09:45 +0000)]
2005-11-14  Dmitry V. Levin  <ldv@altlinux.org>

* syscall.c (qual_syscall): Handle numeric syscall specification.
Fixes RH#174798.
* syscall.c (qual_signal, qual_options): Remove redundant argument
check.

18 years ago.
Roland McGrath [Fri, 2 Dec 2005 04:34:25 +0000 (04:34 +0000)]
.

18 years ago2005-12-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Dec 2005 04:34:09 +0000 (04:34 +0000)]
2005-12-01  Roland McGrath  <roland@redhat.com>

* ipc.c (indirect_ipccall) [MIPS || HPPA]: Return false.
Fixes Debian#340239.

18 years ago2005-12-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Dec 2005 04:27:47 +0000 (04:27 +0000)]
2005-12-01  Roland McGrath  <roland@redhat.com>

* Makefile.am (EXTRA_DIST): Add linux/arm/syscallent.h
and linux/m68k/syscallent.h.
Fixes Debian#336197.

18 years ago2005-12-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Dec 2005 04:27:40 +0000 (04:27 +0000)]
2005-12-01  Roland McGrath  <roland@redhat.com>

* debian/control (Architecture): Add armeb.
Fixes Debian#335681.

18 years ago2005-11-02 Michal Marek <mmarek@suse.cz>
Roland McGrath [Fri, 2 Dec 2005 04:27:26 +0000 (04:27 +0000)]
2005-11-02 Michal Marek  <mmarek@suse.cz>

* strace-graph (handle_trace): follow clone() and vfork() calls.

18 years ago.
Roland McGrath [Fri, 2 Dec 2005 04:23:50 +0000 (04:23 +0000)]
.

18 years ago2005-10-25 Heiko Carstens <heiko.carstens@de.ibm.com>
Roland McGrath [Fri, 2 Dec 2005 04:19:13 +0000 (04:19 +0000)]
2005-10-25  Heiko Carstens  <heiko.carstens@de.ibm.com>

* linux/s390/syscallent.h: Added ioprio_set, ioprio_get,
inotify_init, inotify_add_watch, inotify_rm_watch.
Corrected number of arguments for request_key.
* linux/s390x/syscallent.h: Likewise.

18 years ago2005-12-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Dec 2005 04:18:55 +0000 (04:18 +0000)]
2005-12-01  Roland McGrath  <roland@redhat.com>

* ipc.c (indirect_ipccall) [IA64]: Return false unless the syscall
number is in the low range of IA32 syscalls.

18 years ago2005-10-07 Andreas Schwab <schwab@suse.de>
Roland McGrath [Fri, 2 Dec 2005 04:18:50 +0000 (04:18 +0000)]
2005-10-07  Andreas Schwab  <schwab@suse.de>

* linux/ia64/syscallent.h: Syscall 1105 is gettid, not ioperm.

18 years ago.
Roland McGrath [Fri, 2 Dec 2005 04:08:39 +0000 (04:08 +0000)]
.

18 years ago2005-12-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Dec 2005 04:08:27 +0000 (04:08 +0000)]
2005-12-01  Roland McGrath  <roland@redhat.com>

* resource.c (resources): Add RLIMIT_NICE, RLIMIT_RTPRIO.
Reported by Scott Tsai <scottt958@yahoo.com.tw>.

18 years ago.
Roland McGrath [Fri, 2 Dec 2005 03:59:47 +0000 (03:59 +0000)]
.

18 years ago2005-08-08 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Fri, 2 Dec 2005 03:59:35 +0000 (03:59 +0000)]
2005-08-08  Dmitry V. Levin  <ldv@altlinux.org>

* strace.1: Update "SEE ALSO" links to reference to valid
manpages.
Patch from Michail Litvak <mci@owl.openwall.com>.
Fixes RH#165375.

18 years ago.
Roland McGrath [Fri, 2 Dec 2005 03:57:20 +0000 (03:57 +0000)]
.

18 years ago2005-12-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Dec 2005 03:57:07 +0000 (03:57 +0000)]
2005-12-01  Roland McGrath  <roland@redhat.com>

* ipc.c (indirect_ipccall): New function.
(sys_msgctl, sys_msgsnd, sys_msgrcv, sys_semop): Use that predicate
instead of #ifdef LINUX test.
[LINUX] (sys_semtimedop): Likewise.
(sys_shmctl, sys_shmat, sys_shmdt): Likewise.
Fixes RH#164755.

18 years ago2005-07-31 Ulrich Drepper <drepper@redhat.com>
Roland McGrath [Fri, 2 Dec 2005 03:57:00 +0000 (03:57 +0000)]
2005-07-31  Ulrich Drepper  <drepper@redhat.com>

* linux/x86_64/syscallent.h: Fix syscall parameter count for msgrcv and
msgctl.

18 years ago.
Roland McGrath [Fri, 2 Dec 2005 03:44:20 +0000 (03:44 +0000)]
.

18 years ago2005-07-31 Ulrich Drepper <drepper@redhat.com>
Roland McGrath [Fri, 2 Dec 2005 03:44:12 +0000 (03:44 +0000)]
2005-07-31  Ulrich Drepper  <drepper@redhat.com>

* ipc.c (sys_msgrcv): Add entering handling and print first parameter
there.
Fixes RH#164757.

19 years ago.
Roland McGrath [Fri, 21 Oct 2005 22:06:58 +0000 (22:06 +0000)]
.

19 years ago2005-10-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 21 Oct 2005 22:06:46 +0000 (22:06 +0000)]
2005-10-21  Roland McGrath  <roland@redhat.com>

* util.c (printpathn): Cap N at sizeof path - 1.

19 years ago.
Roland McGrath [Wed, 3 Aug 2005 12:18:37 +0000 (12:18 +0000)]
.

19 years ago2005-08-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 3 Aug 2005 12:18:09 +0000 (12:18 +0000)]
2005-08-03  Roland McGrath  <roland@redhat.com>

* configure.ac: Check for struct dqblk.dqb_curblocks field.
* resource.c [LINUX] (OLD_CMD): New macro.
(quotacmds): Use it to hard-wire old O_* values, don't use macros.
(sys_quotactl): If dqb_curblocks is not there, it's called
dqb_curspace instead.  Print dqb_* fields as unsigned long long.

19 years ago.
Roland McGrath [Wed, 3 Aug 2005 12:02:14 +0000 (12:02 +0000)]
.

19 years ago2005-08-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 3 Aug 2005 12:02:06 +0000 (12:02 +0000)]
2005-08-03  Roland McGrath  <roland@redhat.com>

* resource.c [LINUX] (OLD_CMD): New macro.
(quotacmds): Use it to hard-wire old O_* values, don't use macros.

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

19 years ago2005-08-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 3 Aug 2005 11:42:35 +0000 (11:42 +0000)]
2005-08-03  Roland McGrath  <roland@redhat.com>

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

19 years ago.
Roland McGrath [Wed, 3 Aug 2005 11:29:26 +0000 (11:29 +0000)]
.

19 years ago2005-07-19 Michael Schmitz <schmitz@debian.org>
Roland McGrath [Wed, 3 Aug 2005 11:29:20 +0000 (11:29 +0000)]
2005-07-19  Michael Schmitz  <schmitz@debian.org>

Long overdue m68k cleanup.
* linux/syscallent.h: remove m68k declarations.
* linux/m68k/syscallent.h: new file, fixed up declarations
to match kernel version 2.6.11. Newer syscalls are sufficiently
different from i386 to merit a separate file.

19 years ago2005-08-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 3 Aug 2005 11:27:33 +0000 (11:27 +0000)]
2005-08-03  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Update init_module argument count.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent2.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.

19 years ago2005-07-22 James Lentini <jlentini@gmail.com>
Roland McGrath [Wed, 3 Aug 2005 11:27:30 +0000 (11:27 +0000)]
2005-07-22  James Lentini  <jlentini@gmail.com>

* bjm.c (sys_init_module): Display all three arguments.
* linux/syscallent.h: Update argument count.

19 years ago.
Roland McGrath [Wed, 3 Aug 2005 11:23:50 +0000 (11:23 +0000)]
.

19 years ago2005-08-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 3 Aug 2005 11:23:46 +0000 (11:23 +0000)]
2005-08-03  Roland McGrath  <roland@redhat.com>

* strace.c (detach): If detaching the last live thread in a group with
a zombie leader, then detach the leader too.
(handle_group_exit): Use detach, not droptcb, for predeceased thread.
Mark process about to take a signal with TCB_GROUP_EXITING flag.
Fixes RH#161919.