]> granicus.if.org Git - strace/log
strace
16 years ago2008-09-12 Tomas Pospisek <tpo@sourcepole.ch>
Jan Kratochvil [Fri, 12 Sep 2008 08:44:30 +0000 (08:44 +0000)]
2008-09-12  Tomas Pospisek  <tpo@sourcepole.ch>
    Jan Kratochvil  <jan.kratochvil@redhat.com>

* strace.1 (DESCRIPTION): New description of unfinished system calls
and system calls restarting.

16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 3 Sep 2008 01:22:18 +0000 (01:22 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* desc.c (sys_fcntl): Do not initialize auxstr for failed syscall.
* process.c (sys_fork, sys_rfork) [USE_PROCFS]: Likewise.
* signal.c (sys_signal): Likewise.
* stream.c (internal_stream_ioctl): Likewise.
* time.c (sys_adjtimex): Likewise.
* syscall.c (trace_syscall): If RVAL_STR is set, then
print auxstr for failed syscall as well.

16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 3 Sep 2008 01:02:46 +0000 (01:02 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* syscall.c (is_restart_error): New function.
* defs.h (is_restart_error): Declare it.

* linux/dummy.h (sys_nanosleep): Uncouple from sys_adjtime().
* time.c (sys_nanosleep): New function, based on is_restart_error().

16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 3 Sep 2008 00:56:52 +0000 (00:56 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* process.c (sys_prctl): Decode PR_SET_PDEATHSIG, PR_GET_PDEATHSIG,
PR_SET_DUMPABLE, PR_GET_DUMPABLE, PR_SET_KEEPCAPS, PR_GET_KEEPCAPS.
Fix PR_GET_UNALIGN decoder.

16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 3 Sep 2008 00:54:40 +0000 (00:54 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* process.c (prctl_options): Add more constants.

16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 3 Sep 2008 00:52:47 +0000 (00:52 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* linux/syscallent.h: Use sys_prctl() decoder for "prctl" syscall.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.

16 years ago2008-09-02 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Wed, 3 Sep 2008 00:45:10 +0000 (00:45 +0000)]
2008-09-02  Dmitry V. Levin <ldv@altlinux.org>

* linux/x86_64/syscallent.h: Fix syscall numbers for "tee" and
"sync_file_range".
From Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>

16 years ago.
Roland McGrath [Thu, 28 Aug 2008 23:42:06 +0000 (23:42 +0000)]
.

16 years ago2008-08-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 28 Aug 2008 23:41:57 +0000 (23:41 +0000)]
2008-08-28  Roland McGrath  <roland@redhat.com>

* strace.1 (BUGS): New section, mention SIGTRAP interference.

16 years ago.
Roland McGrath [Thu, 28 Aug 2008 23:26:29 +0000 (23:26 +0000)]
.

16 years ago2008-08-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 28 Aug 2008 23:26:21 +0000 (23:26 +0000)]
2008-08-28  Roland McGrath  <roland@redhat.com>

* strace.spec (%ifarch %{strace64_arches}): Use cp -p instead of ln
for %{rhel} < 6.

16 years agoPrepare for 4.5.18 release v4.5.18
Roland McGrath [Thu, 28 Aug 2008 22:00:46 +0000 (22:00 +0000)]
Prepare for 4.5.18 release

16 years ago.
Roland McGrath [Mon, 25 Aug 2008 03:16:27 +0000 (03:16 +0000)]
.

16 years ago2008-08-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 25 Aug 2008 03:16:26 +0000 (03:16 +0000)]
2008-08-24  Roland McGrath  <roland@redhat.com>

* syscall.c (trace_syscall): Conditionalize on [SYS_socket_subcall]
and [SYS_ipc_subcall] individually.

16 years ago2008-08-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 25 Aug 2008 03:15:43 +0000 (03:15 +0000)]
2008-08-24  Roland McGrath  <roland@redhat.com>

* linux/syscall.h (SYS_socket_subcall et al, SYS_ipc_subcall et al):
Don't define these if [__ARM_EABI__].
Reported by Johannes Stezenbach <js@sig21.net>.

16 years ago.
Roland McGrath [Mon, 25 Aug 2008 03:09:18 +0000 (03:09 +0000)]
.

16 years ago2008-08-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 25 Aug 2008 03:09:16 +0000 (03:09 +0000)]
2008-08-24  Roland McGrath  <roland@redhat.com>

