Roland McGrath
712bc7a97b
.
2004-10-20 01:00:45 +00:00
Roland McGrath
0569095472
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.
2004-10-20 01:00:27 +00:00
Roland McGrath
223a3ff9a8
.
2004-10-19 23:33:53 +00:00
Roland McGrath
8988d1e16c
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>.
2004-10-19 23:33:50 +00:00
Roland McGrath
5e02a5793d
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>.
2004-10-19 23:33:47 +00:00
Roland McGrath
c5fa4ac3f0
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 .
2004-10-19 23:29:47 +00:00
Roland McGrath
9597e6dc2c
2004-09-05 Phil Blundell <pb@nexus.co.uk>
...
* linux/arm/syscallent.h: New file.
2004-10-19 23:29:27 +00:00
Roland McGrath
391d5a1183
2004-09-14 Richard Henderson <rth@twiddle.net>
...
* linux/alpha/syscallent.h: Add tgkill, *stat64, vserver, mbind,
[gs]et_mempolicy, mq_*, waitid.
2004-10-19 23:23:59 +00:00
Roland McGrath
205ad8be0a
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 .
2004-10-19 23:23:36 +00:00
Roland McGrath
38d88e6494
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 .
2004-10-19 23:23:34 +00:00
Roland McGrath
914f3aa017
.
2004-10-19 23:00:14 +00:00
Roland McGrath
8c304bcc00
2004-10-19 Roland McGrath <roland@redhat.com>
...
* file.c (sys_llseek): Revert last change.
2004-10-19 22:59:55 +00:00
Roland McGrath
0aa53f65fc
.
2004-10-07 19:09:23 +00:00
Roland McGrath
2fe2a3e124
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.
2004-10-07 19:09:16 +00:00
Roland McGrath
61b324bc39
.
2004-10-07 18:59:13 +00:00
Roland McGrath
63b2d857f5
2004-10-07 Roland McGrath <roland@redhat.com>
...
* linux/x86_64/syscallent.h: Fix botched table entries.
From Ulrich Drepper <drepper@redhat.com>.
2004-10-07 18:58:45 +00:00
Roland McGrath
aa08d71282
.
2004-10-07 18:53:17 +00:00
Roland McGrath
b10a33590d
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>.
2004-10-07 18:53:12 +00:00
Roland McGrath
51f9ac0da6
.
2004-10-07 18:51:22 +00:00
Roland McGrath
df13e8f4ca
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>.
2004-10-07 18:51:19 +00:00
Roland McGrath
2af128bcd2
.
2004-10-06 22:32:04 +00:00
Roland McGrath
7166bb0cea
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.
2004-10-06 22:31:38 +00:00
Roland McGrath
79367f8373
.
2004-10-06 22:28:17 +00:00
Roland McGrath
d83c50b8e4
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.
2004-10-06 22:27:43 +00:00
Roland McGrath
d2553bbb87
.
2004-10-06 22:23:55 +00:00
Roland McGrath
93817bfb82
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.
2004-10-06 22:23:31 +00:00
Roland McGrath
2803d102e8
.
2004-10-06 22:15:18 +00:00
Roland McGrath
566ce1fc62
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.
2004-10-06 22:14:53 +00:00
Roland McGrath
288a3a0c11
.
2004-10-06 22:12:09 +00:00
Roland McGrath
f9c49b24dc
2004-10-06 Roland McGrath <roland@redhat.com>
...
* file.c (sprintmode): Add const to return type.
(sprintfstype): Likewise.
* signal.c (printsiginfo): Add a const.
2004-10-06 22:11:54 +00:00
Roland McGrath
5077082649
2004-10-06 Roland McGrath <roland@redhat.com>
...
* net.c [HAVE_SENDMSG] (printcmsghdr): New function.
(printmsghdr): Use it.
2004-10-06 22:11:51 +00:00
Roland McGrath
4455b1da96
.
2004-10-06 22:03:22 +00:00
Roland McGrath
39426a359f
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 *).
2004-10-06 22:02:59 +00:00
Roland McGrath
cbf130892f
2004-09-15 Roland McGrath <roland@redhat.com>
...
* linux/x86_64/syscallent.h: Use sys_waitid.
2004-10-06 22:02:41 +00:00
Roland McGrath
813b8aff44
.
2004-09-11 08:13:27 +00:00
Roland McGrath
675d4a6dba
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.
2004-09-11 08:12:45 +00:00
Michal Ludvig
51d1ebc33a
2004-09-07 Michal Ludvig <mludvig@suse.cz>
...
* defs.h (nioctlents1, nsignals2): Fix typos in decls.
2004-09-07 14:06:03 +00:00
Roland McGrath
ce36138bcb
.
2004-09-04 04:20:49 +00:00
Roland McGrath
e10e62a03c
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.
2004-09-04 04:20:43 +00:00
Roland McGrath
77019f783a
.
2004-09-04 03:53:18 +00:00
Roland McGrath
ee36ce19e0
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.
2004-09-04 03:53:10 +00:00
Roland McGrath
4ee6e6970d
.
2004-09-04 03:39:26 +00:00
Roland McGrath
d9f816f604
2004-09-03 Roland McGrath <roland@redhat.com>
...
* util.c (xlookup, printxval, addflags, printflags): Use const for
struct xlat * argument.
* defs.h (xlookup, printxval, addflags, printflags): Update decls.
* bjm.c: Add const to all struct xlat defns.
* desc.c: Likewise.
* file.c: Likewise.
* ipc.c: Likewise.
* mem.c: Likewise.
* net.c: Likewise.
* proc.c: Likewise.
* process.c: Likewise.
* resource.c: Likewise.
* signal.c: Likewise.
* sock.c: Likewise.
* stream.c: Likewise.
* system.c: Likewise.
* term.c: Likewise.
* time.c: Likewise.
* util.c: Likewise.
2004-09-04 03:39:20 +00:00
Roland McGrath
b036f584a0
.
2004-09-01 19:39:59 +00:00
Roland McGrath
475d203dc4
2004-09-01 Roland McGrath <roland@redhat.com>
...
* linux/x86_64/syscallent.h: Add new entries for timer_*, clock_*, and
mq_* syscalls, and names only for new calls up to 252.
* linux/syscallent.h: Add waitid.
* linux/x86_64/syscallent.h: Likewise.
* linux/syscall.h: Declare sys_waitid.
2004-09-01 19:39:50 +00:00
Roland McGrath
c74c0b732b
2004-09-01 Roland McGrath <roland@redhat.com>
...
* process.c (internal_wait): Take second arg giving index of flags
argument.
* defs.h: Update prototype.
* syscall.c (internal_syscall): Update caller.
Also use internal_wait for SYS_waitid.
* process.c (sys_waitid): Define for [LINUX] as well.
Don't tweak TCB_SUSPENDED--internal_wait does that.
(waitid_types): Conditionalize use of nonstandard P_* macros.
2004-09-01 19:39:46 +00:00
Roland McGrath
a9baea469b
2004-08-31 Roland McGrath <roland@redhat.com>
...
* configure.ac, NEWS: Version 4.5.7.
* debian/changelog: 4.5.7-1.
* strace.spec: 4.5.7-2.
2004-08-31 09:02:35 +00:00
Roland McGrath
61d6487f11
2004-08-31 Roland McGrath <roland@redhat.com>
...
* configure.ac, NEWS: Version 4.5.7.
* debian/changelog: 4.5.7-1.
* strace.spec: 4.5.7-2.
2004-08-31 08:58:10 +00:00
Roland McGrath
5db9032c63
2004-08-31 Roland McGrath <roland@redhat.com>
...
* debian/rules: Rewrite sparc64 change of 2004-07-12.
Always do each build in a separate build directory.
Fixes Debian bug #254728 .
2004-08-31 08:54:09 +00:00
Roland McGrath
f5fcbc1fb0
.
2004-08-31 08:41:59 +00:00