Roland McGrath
71d3d663ca
2007-08-03 Ulrich Drepper <drepper@redhat.com>
...
* file.c (open_mode_flags): Add O_CLOEXEC.
* net.c (msg_flags): Add MSG_CMSG_CLOEXEC.
2007-08-07 01:00:26 +00:00
Roland McGrath
f30de7edd2
.
2007-08-03 10:28:59 +00:00
Roland McGrath
47d3223c73
2007-08-03 Roland McGrath <roland@redhat.com>
...
* configure.ac, NEWS: Version 4.5.16.
* debian/changelog, strace.spec: 4.5.16-1.
2007-08-03 10:28:55 +00:00
Roland McGrath
328c235c2b
.
2007-08-03 10:04:52 +00:00
Roland McGrath
a2eed4f8a1
2007-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
...
* test/leaderkill.c (start): Renamed to ...
(start0): ... here.
(start1): New function.
(main): Created a new spare thread.
2007-08-03 10:02:02 +00:00
Roland McGrath
1bfd310325
2007-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
...
* strace.c (detach): Moved the resume notification code to ...
(resume_from_tcp): ... a new function here.
(handle_group_exit): No longer detach also the thread group leader.
(trace): Fixed panic on exit of the TCB_GROUP_EXITING leader itself.
2007-08-03 10:02:00 +00:00
Roland McGrath
7b5dd1e146
.
2007-08-03 09:59:13 +00:00
Roland McGrath
75df90ee41
2007-08-03 Roland McGrath <roland@redhat.com>
...
* debian/control (Build-Depends): Replace libc6-dev-s390x and
libc6-dev-sparc64 with gcc-multilib.
* debian/rules: Replace sparc-linux, s390-linux conditionals with
general "arch64_map" hair, handle x86_64 and powerpc64 too.
From Matthias Klose <doko@cs.tu-berlin.de>.
Fixes Debian#435303.
2007-08-03 09:59:09 +00:00
Roland McGrath
1dee3a81bd
.
2007-08-02 02:22:10 +00:00
Roland McGrath
1c459769f6
2007-08-01 Roland McGrath <roland@redhat.com>
...
* util.c (umoven): Don't perror for EIO.
(umovestr): Likewise.
2007-08-02 02:22:06 +00:00
Roland McGrath
8e7174fc1e
.
2007-08-02 02:13:08 +00:00
Roland McGrath
85a3bc4a04
2007-08-01 Roland McGrath <roland@redhat.com>
...
* process.c (printargv): Handle boundary cases correctly.
Handle biarch fetching correctly.
2007-08-02 02:13:05 +00:00
Roland McGrath
a503dcf820
2007-08-01 Roland McGrath <roland@redhat.com>
...
* util.c (printstr): Don't print ... if the string matches the length
limit exactly.
2007-08-02 02:06:26 +00:00
Roland McGrath
dd519cc7c0
.
2007-08-02 01:47:12 +00:00
Roland McGrath
d5e86ce02b
2007-08-01 Roland McGrath <roland@redhat.com>
...
* linux/sparc64/syscallent.h: Just #include the sparc file.
* linux/sparc64/syscallent1.h: Likewise.
* linux/sparc64/syscallent2.h: Likewise.
2007-08-02 01:47:08 +00:00
Roland McGrath
d9ac0256a4
.
2007-08-02 01:44:20 +00:00
Roland McGrath
245745cf07
2007-08-01 Roland McGrath <roland@redhat.com>
...
* linux/arm/syscallent.h: Add entry for getcpu.
* 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/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
2007-08-02 01:44:14 +00:00
Roland McGrath
b8c91639b8
.
2007-08-02 01:38:01 +00:00
Roland McGrath
db8319f2fa
2007-07-23 Ulrich Drepper <drepper@redhat.com>
...
* process.c (sys_getcpu): New function.
* linux/syscall.h: Declare sys_getcpu.
* linux/syscallent.h: Add entry for getcpu.
2007-08-02 01:37:55 +00:00
Roland McGrath
e9fcf735af
.
2007-08-02 01:37:07 +00:00
Roland McGrath
e6a00aff77
2007-08-01 Roland McGrath <roland@redhat.com>
...
* linux/arm/syscallent.h: Add entry for eventfd.
* 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/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
2007-08-02 01:37:01 +00:00
Roland McGrath
e7c3967019
2007-07-23 Ulrich Drepper <drepper@redhat.com>
...
* desc.c (sys_eventfd): New function.
* linux/syscall.h: Declare sys_eventfd.
* linux/syscallent.h: Add entry for eventfd.
* linux/x86_64/syscallent.h: Likewise.
2007-08-02 01:32:17 +00:00
Roland McGrath
5d46579085
.
2007-08-02 01:31:21 +00:00
Roland McGrath
827461aeed
2007-08-01 Roland McGrath <roland@redhat.com>
...
* linux/arm/syscallent.h: Add entry for timerfd.
* 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/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
2007-08-02 01:31:14 +00:00
Roland McGrath
e466234035
2007-02-23 Ulrich Drepper <drepper@redhat.com>
...
* time.c (printitv_bitness): Add missing braces to enclose
conditional code.
(TDF_TIMER_ABSTIME): Define if not already.
(timerfdflags): New variable.
(sys_timerfd): New function.
* linux/syscall.h: Declare sys_timerfd.
* linux/syscallent.h: Add timerfd entry.
* linux/x86_64/syscallent.h: Likewise.
2007-08-02 01:25:34 +00:00
Roland McGrath
488a140828
.
2007-08-02 01:23:52 +00:00
Roland McGrath
a826df6ce6
2007-08-01 Roland McGrath <roland@redhat.com>
...
* linux/sparc/syscallent.h: Add entry for signalfd.
* linux/sparc64/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
2007-08-02 01:23:38 +00:00
Roland McGrath
6f91dcfa33
2007-08-01 Roland McGrath <roland@redhat.com>
...
* linux/sparc/syscallent.h: Add entry for signalfd.
* linux/sparc64/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
2007-08-02 01:23:00 +00:00
Roland McGrath
f46ccd32cf
2007-07-23 Ulrich Drepper <drepper@redhat.com>
...
* linux/syscall.h: Declare sys_signalfd.
* linux/syscallent.h: Add entry for signalfd.
* linux/x86_64/syscallent.h: Likewise.
* signal.c (sys_signalfd): New function.
2007-08-02 01:15:59 +00:00
Roland McGrath
e36e4cae7b
.
2007-08-02 01:13:36 +00:00
Roland McGrath
419cd38805
2007-08-01 Roland McGrath <roland@redhat.com>
...
* linux/hppa/syscallent.h: Add entry for epoll_pwait.
* 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/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
2007-08-02 01:13:33 +00:00
Roland McGrath
f240005701
2007-07-23 Ulrich Drepper <drepper@redhat.com>
...
* desc.c (sys_epoll_wait): Move body of function to ...
(epoll_wait_common): ...here. New function.
(sys_epoll_pwait): New function.
* linux/syscall.h: Declare sys_epoll_pwait.
* linux/syscallent.h: Add entry for epoll_pwait.
* linux/x86_64/syscallent.h: Likewise.
2007-08-02 01:13:26 +00:00
Roland McGrath
b2c4f507ac
.
2007-07-24 01:59:02 +00:00
Roland McGrath
41383399cd
2007-07-23 Roland McGrath <roland@redhat.com>
...
* time.c (printtv_bitness): SPECIAL only counts when tv_sec == 0.
2007-07-24 01:58:52 +00:00
Roland McGrath
6afc5659ac
2007-07-23 Ulrich Drepper <drepper@redhat.com>
...
* defs.h: Add new parameter to printtv_bitness prototype.
(printttv): Pass zero for the new parameter.
(printtv_special): New macro.
* desc.c (decode_select): Pass zero for the new parameter of
printtv_bitness.
* file.c (utimensatflags): New macro.
(sys_osf_utimes): Pass zero for the new parameter of
printtv_bitness.
(sys_utimes): Likewise.
(sys_futimesat): Likewise.
(decode_utimes): Add new parameter. Pass it to the
printtv_bitness calls. Fix printing of time values.
(sys_utimensat): New function.
* time.c (UTIME_NOW, UTIME_OMIT): Define if not already
happened.
(printtv_bitness): Add new parameter. Print special UTIME_*
values as strings if set.
(sys_osf_gettimeofday): Pass zero for the new parameter of
printtv_bitness.
(sys_osf_settimeofday): Likewise.
* linux/syscall.h: Declare sys_utimensat.
* linux/syscallent.h: Add utimensat entry.
* linux/x86_64/syscallent.h: Likewise.
2007-07-24 01:57:11 +00:00
Roland McGrath
b912ffe5cc
.
2007-07-24 01:53:09 +00:00
Roland McGrath
0e091a1a3d
2007-07-23 Roland McGrath <roland@redhat.com>
...
* linux/arm/syscallent.h: Add move_pages.
* linux/hppa/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/mips/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/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
2007-07-24 01:53:00 +00:00
Roland McGrath
2c00a4a3cb
2007-07-23 Ulrich Drepper <drepper@redhat.com>
...
* mem.c (move_pages_flags): New variable.
(sys_move_pages): New function.
* linux/syscall.h: Declare sys_move_pages.
* linux/syscallent.h: Add entry for sys_move_pages.
* linux/x86_64/syscallent.h: Likewise.
2007-07-24 01:52:58 +00:00
Roland McGrath
7c7c00b193
2007-07-23 Roland McGrath <roland@redhat.com>
...
* linux/syscallent.h: move_pages takes 6 args, not 5.
* linux/x86_64/syscallent.h: Likewise.
2007-07-23 Ulrich Drepper <drepper@redhat.com>
* mem.c (move_pages_flags): New variable.
(sys_move_pages): New function.
* linux/syscall.h: Declare sys_move_pages.
* linux/syscallent.h: Add entry for sys_move_pages.
* linux/x86_64/syscallent.h: Likewise.
2007-07-24 01:52:57 +00:00
Roland McGrath
2149fc0b46
.
2007-07-24 01:38:31 +00:00
Roland McGrath
58372f52ac
2007-07-23 Roland McGrath <roland@redhat.com>
...
* util.c (tv_add): Fix rounding comparison.
Reported by Bai Weidong <baiwd@cn.fujitsu.com>.
2007-07-24 01:38:22 +00:00
Roland McGrath
a7f34143e3
.
2007-07-11 09:04:26 +00:00
Roland McGrath
14e3174d1c
2007-07-11 Roland McGrath <roland@redhat.com>
...
* count.c (call_summary_pers): Use tv_float conversion for output of
cumulative time, in case it is negative from bogus -O value.
From Lai JiangShan <laijs@cn.fujitsu.com>.
2007-07-11 09:04:23 +00:00
Roland McGrath
0adfb528d8
.
2007-07-11 08:35:15 +00:00
Roland McGrath
d6a32f176c
2007-07-11 Roland McGrath <roland@redhat.com>
...
* strace.c (handle_group_exit): Detach TCP before LEADER.
Don't use PTRACE_KILL on LEADER.
2007-07-11 08:35:11 +00:00
Roland McGrath
70b2f0a80a
.
2007-07-11 07:23:44 +00:00
Roland McGrath
779c466c0f
2007-07-11 Roland McGrath <roland@redhat.com>
...
* util.c (printstr): Fix size calculation for outstr allocation.
2007-07-11 07:23:40 +00:00
Roland McGrath
cbf406099b
.
2007-07-11 07:11:24 +00:00
Roland McGrath
d26486e7f9
2007-07-11 Roland McGrath <roland@redhat.com>
...
* configure.ac (struct sigcontext.sc_hi2): Use #ifdef around
<asm/sigcontext.h> to match signal.c include conditions.
2007-07-11 07:11:20 +00:00
Roland McGrath
96affab069
.
2007-07-05 20:55:15 +00:00