* linux/powerpc/syscallent.h: Handle subpage_prot.
* mem.c [LINUX && POWERPC] (sys_subpage_prot): New function.
* linux/syscall.h [POWERPC]: Declare it.
From Simon Murray <simon@transitive.com>.

16 years ago.
Roland McGrath [Mon, 25 Aug 2008 03:00:49 +0000 (03:00 +0000)]
.

16 years ago2008-08-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 25 Aug 2008 03:00:47 +0000 (03:00 +0000)]
2008-08-24  Roland McGrath  <roland@redhat.com>

* mem.c (mmap_prot): Handle PROT_SAO.
From Simon Murray <simon@transitive.com>.

16 years ago.
Roland McGrath [Mon, 25 Aug 2008 02:59:39 +0000 (02:59 +0000)]
.

16 years ago2008-08-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 25 Aug 2008 02:59:36 +0000 (02:59 +0000)]
2008-08-24  Roland McGrath  <roland@redhat.com>

* mem.c (madvise_flags): Typo fixes.  Rename to madvise_cmds.
(sys_madvise): Use printxval, not printflags.
Reported by Rajeev V. Pillai <rajeevvp@gmail.com>.

16 years ago.
Roland McGrath [Wed, 20 Aug 2008 01:59:42 +0000 (01:59 +0000)]
.

16 years ago2008-08-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Aug 2008 01:59:40 +0000 (01:59 +0000)]
2008-08-19  Roland McGrath  <roland@redhat.com>

* signal.c (sys_sigaction, sys_rt_sigaction): Don't omit the rest of
the struct after sa_handler is a known constant.  Some sa_flags bits
have meaning even for SIG_IGN/SIG_DFL.

16 years ago.
Jan Kratochvil [Wed, 6 Aug 2008 21:43:53 +0000 (21:43 +0000)]
.

16 years ago2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Wed, 6 Aug 2008 21:43:35 +0000 (21:43 +0000)]
2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>

* util.c (CLONE_VM): Define if not defined already.
(setbpt): Clear CLONE_VM in the case we already clear CLONE_VFORK for
SYS_clone and SYS_clone2.
Reported by Michal Nowak.
Fixes RH#455078.

16 years ago.
Jan Kratochvil [Wed, 6 Aug 2008 21:39:51 +0000 (21:39 +0000)]
.

16 years ago2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Wed, 6 Aug 2008 21:38:52 +0000 (21:38 +0000)]
2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>

Fix compiler warnings.
* signal.c (sys_signal): Cast to SIG_* to the matching type LONG.
* strace.c (trace): Variables PSR and PC are now signed.
* syscall.c (syscall_enter): Variable RBS_END is now signed long.
Remove/add the RBS_END casts appropriately.
* util.c [IA64] (arg_setup): Variable BSP is now signed long.
Remove/add the BSP casts appropriately.
<ia32>: Initialize *STATE.

16 years ago.
Roland McGrath [Fri, 1 Aug 2008 01:15:27 +0000 (01:15 +0000)]
.

16 years ago2008-07-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 1 Aug 2008 01:15:24 +0000 (01:15 +0000)]
2008-07-31  Roland McGrath  <roland@redhat.com>

* Makefile.am (EXTRA_DIST): Add new linux/arm/ files.

16 years ago.
Roland McGrath [Fri, 1 Aug 2008 01:13:30 +0000 (01:13 +0000)]
.

16 years ago2008-07-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 1 Aug 2008 01:13:10 +0000 (01:13 +0000)]
2008-07-31  Roland McGrath  <roland@redhat.com>

* file.c [LINUX] (struct kernel_dirent): Define it locally,
do not use <linux/dirent.h>.
Fixes RH#457291.

16 years ago.
Roland McGrath [Fri, 1 Aug 2008 01:06:40 +0000 (01:06 +0000)]
.

16 years ago2008-07-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 1 Aug 2008 01:06:31 +0000 (01:06 +0000)]
2008-07-31  Roland McGrath  <roland@redhat.com>

* configure.ac: Add AC_HEADER_STDBOOL.
* defs.h [HAVE_STDBOOL_H]: #include <stdbool.h>.
Fixes Debian##492774.

16 years ago2008-07-24 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Fri, 25 Jul 2008 15:42:34 +0000 (15:42 +0000)]
2008-07-24  Dmitry V. Levin <ldv@altlinux.org>

* strace.c (main): Fix -F option backwards compatibility.

16 years ago.
Roland McGrath [Tue, 22 Jul 2008 08:33:45 +0000 (08:33 +0000)]
.

16 years ago2008-07-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 22 Jul 2008 08:33:40 +0000 (08:33 +0000)]
2008-07-22  Roland McGrath  <roland@redhat.com>

* Makefile.am (EXTRA_DIST): Add new debian/ files.

16 years ago.
Roland McGrath [Tue, 22 Jul 2008 00:43:13 +0000 (00:43 +0000)]
.

16 years ago2008-07-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 22 Jul 2008 00:43:09 +0000 (00:43 +0000)]
2008-07-21  Roland McGrath  <roland@redhat.com>

* configure.ac: Version 4.5.17.
* strace.spec: 4.5.17-1.

16 years ago.
Roland McGrath [Tue, 22 Jul 2008 00:30:33 +0000 (00:30 +0000)]
.

16 years ago2008-07-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 22 Jul 2008 00:30:26 +0000 (00:30 +0000)]
2008-07-21  Roland McGrath  <roland@redhat.com>

* defs.h [LINUXSPARC]: Don't #include <linux/a.out.h>.

16 years ago.
Roland McGrath [Tue, 22 Jul 2008 00:27:51 +0000 (00:27 +0000)]
.

16 years ago2008-07-19 Frederik Schüler <fs@debian.org>
Roland McGrath [Tue, 22 Jul 2008 00:27:31 +0000 (00:27 +0000)]
2008-07-19  Frederik Schüler <fs@debian.org>

* debian/control: Add strace64 package.
Fixes Debian#491167, Debian#491188.
* debian/rules: Use debhelper flag --same-arch instead of --arch in
order to build strace64 only on the specified architectures.
* debian/strace64.install: New file, list for dh_install.
* debian/strace64.manpages: New file, list for dh_install.
* debian/changelog: Add prereleases entries.

16 years ago.
Roland McGrath [Tue, 22 Jul 2008 00:22:10 +0000 (00:22 +0000)]
.

16 years ago2008-07-18 Andreas Schwab <schwab@suse.de>
Roland McGrath [Tue, 22 Jul 2008 00:22:05 +0000 (00:22 +0000)]
2008-07-18  Andreas Schwab  <schwab@suse.de>

* linux/powerpc/syscallent.h: Fix argument count for request_key.

16 years ago2008-07-18 Andreas Schwab <schwab@suse.de>
Roland McGrath [Tue, 22 Jul 2008 00:22:04 +0000 (00:22 +0000)]
2008-07-18  Andreas Schwab  <schwab@suse.de>

* linux/ia64/syscallent.h: Decode mincore syscall.

16 years ago2008-07-18 Andreas Schwab <schwab@suse.de>
Roland McGrath [Tue, 22 Jul 2008 00:21:43 +0000 (00:21 +0000)]
2008-07-18  Andreas Schwab  <schwab@suse.de>

* term.c (term_ioctl): Decode indirect parameter as int, not long.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 02:21:14 +0000 (02:21 +0000)]
.

16 years ago2008-07-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 02:21:11 +0000 (02:21 +0000)]
2008-07-17  Roland McGrath  <roland@redhat.com>

* NEWS, strace.spec: Updates in preparation for release.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 02:16:52 +0000 (02:16 +0000)]
.

16 years ago2008-07-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 02:16:47 +0000 (02:16 +0000)]
2008-07-17  Roland McGrath  <roland@redhat.com>

* process.c (printwaitn): When current personality's wordsize is
smaller than native, sign-extend the PID argument from 32 bits.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:27:43 +0000 (01:27 +0000)]
.

16 years ago2008-07-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 01:27:39 +0000 (01:27 +0000)]
2008-07-17  Roland McGrath  <roland@redhat.com>

* process.c (futexops): Update table.
(sys_futex): Handle FUTEX_WAIT_BITSET correctly.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#448628.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:24:21 +0000 (01:24 +0000)]
.

16 years ago2008-07-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 01:23:49 +0000 (01:23 +0000)]
2008-07-17  Roland McGrath  <roland@redhat.com>

* linux/syscallent.h: Fix "futex" argument count.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#448629.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:19:39 +0000 (01:19 +0000)]
.

16 years ago2008-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 01:19:36 +0000 (01:19 +0000)]
2008-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>

Fix ia64 `-f' on CLONE2 formerly crashing the child.
* util.c [IA64] (restore_arg0, restore_arg1): Define as empty.
Fixes RH#453438.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:15:22 +0000 (01:15 +0000)]
.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:09:48 +0000 (01:09 +0000)]
.

16 years ago2008-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 01:09:44 +0000 (01:09 +0000)]
2008-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>

* util.c (CLONE_VFORK): Define if not defined already.
(setbpt): Clear CLONE_VFORK for SYS_clone and SYS_clone2.
Reported by Vitaly Mayatskikh.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:02:43 +0000 (01:02 +0000)]
.

16 years ago2008-07-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 01:02:41 +0000 (01:02 +0000)]
2008-07-17  Roland McGrath  <roland@redhat.com>

* signal.c (sigact_flags): Prefer SA_NODEFER to SA_NOMASK,
SA_RESETHAND to SA_ONESHOT.
Fixes RH#455821.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 00:50:21 +0000 (00:50 +0000)]
.

16 years ago2008-07-09 Frederik Schüler <fs@debian.org>
Roland McGrath [Fri, 18 Jul 2008 00:50:04 +0000 (00:50 +0000)]
2008-07-09  Frederik Schüler <fs@debian.org>

* debian/rules: Remove the broken udeb creation routines, and redo the
complete install procedure using debhelper.
* debian/strace.docs: New file, list for dh_installdocs.
* debian/strace.examples: New file, list for dh_installexamples.
* debian/strace.install: New file, list for dh_install.
* debian/strace-udeb.install: New file, list for dh_install.
* debian/strace.manpages : New file, list for dh_installmanpages.
* debian/copyright: Update.
* debian/control: Fix libc6 build dependency for alpha and ia64.
(strace-udeb: XC-Package-Type): Add header.
* debian/changelog: Cosmetic changes.

16 years ago2008-07-09 Frederik Schüler <fs@debian.org>
Roland McGrath [Fri, 18 Jul 2008 00:49:31 +0000 (00:49 +0000)]
2008-07-09  Frederik Schüler <fs@debian.org>

* debian/rules: Remove the broken udeb creation routines, and redo the
complete install procedure using debhelper.
* debian/strace.docs: New file, list for dh_installdocs.
* debian/strace.examples: New file, list for dh_installexamples.
* debian/strace.install: New file, list for dh_install.
* debian/strace-udeb.install: New file, list for dh_install.
* debian/strace.manpages : New file, list for dh_installmanpages.
* debian/copyright: Update.
* debian/control: Fix libc6 build dependency for alpha and ia64.
(strace-udeb: XC-Package-Type): Add header.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 00:25:14 +0000 (00:25 +0000)]
.

16 years ago2008-07-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 00:25:10 +0000 (00:25 +0000)]
2008-07-03  Jan Kratochvil  <jan.kratochvil@redhat.com>

Trace even VFORK on -f on all the platforms.
* strace.1 <-f>: Describe Linux catches new children immediately.
<-F>: Make the option obsolete.  Move the SunOS VFORK comment to the
`-f' option description.
* defs.h (followvfork): Declaration removed.
* strace.c (followvfork): Variable removed.
(main) <-F>: Merge with the `-f' option.
(trace): Make !FOLLOWVFORK unconditional.
* process.c (internal_fork): Make !FOLLOWVFORK unconditional.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 00:18:33 +0000 (00:18 +0000)]
.

16 years ago2008-07-01 Frederik Schüler <fs@debian.org>
Roland McGrath [Fri, 18 Jul 2008 00:18:27 +0000 (00:18 +0000)]
2008-07-01  Frederik Schüler <fs@debian.org>

* debian/changelog: List all bugs closed since the last release.
* debian/control: Remove Wichert Akkerman from uploaders list.
* debian/control: Bump standards version to 3.8.0.
* debian/control: Add Homepage field.
* debian/rules: Fix dpkg-gencontrol call.
* debian/compat: New file, set to compatibility level 5.
* debian/rules: Call dh_clean on clean target.
* debian/rules: Add dh_md5sums call.
Fixes Debian#439428

16 years ago2008-06-29 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sun, 29 Jun 2008 22:28:54 +0000 (22:28 +0000)]
2008-06-29  Dmitry V. Levin <ldv@altlinux.org>

* linux/x86_64/syscallent.h: Remove duplicate syscall entries
for #283 and #284.

16 years ago*** empty log message ***
Jan Kratochvil [Fri, 27 Jun 2008 12:13:42 +0000 (12:13 +0000)]
*** empty log message ***

16 years ago2008-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Fri, 27 Jun 2008 12:12:51 +0000 (12:12 +0000)]
2008-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>

* linux/syscallent.h: Remove a duplicite syscall stub #326.

16 years ago.
Roland McGrath [Tue, 27 May 2008 23:18:32 +0000 (23:18 +0000)]
.

16 years ago2008-05-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 27 May 2008 23:18:29 +0000 (23:18 +0000)]
2008-05-27  Roland McGrath  <roland@redhat.com>

* syscall.c [LINUX] (is_negated_errno): New function.
(get_error) [LINUX]: Use it for all such cases.
Fixes RH#447587.

16 years ago.
Roland McGrath [Tue, 20 May 2008 05:51:21 +0000 (05:51 +0000)]
.

16 years ago.
Roland McGrath [Tue, 20 May 2008 05:18:39 +0000 (05:18 +0000)]
.

16 years ago.
Roland McGrath [Tue, 20 May 2008 04:56:45 +0000 (04:56 +0000)]
.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 04:56:27 +0000 (04:56 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Update entries for timerfd_* and fallocate.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 04:56:22 +0000 (04:56 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* file.c (sys_fallocate): New function.
* linux/syscall.h: Declare it.
* linux/syscallent.h: Update entry.
From Kyle McMartin <kyle@mcmartin.ca>.
* time.c (sys_timerfd_create): New function.
(sys_timerfd_settime, sys_timerfd_gettime): New functions.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Update entries for those syscalls.
From Kyle McMartin <kyle@mcmartin.ca>.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 04:56:18 +0000 (04:56 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* file.c (sys_fallocate): New function.
* linux/syscall.h: Declare it.
* linux/syscallent.h: Update entry.
From Kyle McMartin <kyle@mcmartin.ca>.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 04:56:13 +0000 (04:56 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* time.c (sys_timerfd_create): New function.
(sys_timerfd_settime, sys_timerfd_gettime): New functions.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Update entries for those syscalls.
From Kyle McMartin <kyle@mcmartin.ca>.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:56:28 +0000 (01:56 +0000)]
.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 01:55:48 +0000 (01:55 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* debian/rules (binary-arch): Fix chmod/chown typo.
Fixes Debian#459255.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 01:46:58 +0000 (01:46 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* debian/rules (binary-arch): Install strace-graph in examples/
directory under package doc.
Fixes Debian#469068.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:43:56 +0000 (01:43 +0000)]
.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 01:43:09 +0000 (01:43 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* signal.c (sys_kill): When current personality's wordsize is smaller
than native, sign-extend the PID argument from 32 bits.
Fixes RH#430585.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:39:07 +0000 (01:39 +0000)]
.

16 years ago2008-01-25 Bruna Moreira <bruna.moreira@indt.org>
Roland McGrath [Tue, 20 May 2008 01:35:55 +0000 (01:35 +0000)]
2008-01-25  Bruna Moreira <bruna.moreira@indt.org>

* defs.h [ARM]: Define SUPPORTED_PERSONALITIES to 2.
* syscall.c (get_scno) [ARM]: Add support for architecture specific
syscalls.
* linux/arm/syscallent.h: Update network syscalls list.
* linux/arm/syscallent1.h: New file. Add new architecture specific
syscalls.
* linux/arm/errnoent1.h: New file.
* linux/arm/ioctlent1.h: New file.
* linux/arm/signalent1.h: New file.
Fixes Debian#441000.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 01:26:21 +0000 (01:26 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* configure.ac: Add check for struct sigcontext_struct in <signal.h>.
* signal.c [! HAVE_ASM_SIGCONTEXT_H] [I386] (struct sigcontext_struct):
Conditionalize definition on !HAVE_STRUCT_SIGCONTEXT_STRUCT.
Fixes Debian#456879.

16 years ago2008-01-07 Paul Mundt <lethal@linux-sh.org>
Roland McGrath [Tue, 20 May 2008 01:25:52 +0000 (01:25 +0000)]
2008-01-07  Paul Mundt  <lethal@linux-sh.org>

* linux/sh64/syscallent.h: Update numerous calls, fix others.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:12:24 +0000 (01:12 +0000)]
.

16 years ago2007-08-26 Daniel Jacobowitz <dan@codesourcery.com>
Roland McGrath [Tue, 20 May 2008 01:11:56 +0000 (01:11 +0000)]
2007-08-26  Daniel Jacobowitz  <dan@codesourcery.com>

* defs.h [MIPS]: Include <sgidefs.h>.
(MAX_QUALS): Update for MIPS.
(LINUX_MIPSO32, LINUX_MIPSN32, LINUX_MIPSN64, LINUX_MIPS64): Define.
(struct tcb): Add ext_arg for MIPS N32.
(TCB_WAITEXECVE): Define for MIPS.
(ALIGN64): Use LINUX_MIPSO32.
* file.c (sys_lseek): Use ext_arg for MIPS N32.
(sys_readahead, sys_fadvise64_64): Likewise.
* io.c (sys_pread64, sys_pwrite64): Likewise.
* mem.c (print_mmap): Take OFFSET argument.
(sys_old_mmap): Update call to print_mmap.
(sys_mmap): Use ext_arg for MIPS N32.
* process.c (struct_user_offsets): Add MIPS registers.
* signal.c (sys_sigreturn): Handle MIPS N32 and MIPS N64.  Correct
MIPS O32 call to sprintsigmask.
* syscall.c (internal_syscall): Handle MIPS N32.  Check for
TCB_WAITEXECVE on MIPS.
(force_result): Add a comment about MIPS N32.
(syscall_enter): Handle MIPS N32 and MIPS N64.
* linux/syscall.h (sys_pread64, sys_pwrite64): Declare.
* linux/mips/syscallent.h: Include "dummy.h".  Handle alternate
MIPS ABIs.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:08:50 +0000 (01:08 +0000)]
.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 00:34:34 +0000 (00:34 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* util.c [LINUX] (setbpt): Use correct SYS_clone number for current
personality.
Fixes RH#447475.

16 years ago.
Roland McGrath [Mon, 19 May 2008 23:50:35 +0000 (23:50 +0000)]
.

16 years ago2008-05-08 David S. Miller <davem@davemloft.net>
Roland McGrath [Mon, 19 May 2008 23:50:24 +0000 (23:50 +0000)]
2008-05-08  David S. Miller  <davem@davemloft.net>

* syscall.c (socket_map, sparc_socket_decode): Delete.
(trace_syscall): Use common socketcall and ipc subcall
support on sparc.
* linux/sparc/syscall.h (sys_semtimedop): Declare.
(SYS_socket_subcall, SYS_sub_socket, SYS_sub_bind,
SYS_sub_connect, SYS_sub_listen, SYS_sub_accept,
SYS_sub_getsockname, SYS_sub_getpeername,
SYS_sub_socketpair, SYS_sub_send, SYS_sub_recv,
SYS_sub_sendto, SYS_sub_recvfrom, SYS_sub_shutdown,
SYS_sub_setsockopt, SYS_sub_getsockopt, SYS_sub_sendmsg,
SYS_sub_recvmsg, SYS_socket_nsubcalls, SYS_ipc_subcall,
SYS_sub_semop, SYS_sub_semget, SYS_sub_semctl,
SYS_sub_semtimedop, SYS_sub_msgsnd, SYS_sub_msgrcv,
SYS_sub_msgget, SYS_sub_msgctl, SYS_sub_shmat,
SYS_sub_shmdt, SYS_sub_shmget, SYS_sub_shmctl,
SYS_ipc_nsubcalls): Define
* linux/sparc/syscallent.h: Add socketcall and ipc entries.

16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 23:49:58 +0000 (23:49 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* file.c [_LFS64_LARGEFILE] (sys_getdents64): Do the same
d_reclen check as in sys_getdents: warn if d_reclen is 0 rather
than looping forever.
[FREEBSD] (sys_getdirentries): Likewise.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 23:47:47 +0000 (23:47 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* file.c [LINUXSPARC] (printstatsol): Fix sprinttime()
invocation.  The sprinttime() function takes a time_t argument,
but timestruct_t argument was given.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 23:45:09 +0000 (23:45 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* file.c (sprinttime): Check localtime() return value, to avoid
potential NULL dereference due to invalid time structures.
Signed-off-by: Harald van Dijk <truedfx@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 19:07:23 +0000 (19:07 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* linux/errnoent.h: Update errno list based on latest
linux/errno.h and asm-generic/errno*.h files.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 14:18:23 +0000 (14:18 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* signalent.sh: Fix sort(1) old-style options.
* syscallent.sh: Likewise.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>