blob: 19da216e736be0421ce655fc63ef4dd0fd42ba8c [file] [log] [blame]
Michal Ludvig882eda82002-11-11 12:50:47 +000012002-11-09 Heiko Carstens <heiko.carstens@de.ibm.com>
2
3 Bugfix for s390/s390x:
4 * syscall.c: Fixed scno derivation for s390/s390x.
5
Michal Ludvig17f8fb32002-11-06 13:17:21 +000062002-11-06 Michal Ludvig <mludvig@suse.cz>
7
Michal Ludvig39c0e942002-11-06 14:00:12 +00008 Merged patch from Steven J. Hill <sjhill@realitydiluted.com>
9 to allow the compilation of a native MIPS strace.
10
112002-11-06 Michal Ludvig <mludvig@suse.cz>
12
Michal Ludvig17f8fb32002-11-06 13:17:21 +000013 From Marty Leisner <leisner@rochester.rr.com>,
Michal Ludvig882eda82002-11-11 12:50:47 +000014 rewritten by mludvig:
Michal Ludvig17f8fb32002-11-06 13:17:21 +000015 * strace.c (not_failing_only): New.
16 (usage): Added -z switch description.
17 (main): Added -z switch parsing to not_failing_only variable.
18 * syscall.c (trace_syscall): Added not_failing_only handling.
19
Michal Ludvigeb818f02002-10-09 09:16:22 +0000202002-10-08 Heiko Carstens <heiko.carstens@de.ibm.com>
21
22 Missing complete changelog for 2002-10-07 commit:
23 * Makefile.in: Added linux/s390, linux/s390x to ALL_SUBDIRS.
24 * acconfig.h: New define for s390x.
25 * config.sub: Added missing define for s390 and new one for s390x.
26 * configure.in: Added new define for s390x.
27 * file.c: Added missing #undef dirent64 and new defines for s390x.
28 * linux/s390: New directory.
29 * linux/s390/Makefile.in: New file.
30 * linux/s390/errnoent.h: New file.
31 * linux/s390/ioctlent.h: New file.
32 * linux/s390/signalent.h: New file.
33 * linux/s390/syscallent.h: New file.
34 * linux/s390x: New directoy.
35 * linux/s390x/Makefile.in: New file.
36 * linux/s390x/errnoent.h: New file.
37 * linux/s390x/ioctlent.h: New file.
38 * linux/s390x/signalent.h: New file.
39 * linux/s390x/syscallent.h: New file.
40 * linux/syscall.h: Added sys_mincore() prototype and added new
41 s390x defines.
42 * process.c: Added s390x defines.
43 (change_syscall): Changed handling for s390.
44 (setarg): Added missing s390/s390x code in setarg().
45 * signal.c: Added s390x define.
46 (sys_sigreturn): Bugfix in s390/s390x code (wrong number of
47 arguments to sprintsigmask()).
48 * stream.c (internal_stream_ioctl): Changed int cast to long cast,
49 since printstr() expects a long.
50 * syscall.c (decode_subcall): Changed several variables to be long
51 instead of int to match 64 bit requirements. Added s390x defines.
52 (syscall_enter): Changed upeek() call to match s390 and s390x
53 requirements.
54 * util.c: Added s390x defines.
55
Michal Ludvig10a88d02002-10-07 14:31:00 +0000562002-10-07 Michal Ludvig <mludvig@suse.cz>
57
58 Merged s390x port by Heiko Carstens <Heiko.Carstens@de.ibm.com>
59 and bugfixes to s390 by D.J. Barrow.
60
Michal Ludvig53b320f2002-09-23 13:30:09 +0000612002-09-23 Michal Ludvig <mludvig@suse.cz>
62
Michal Ludvig0e035502002-09-23 15:41:01 +000063 Merged x86-64 port by Andi Kleen <ak@suse.de>
64 and Michal Ludvig <mludvig@suse.cz>
65 * Makefile.in: New target 'headers'. Failure ignored.
66 * acconfig.h: New defines for x86-64.
67 * configure.in: Ditto.
68 * defs.h: Ditto.
69 * file.c: Ditto.
70 * signal.c: Ditto.
71 * process.c: Added support for x86-64.
72 * util.c: Ditto.
73 * syscall.c: Ditto + added automatic personality switching.
74 * linux/syscall.h: Ditto.
75 * linux/x86_64: New directory.
76 * linux/x86_64/Makefile.in: New file.
77 * linux/x86_64/gentab.pl: Ditto.
78 * linux/x86_64/i386-headers.diff: Ditto.
79 * linux/x86_64/makeheaders.sh: Ditto.
80 * linux/x86_64/syscallent.h: Ditto.
81 * mem.c (print_mmap): Always print arg[4] as int.
82
832002-09-23 Michal Ludvig <mludvig@suse.cz>
84
Michal Ludvig53b320f2002-09-23 13:30:09 +000085 * configure.in: Fix regular expressions.
86 * linux/syscall.h: Added missing braces in prototype of
87 sys_getdents64().
88 * file.c: Use '#ifdef LINUX' instead of '#ifdef linux'.
89 (struct fileflags): Made extern to inhibit compiation warnings.
90 (sys_getdents64): Merged LINUX and SVR4 part.
Michal Ludvig0e035502002-09-23 15:41:01 +000091 * syscall.c (get_scno): Split multiline string into two distinct
Michal Ludvig53b320f2002-09-23 13:30:09 +000092 strings.
93
John Hughes2c4e3a82002-05-24 10:19:44 +0000942002-05-24 John Hughes <john@calva.com>
95
96 * stream.h, net.h: Avoid possible infinite loop caused by
97 unsigned arithmetic in preceeding change.
98
John Hughesb6643082002-05-23 11:02:22 +0000992002-05-23 John Hughes <john@calva.com>
100
John Hughes38ae88d2002-05-23 11:48:58 +0000101 * acconfig.h: Add HAVE_OPTHDR and HAVE_T_OPTHDR defines.
102
103 * aclocal.m4: Add tests for struct opthdr in sys/socket.h and
104 struct t_opthdr in sys/tiuser.h, define HAVE_OPTHDR and HAVE_T_OPTHDR
105 if found.
106
107 * configure.in: use tests for struct opthdr and struct t_opthdr.
108
109 * defs.h: add new function print_sock_optmgmt.
110
111 * io.c: add hack that lets ioctl decode functions set auxilliary
112 string return.
113
114 * stream.c: better decoding for timod ioctls.
115
116 * net.c: add function print_sock_optmgmt, used by timod ioctl
117 decoding functions in stream.c.
118
1192002-05-23 John Hughes <john@calva.com>
120
John Hughescde80ab2002-05-23 11:19:05 +0000121 * acconfig.h: Make autoheader happy about Linux/SuperH
122
1232002-05-23 John Hughes <john@calva.com>
124
John Hughesb6643082002-05-23 11:02:22 +0000125 * strace.c: Get rid of warning if not using POLL_HACK
126
John Hughes93f7fcc2002-05-22 15:46:49 +00001272002-05-22 John Hughes <john@calva.com>
128
129 * net.c: Simplify {get,set}sockopt, decode SO_LINGER, cope with
130 options that are not just ints, cope with systems that don't
131 #define SOL_TCP and so on.
132
John Hughesd870b3c2002-05-21 11:24:18 +00001332002-05-21 John Hughes <john@calva.com>
134
135 * strace.c: Fix warning if POLL_HACK is used.
136
John Hughesc61eb3d2002-05-17 11:37:50 +00001372002-05-17 John Hughes <john@calva.com>
138
John Hughes5eb78d52002-05-17 14:04:24 +0000139 * svr4/ioctlent.sh: Some defines on UW come with too many spaces.
140
1412002-05-17 John Hughes <john@calva.com>
142
John Hughese9224782002-05-17 13:58:24 +0000143 * svr4/ioctlent.sh: Cope with #defines wrapped in #ifdefs.
144
1452002-05-17 John Hughes <john@calva.com>
146
John Hughesfd15cb32002-05-17 11:41:35 +0000147 * stream.c: tidy up output a little.
148
1492002-05-17 John Hughes <john@calva.com>
150
John Hughesc61eb3d2002-05-17 11:37:50 +0000151 * process.c, svr4/dummy.h, svr4/syscall.h: decode arguments
152 to procpriv syscall.
153
Wichert Akkermanccef6372002-05-01 16:39:22 +00001542002-05-01 Wichert Akkerman <wichert@deephackmode.org>
155
156 * configure.in, defs.h, process.c, sock.c, syscall.c, util.c: merge
157 patch from Greg Banks <gbanks@pocketpenguins.com> for Linux/SuperH
158 support
159
Wichert Akkermanb0c598f2002-04-01 12:48:06 +00001602002-04-01 Wichert Akkerman <wichert@deephackmode.org>
161
Wichert Akkermaneb8ebda2002-04-01 17:48:02 +0000162 * strace.c: close tcp->outf in droptcb()
163
1642002-04-01 Wichert Akkerman <wichert@deephackmode.org>
165
Wichert Akkermanb0c598f2002-04-01 12:48:06 +0000166 * net.c: decode packet options
167
Wichert Akkermand321ff92002-03-31 18:45:45 +00001682002-03-31 Wichert Akkerman <wichert@deephackmode.org>
169
Wichert Akkermaned2c74d2002-03-31 20:16:02 +0000170 * linux/{alpha,hppa,ia64,mips,powerpc,sparc}/syscallent.h: regenerated
171
1722002-03-31 Wichert Akkerman <wichert@deephackmode.org>
173
Wichert Akkermand321ff92002-03-31 18:45:45 +0000174 * debian/*: added
Wichert Akkerman7ab47b62002-03-31 19:00:02 +0000175 * linux/syscallent.h: fix typo and add the reserved stream syscalls
176 * defs.h, file.c, io.c: fix signed/unsigned issues
Wichert Akkerman4527dae2002-03-31 19:03:29 +0000177 * syscall.c: check for negative u_errors
Wichert Akkerman235b0ff2002-03-31 19:08:04 +0000178 * cvsbuild: renamed to autogen.sh
Wichert Akkermand321ff92002-03-31 18:45:45 +0000179
Wichert Akkerman8b8ff7c2001-12-27 22:27:30 +00001802001-12-17 Wichert Akkerman <wakkerma@debian.org>
181
182 * net.c: add new TCP socket options
183
John Hughesfa519572001-10-26 08:05:49 +00001842001-10-26 John Hughes <john@calva.com>
185
186 * svr4/ioctlent.sh: Cope with #define lines containing
187 comments that terminate on subsequent lines. Used to
188 comment out subsequent ioctls!
189
Wichert Akkerman9fbd0dd2001-10-26 05:20:37 +00001902001-10-25 Wichert Akkerman <wakkerma@debian.org>
191
192 * linux/ioctlent.h: regenerated using current scripts so
193 term ioctls are included
194
John Hughes19e49982001-10-19 08:59:12 +00001952001-10-19 John Hughes <john@Calva.COM>
196
197 * strace.c(proc_open): On SVR4 only trace the syscalls,
198 signals and faults we care about.
199
John Hughes42162082001-10-18 14:48:26 +00002002001-10-18 John Hughes <john@Calva.COM>
201
John Hughesc0c5ac82001-10-19 07:32:14 +0000202 * acconfig.h: Add HAS_SIGINFO_T.
203 * aclocal.m4: add check for siginfo_t in signal.h.
204 * configure.in: use check for siginfo_t.
205 * defs.h: if HAVE_SIGINFO_T the declare printsiginfo. On SVR4
206 allow access to siginfo when signal recieved.
207 * process.c: Remove SVR4 only version of printsiginfo.
208 * signal.c: merge SVR4 and LINUX versions of printsiginfo.
209 * strace.c: on SVR4 print siginfo when signal recieved.
210
2112001-10-18 John Hughes <john@Calva.COM>
212
John Hughes2d8b2c52001-10-18 14:52:24 +0000213 * system.c(sys_ssisys): handle return values for ssisys
214
2152001-10-18 John Hughes <john@Calva.COM>
216
John Hughes42162082001-10-18 14:48:26 +0000217 * signal.c: handle sigwait
218 * svr4/dummy.c: Move sigwait to done
219 * svr4/syscall.h: handle sigwait
220
John Hughes9cecf7f2001-10-16 10:20:22 +00002212001-10-16 John Hughes <john@Calva.COM>
222
John Hughes0aadba42001-10-16 18:19:52 +0000223 * system.c(sys_ssisys): decode some args for ssisys.
224
2252001-10-16 John Hughes <john@Calva.COM>
226
John Hughesaca07f32001-10-16 18:12:27 +0000227 * mem.c: MS_SYNC is zero, so must be first in xlat list.
228
229 * svr4/dummy.h: memcntl is much like mctl.
230
2312001-10-16 John Hughes <john@Calva.COM>
232
John Hughes9cecf7f2001-10-16 10:20:22 +0000233 * util.c (umovestr): UnixWare (svr4?) returns 0 when trying
234 to read unmapped page. Make it possible to strace ksh.
235
Wichert Akkerman7b3346b2001-10-09 23:47:38 +00002362001-10-03 David Mosberger <davidm@hpl.hp.com>
237
238 * process.c (internal_clone): Avoid race condition by clearing
239 breakpoint after attaching to child.
240
2412001-10-02 David Mosberger <davidm@hpl.hp.com>
242
243 * linux/ia64/syscallent.h: Define ia32 syscall numbers (originally
244 by Don Dugger, with my refinements).
245
246 * linux/ia64/ioctlent.h: Regenerate and manually merge conflicting
247 ioctls (TCGETS & SNDCTL_TMR_TIMEBASE, etc.).
248
249 * linux/ia64/Makefile.in (ioctldefs.h ioctls.h): Update for
250 new ioctlent.h generation scheme.
251
252 * linux/syscall.h (sys_clone2): Declare.
253 [IA64] Define ia32 socket, ipc, and extra syscall numbers.
254
255 * linux/ioctlent.sh (regexp): Also handle <asm/ioctls.h> so we
256 don't miss the tty ioctls (unfortunately, some of the sound timer
257 ioctls are in conflict with them!).
258
259 * util.c (setbpt) [IA64]: Add ia32 support (by Don Dugger).
260 (clrbpt) [IA64]: Ditto.
261
262 * syscall.c (internal_syscall): Handle SYS_clone2, SYS32_wait4,
263 and SYS32_exit.
264 (get_scno): Get ia32 syscall number from r1 (orig eax) instead of
265 r8 (eax). Handle TCB_WAITEXECVE.
266 (syscall_fixup): Handle ia64.
267 (syscall_enter): Fix argument fetching for ia64.
268
269 * strace.c [IA64 && LINUX]: Include <asm/ptrace_offsets.h>.
270 (trace) [PT_GETSIGINFO]: Print signal address and pc if possible.
271
272 * process.c (tcp): New function.
273 (change_syscall): Add support for ia64 linux.
274 (sys_execve): Turn on TCB_WAITEXECVE for ia64 linux.
275
276 * desc.c (getlk): Cast l_len to "long long" to avoid warnings when
277 type is narrower.
278 * resource.c (sprintrlim64): Ditto.
279
280 * defs.h (TCB_WAITEXECVE) [IA64]: Define.
281 [IA64]: Declare "ia32" variable.
282
283 * bjm.c: Do not include <linux/module.h>. It's not safe to include
284 kernel headers. Declare the necessary constants and structures
285 directly instead.
286
2872001-10-01 David Mosberger <davidm@hpl.hp.com>
288
289 * signal.c (parse_sigset_t): New function.
290 (sigishandled): Fix off-by-one bug by using parse_sigset_t() and
291 avoiding relying on internal layout of sigset_t datastructure.
292
2932001-04-26 David Mosberger <davidm@hpl.hp.com>
294
295 * linux/ia64/syscallent.h: Add getunwind().
296
2972001-04-11 David Mosberger <davidm@hpl.hp.com>
298
299 * syscall.c (syscall_enter): Use PT_RBS_END instead of deprecated
300 PT_AR_BSP. Pick up arguments starting with out0, which is not
301 always the same as r32 (e.g., consider inlined syscalls).
302
John Hughesa2278142001-09-28 16:21:30 +00003032001-09-28 John Hughes <john@Calva.COM>
304
305 * process.c: FreeBSD-CURRENT no longer has PT_READ_U, and anyway we
306 were showing it as PT_WRITE_U! Fix from Maxime Henrion.
307
John Hughes1fcb1d62001-09-18 15:56:53 +00003082001-09-18 John Hughes <john@Calva.COM>
309
310 * net.c: fix display of sockaddr structures, sometimes too many "}",
311 sometimes too few. Fix suggested by Richard Kettlewell.
312
Wichert Akkerman67e3e632001-08-19 11:43:17 +00003132001-08-19 Wichert Akkerman <wakkerma@debian.org>
314
315 * signal.c: do not include asm/sigcontext.h on IA64 since it gets
316 the struct from bits/sigcontext.h already which signal.h includes.
317
Wichert Akkerman7b96b572001-08-03 11:37:07 +00003182001-08-03 Wichert Akkerman <wakkerma@debian.org>
319
Wichert Akkerman7c707a72001-08-03 21:54:08 +0000320 * linux/ioctlent.sh: change regexps so we catch sound ioctls as well in
321 Linux
322 * linux/Makefile.in: fix a few things so the ioctl list is generated
323 properly
324 * ioctl.c: remember to shift ioctl masks as well
325
3262001-08-03 Wichert Akkerman <wakkerma@debian.org>
327
Wichert Akkermancd6aefc2001-08-03 12:27:54 +0000328 * Linux/**/syscallent.h: synchronize section for fcntl and use sys_fcntl
329 for sys_fcntl as well
330
3312001-08-03 Wichert Akkerman <wakkerma@debian.org>
332
Wichert Akkerman0b1120a2001-08-03 12:20:38 +0000333 * linux/hppa/syscallent.h: updated from Matthew Wilcox
334
3352001-08-03 Wichert Akkerman <wakkerma@debian.org>
336
Wichert Akkerman82b162e2001-08-03 11:51:28 +0000337 * process.c: seems Linux/IA64 changed register names on us, switch to
338 using new names.
339
3402001-08-03 Wichert Akkerman <wakkerma@debian.org>
341
Wichert Akkerman54b4f792001-08-03 11:43:35 +0000342 * strace.c: set CLOEXEC flag for outputfile
343
3442001-08-03 Wichert Akkerman <wakkerma@debian.org>
345
Wichert Akkerman7b96b572001-08-03 11:37:07 +0000346 * linux/sparc/syscall.h, linux/sparc/syscallent.h: add some LFS calls
347
Wichert Akkerman4f1bbbe2001-07-23 14:43:07 +00003482001-07-23 Wichert Akkerman <wakkerma@debian.org>
349
350 * configure.in: Support cross-compiling between architectures
351
Wichert Akkerman0dc4fc92001-07-13 22:09:05 +00003522001-07-13 Wichert Akkerman <wakkerma@debian.org>
353
354 * configure.in: add S390 to architecture list
355
John Hughes1d08dcf2001-07-10 13:48:44 +00003562001-07-10 John Hughes <john@Calva.COM>
357
358 * TODO, defs.h, io.h, net.c, strace.c, syscall.c, util.c: Merge fixes
359 from Richard Kettlewell <rkettlewell@zeus.com> which add I/O dumping
360 of args to readv/writev. Also gets rid of redundant printiovec
361 routine from net.c (duplicate of tprint_iov in util.c).
362
Wichert Akkerman688c7fc2001-07-02 16:53:25 +00003632001-07-02 Wichert Akkerman <wakkerma@debian.org>
364
365 * config.{guess,sub}: updated
366
John Hughesaa09c6b2001-05-15 14:53:43 +00003672001-05-15 John Hughes <john@Calva.COM>
368
John Hughes70c5e7a2001-05-15 15:09:14 +0000369 * signal.c: pass a pointer to sigmask to printsigmask from printcontext,
370 it was just passing the sigmask (ucp->uc_sigmask).
371
3722001-05-15 John Hughes <john@Calva.COM>
373
John Hughesaa09c6b2001-05-15 14:53:43 +0000374 * util.c: Don't run off the end of valid memory in umovestr when
375 USE_PROCFS. Important for FREEBSD systems (which seem to have an
376 unmapped page just after the args/env area).
377
John Hughes4e36a812001-04-18 15:11:51 +00003782001-04-18 John Hughes <john@Calva.COM>
379
380 * configure.in: test for sys/nscsys.h, the non-stop clusters includes.
381 * process.c: handle rfork{1,all} and rexecve calls on non-stop clusters.
382 * syscall.c: treat rfork{1,all} and fork{1,all} as fork like calls.
383 Treat rexecve as an exec.
384 * system.c: decode arguments to ssisys call on nsc systems.
385 * svr4/dummy.h, svr4/syscall.h: now we handle rfork{1,all}, ssisys and
386 rexecve calls.
387
Wichert Akkerman35254402001-04-12 09:11:04 +00003882001-04-12 Wichert Akkerman <wakkerma@debian.org>
389
390 * process.c: fix cast for powerpc code
391 * linux/powerpc/syscallent.h: update syscall list
392 * README: fix address for the strace mailinglist
393 * signal.c: switch to using /proc/<pid>/status on Linux so we can get
394 the realtime signals as well
395
Wichert Akkerman4ca31092001-04-10 10:28:43 +00003962001-04-10 Wichert Akkerman <wakkerma@debian.org>
397
398 * Merge patches from Maciej W. Rozycki:
399 + util.c: add code to print PC for MIPS
400 + linux/mips/syscallent.h: updated
401 + system.c: formating fixes for sys_sysmips
Wichert Akkerman42080d82001-04-10 10:32:26 +0000402 + configure.in: test for yet more headers
403 + stream.c: use configure-headertests instead of relying on OS hints
Wichert Akkerman4ca31092001-04-10 10:28:43 +0000404
Wichert Akkermand6b92492001-04-07 21:37:12 +00004052001-04-07 Wichert Akkerman <wakkerma@debian.org>
406
Wichert Akkermane70bbe52001-04-07 21:47:30 +0000407 * NEWS: start 4.3.1 items
408 * version.c: updated to say 4.3.1 (was still 4.2, oops!)
409
4102001-04-07 Wichert Akkerman <wakkerma@debian.org>
411
Wichert Akkermand6b92492001-04-07 21:37:12 +0000412 * configure.in: test for asm/sysmips.h and linux/utsname.h
413 * linux/syscall.h: fix a typo for sys_sysmips
414 * system.c: include asm/sysmips.h and linux/utsname.h if they exist,
415 fix typo
416
Wichert Akkerman4f043ec2001-03-31 16:25:58 +00004172001-03-31 Wichert Akkerman <wakkerma@debian.org>
418
419 * linux/mips/ioctlent.h: updated using new Linux ioctl setup
420
4212001-03-31 Wichert Akkerman <wakkerma@debian.org>
Wichert Akkerman8aada672001-03-31 16:20:33 +0000422
423 * linux/ia64/ioctlent.h: regenerated
424
Wichert Akkerman29f0d052001-03-31 16:14:55 +00004252001-03-31 Wichert Akkerman <wakkerma@debian.org>
426
Wichert Akkermancf715672001-03-31 16:16:57 +0000427 * linux/{alpha,ia64,powerpc}/ioctlent.sh: removed, all archs use the
428 general Linux ioctlent.sh
429
4302001-03-31 Wichert Akkerman <wakkerma@debian.org>
431
Wichert Akkerman29f0d052001-03-31 16:14:55 +0000432 * linux/ioctlent.sh: add dir variable for location of kernel headers
433
Wichert Akkermanbbf59e92001-03-29 17:43:19 +00004342001-03-29 Wichert Akkerman <wakkerma@debian.org>
435
Wichert Akkerman00cd74c2001-03-30 16:20:27 +0000436 * linux/ia64/ioctlent.h: updated using new Linux ioctl setup
437
4382001-03-29 Wichert Akkerman <wakkerma@debian.org>
439
Wichert Akkerman10767782001-03-29 19:04:25 +0000440 * linux/powerpc/ioctlent.h: updated using new Linux ioctl setup
441
4422001-03-29 Wichert Akkerman <wakkerma@debian.org>
443
Wichert Akkermand7fb2062001-03-29 18:16:07 +0000444 * linux/hppa/ioctlent.h: updated using new Linux ioctl setup
445
4462001-03-29 Wichert Akkerman <wakkerma@debian.org>
447
Wichert Akkermanbbf59e92001-03-29 17:43:19 +0000448 * linux/alpha/ioctlent.h: updated using new Linux ioctl setup
449
Wichert Akkerman2f1d87e2001-03-28 14:40:14 +00004502001-03-28 Wichert Akkerman <wakkerma@debian.org>
451
Wichert Akkerman00a82ee2001-03-28 20:29:17 +0000452 * configure.in: use sparc* so we can compile on sparc64 as well
453 * process.c, syscall.c: work around double define of fpq, fq and fpu
454 structs on Linux/sparc, and use regs instead of pt_regs
455 * don't use asm/sigcontext.h on Linux/sparc
456
4572001-03-28 Wichert Akkerman <wakkerma@debian.org>
458
Wichert Akkermanfe8f65d2001-03-28 15:10:49 +0000459 * linux/sparc/ioctlent.h: updated using new Linux ioctl setup
460
4612001-03-28 Wichert Akkerman <wakkerma@debian.org>
462
Wichert Akkerman2f1d87e2001-03-28 14:40:14 +0000463 * strace.c: use __WALL as wait4 flag if it exists so we can properly
464 trace threaded programs
465
John Hughes8e075fb2001-03-27 13:57:48 +00004662001-03-27 John Hughes <john@Calva.COM>
467
John Hughesb8a85a42001-03-28 08:05:27 +0000468 * aclocal.m4: add check for endianness of long long.
469 * acconfig.h: add #define for LITTLE_ENDIAN_LONG_LONG.
470 * configure.in: check for endianness of long long.
Wichert Akkerman8ab1a3c2001-03-28 14:27:23 +0000471 * defs.h: change LONG_LONG macro to work with either endianness of
John Hughesb8a85a42001-03-28 08:05:27 +0000472 long long.
473
4742001-03-27 John Hughes <john@Calva.COM>
475
John Hughes61563572001-03-27 16:47:36 +0000476 * net.c: Make compilable by SCO UDK compiler (doesn't like empty
477 initialisation list for array).
478
4792001-03-27 John Hughes <john@Calva.COM>
480
John Hughes8e075fb2001-03-27 13:57:48 +0000481 * svr4/syscallent.h: ntp_adjtime entry was duplicated on Solaris
482 systems - bad merge of Harald Boehme's patch by me.
483
Wichert Akkerman072ea8a2001-03-27 14:46:05 +00004842001-03-27 Wichert Akkerman <wakkerma@debian.org>
485
486 * lots of files: add Linux/hppa support
487
Wichert Akkerman407be9a2001-03-19 10:56:49 +00004882001-03-19 Wichert Akkerman <wakkerma@debian.org>
489
490 * linux/mips/syscallent.h: we can't have -1 nargs, change to 0
Wichert Akkermane3bf56a2001-03-19 11:05:17 +0000491 * linux/syscallent.h: not that syscalls 220 and 221 are used now
Wichert Akkerman6f2bbe22001-03-19 11:00:29 +0000492 * config.guess: updated
Wichert Akkerman407be9a2001-03-19 10:56:49 +0000493
Wichert Akkermana9667852001-03-17 17:26:34 +00004942001-03-17 Wichert Akkerman <wakkerma@debian.org>
495
496 * linux/ioclsort.c: new file
497 * linux/ioctlent.sh: complete rewrite to use a more sane approach to get
498 the ioctl list that doesn't involve attempting to #include all kernel
499 headers
500 * linux/.cvsignore: added ioctdefs.h and ioctls.h which are generated
501 by the new ioctlent.sh
502 * ioctl.c: only look at the number and type bits for linux, since
503 ioctlent.sh no longer supplies the others
504
John Hughes70623be2001-03-08 13:59:00 +00005052001-03-08 John Hughes <john@Calva.COM>
506
John Hughescf1de752001-03-08 17:27:20 +0000507 * freebsd/syscalls.pl: On FreeBSD we must cope with COMPATibility syscalls,
508 pretend they have names ending with "?" so that -e trace=stat (for
509 example) will work.
510 * freebsd/i386/syscallent.h: add ? to compatability syscalls.
511 * freebsd/i386/syscall.h: consistency.
512
5132001-03-08 John Hughes <john@Calva.COM>
514
John Hughesc0fc3fd2001-03-08 16:10:40 +0000515 * acconfig.h: add new ST_xxx defines.
516 * aclocal.m4: macros to check for more fields in struct stat.
517 * configure.in: use new macros to check for fields in struct stat.
518 * file.c: use new defines to replace #ifdef FREEBSD by #if HAVE_ST_xxx.
519
5202001-03-08 John Hughes <john@Calva.COM>
521
John Hughes0c79e012001-03-08 14:40:06 +0000522 * defs.h: rename wimpy get64 as powerful new LONG_LONG
523 * file.c: use LONG_LONG
524 * io.c: use LONG_LONG
525 * mem.c use LONG_LONG
526
5272001-03-08 John Hughes <john@Calva.COM>
528
John Hughes70623be2001-03-08 13:59:00 +0000529 * acconfig.h: new #defines HAVE_LONG_LONG_OFF_T and HAVE_LONG_LONG_RLIM_T.
530 * aclocal.m4: routines to check for long long off_t and rlim_t.
531 * configure.in: check for long long off_t and rlim_t.
532 * desc.c: if HAVE_LONG_LONG_OFF_T treat flock as flock64
533 * file.c: if HAVE_LONG_LONG_OFF_T treat stat,lstat,fstat and lseek as 64
534 bit versions.
535 * io.c: if HAVE_LONG_LONG_OFF_T use 64 bit versions of pread and pwrite.
536 * mem.c: if HAVE_LONG_LONG_OFF_T use 64 bit version of mmap
537 * resource.c: if HAVE_LONG_LONG_OFF_T use 64 bit versions of getrlimit
538 and setrlimit.
539 * freebsd/syscalls.print: don't explicitly use 64 bit versions of calls,
540 now done automaticaly for us.
541 * freebsd/i386/syscall.h: ditto.
542 * freebsd/i386/syscallent.h ditto.
543
John Hughes5a826b82001-03-07 13:21:24 +00005442001-03-07 John Hughes <john@Calva.COM>
545
John Hughesb8c9f772001-03-07 16:53:07 +0000546 * desc.c: On FreeBSD flock structure uses 64 bit offsets.
547 * file.c: On FreeBSD use stat64 and pals instead of stat.
548 * freebsd/syscalls.print: use stat64, lstat64 and fstat64.
549 * freebsd/i386/syscall.h: ditto.
550 * freebsd/i386/syscallent.h: ditto.
551
5522001-03-07 John Hughes <john@Calva.COM>
553
John Hughese2f6d872001-03-07 16:03:20 +0000554 * file.c: merge missing part of Harald Böhme's solaris patches,
555 was only declaring sys_{stat64,lstat64,fstat64} on linux!
556
5572001-03-07 John Hughes <john@Calva.COM>
558
John Hughes9dec06c2001-03-07 14:47:19 +0000559 * svr4/dummy.h: fix multiple define warning on non LFS64 systems.
560 * svr4/syscallent.h: pread/pwrite are TF calls.
561
5622001-03-07 John Hughes <john@Calva.COM>
563
John Hughes5a826b82001-03-07 13:21:24 +0000564 * defs.h: add ALIGN64 macro to cope with FreeBSD's strange insistence
565 on alignment for off_t (64 bit) arguments. Also simplify get64 so
566 we don't need to know endianness of long long.
567 * file.c: FreeBSD now uses 64 bit versions of lseek, truncate,
568 ftruncate, allows reduction in numvber of horrid #if's
569 * io.c: FreeBSD now uses 64 bit versions of pread, pwrite.
570 * mem.c: FreeBSD now uses 64 bit version of mmap.
571 * freebsd/syscalls.print: use 64 bit versions of various syscalls.
572 * freebsd/i386/syscall.h: use 64 bit versions of various syscalls.
573 * freebsd/i386/syscallent.h: use 64 bit versions of various syscalls.
574
John Hughes95ea9c02001-03-07 10:11:02 +00005752001-03-06 John Hughes <john@Calva.COM>
576
John Hughes7737c8a2001-03-07 10:41:58 +0000577 * file.c: Implement truncate64 and ftruncate64
578 * svr4/dummy.h: add dummies for truncate64 and ftruncate64 for non
579 LFS64 systems.
580 * svr4/syscall.h: add declarations for truncate64 and ftruncate64.
581
5822001-03-06 John Hughes <john@Calva.COM>
583
John Hughesc5249902001-03-07 10:39:06 +0000584 * freebsd/syscalls.pl: fix for FreeBSD 4.1 (new optional field in
585 syscall master file).
586
5872001-03-06 John Hughes <john@Calva.COM>
588
John Hughesbb557232001-03-07 10:37:38 +0000589 * syscall.c: fix for FreeBSD 4.1 (SYS_semconfig has disappeared). Also
590 zap incorrect syscall subarg range check.
591
5922001-03-06 John Hughes <john@Calva.COM>
593
John Hughescb8b69d2001-03-07 10:34:27 +0000594 * configure.in, defs.h, desc.c, file.c, io.c, mem.c, net.c, resource.c,
595 signal.c, syscall.c, svr4/dummy.h, svr4/syscall.h, svr4/syscallent.h:
596 merge Harald Böhme's solaris patches (_LFS64_LARGEFILE and kernel aio
597 mostly).
598
5992001-03-06 John Hughes <john@Calva.COM>
600
John Hughesbc4935a2001-03-07 10:28:50 +0000601 * dummy.h: add unimplemented UW sycalls
602 * syscall.h: we can do settimeofday for UW, whopee!
603 * syscallent.h: fix unimplemented UW syscalls
604
6052001-03-06 John Hughes <john@Calva.COM>
606
John Hughesc8f2e8a2001-03-07 10:26:17 +0000607 * aclocal.m4: look for pr_syscall in pr_lwp if we HAVE_MP_PROCFS
608 * defs.h: add PR_SYSCALL to allow use of pr_lwp.pr_syscall if it exists.
609 * syscall.c: use PR_SYSCALL instead of pr_syscall, fix up UnixWare code
610 so it doesn't try to use pr_sysarg.
611
6122001-03-06 John Hughes <john@Calva.COM>
613
John Hughes091fe832001-03-07 10:15:39 +0000614 * aclocal.m4: on systems other than linux look for stat64 in sys/stat.h
615 * file.c: handle xstat version _STAT64_VER, aka stat64.
616
6172001-03-06 John Hughes <john@Calva.COM>
618
John Hughes95ea9c02001-03-07 10:11:02 +0000619 * net.c: make sure SOL_ options are defined before using.
620 * signal.c: declare sigset variable, only used on linux, inside #ifdef.
621
Wichert Akkermanfa306182001-02-21 16:42:26 +00006222001-02-21 Wichert Akkerman <wakkerma@debian.org>
623
624 * net.c: fix format for printing Unix domain sockets
625
Wichert Akkerman0cbfb322001-02-19 13:35:53 +00006262001-02-19 Wichert Akkerman <wakkerma@debian.org>
627
628 * linux/mips/syscallent.h: use new sys_sysmips
629 * system.c: add sys_sysmips decoding
630
Wichert Akkerman8c7122c2001-02-16 19:59:55 +00006312001-02-16 Wichert Akkerman <wakkerma@debian.org>
632
Wichert Akkermanf1850652001-02-16 20:29:03 +0000633 * CREDITS: add Arkadiusz Miskiewicz <misiek@pld.org.pl> who
634 submitted the IP6 scope ID updates
635 * acconfig.h: add HAVE_SIN6_SCOPE_ID and HAVE_SIN6_SCOPE_ID_LINUX
636 * aclocal.m4: add AC_SIN6_SCOPE_ID to check if sin6_scope_id is
637 available
638 * configure.in: check for if_indextoname function and sin6_scope_id
639 * net.c: teach printsock about IP6 scope ids
640
6412001-02-16 Wichert Akkerman <wakkerma@debian.org>
642
Wichert Akkerman8c7122c2001-02-16 19:59:55 +0000643 * configure.in: test for netinet/tcp.h and netinet/udp.h existance
644 * net.c: include netinet/tcp.h and netinet/udp.h if they exist
Wichert Akkermanedf2dcc2001-02-16 20:14:40 +0000645 * Makefile.in: use @mandir@ and @bindir@
Wichert Akkerman8c7122c2001-02-16 19:59:55 +0000646
Wichert Akkermanefdecac2000-11-26 03:59:21 +00006472000-11-26 Wichert Akkerman <wakkerma@debian.org>
648
649 * net.c: fix formating error in sys_setsockopt
650 * net.c: add list of socketlayers and use that for [gs]etsockopt
651
Wichert Akkermand856b992000-10-13 12:47:12 +00006522000-10-12 Wichert Akkerman <wakkerma@debian.org>
653
654 * time.c: use sys/timex.h so things compile with 2.2 kernels
655 * stream.c: test if MSG_* constants are #defined
656
Wichert Akkerman9b0c31d2000-09-03 21:56:29 +00006572000-09-03 Wichert Akkerman <wakkerma@debian.org>
658
Wichert Akkermanefdecac2000-11-26 03:59:21 +0000659 * process.c: perform bpt trick for clone as well so we can get the
660 pid of the child before it starts doing something
661 * file.c: rename dirent64 struct to kernel_dirent64 so things compile
662 again with newer libcs
663 * test/clone.c: improve our testcase a bit
664 * Merge another patch from Gäel Roualland with FreeBSD updates
Wichert Akkerman9b0c31d2000-09-03 21:56:29 +0000665
Wichert Akkermanbf79f2e2000-09-01 21:03:06 +00006662000-09-01 Wichert Akkerman <wakkerma@debian.org>
667
Wichert Akkermanefdecac2000-11-26 03:59:21 +0000668 * lots of files: merge patch from Gaël Roualland to add
669 support for FreeBSD.
Wichert Akkermanbf79f2e2000-09-01 21:03:06 +0000670
Wichert Akkerman16a03d22000-08-10 02:14:04 +00006712000-08-09 Wichert Akkerman <wakkerma@debian.org>
672
Wichert Akkermand077c452000-08-10 18:16:15 +0000673 * file.c: update to reflect that st_ino suddenly became a long long
674 in the in Linux 2.4.0-test6
675
6762000-08-09 Wichert Akkerman <wakkerma@debian.org>
677
Wichert Akkerman16a03d22000-08-10 02:14:04 +0000678 * test/clone.c: minor fixup
679 * Another bunch of patches from John Hughes merged:
680 * signal.c:
681 + SVR4 printcontext(): sigset_t != sigset_t*
682 + getcontext returns a value, so print on exit of syscall
683 + add UC_FP to ucontext_flags for OS writers that can't spell
684 + sys_signal(): special case SIG_{ERR,DFL,IGN}
685 + decode_subcall(): only do subcall range checking when needed
686 * bunch of UnixWare updates
687 * aclocal.m4, acconfig.h, configure.in: add test for long long type
688
Wichert Akkerman7987cdf2000-07-05 16:05:39 +00006892000-07-04 Wichert Akkerman <wakkerma@debian.org>
690
691 * net.c: add SOL_PACKET and SOL_RAW socket options, update
692 SOL_IP and SOL_TCP
693
Wichert Akkermanbd4125c2000-06-27 17:28:06 +00006942000-06-23 Wichert Akkerman <wakkerma@debian.org>
695
696 * strace.c: close outf before we exec a child process
697
Wichert Akkerman43a74822000-06-27 17:33:32 +00006982000-06-09 Ulrich Drepper <drepper@redhat.com>
699
700 * configure.in: Don't link against libnsl on Linux, it's unnecessary.
701 * defs.h (struct tcb): Make auxstr member const.
702 * file.c (fsmagic): And many more magic numbers.
703 * util.c: Don't include <linux/ptrace.h> for glibc 2.1 and up.
704
Wichert Akkerman5ae21ea2000-05-01 01:53:59 +00007052000-04-26 Wichert Akkerman <wakkerma@debian.org>
706
707 * defs.h: balance #if/#endif again
708 * system.c: fix return statements in sys_capget()
709 * Merge updates from Topi Miettinen <Topi.Miettinen@nic.fi>:
710 + file.c: add F_[SG]ETSIG to fcntl flags
711 + strace.c: don't setre[gu]id if not needed
712 + system.c: handle sys_reboot for Linux
713 + term.c: add baudrate constants up to B4000000
714 + linux/**/syscallent.h: note that munlockall has no arguments
715
7162000-04-25 David Mosberger <davidm@hpl.hp.com>
717
718 * CREDITS: fix email address
719 * process.c: handle PR_[GS]ET_UNALIGN and PR_[GS]ET_KEEPCAPS
720 * signal.c: honour offset of sigconfig in sigframe structure for
721 Linux/ia64
722 * linux/ia64/syscallent.h: Add perfmonctl, pivotroot, mincore, and
723 madvise syscalls.
724 * syscall.c (syscall_enter): With Kevin's latest ptrace patches,
725 AR_BSP points to the _end_ of the active register frame, so we need
726 to adjust bsp by moving it back by the size of the active frame
727 before using it.
728
7292000-04-24 Wichert Akkerman <wakkerma@debian.org>
730
731 * process.c: add sparc support to change_syscall
732
Wichert Akkerman10dfa562000-04-22 18:26:56 +00007332000-04-22 Wichert Akkerman <wakkerma@debian.org>
734
735 * linux/mips/syscallent.h: fix some typos
736
Wichert Akkerman481e45b2000-04-17 07:42:31 +00007372000-04-14 Wichert Akkerman <wakkerma@debian.org>
738
739 * linux/mips/syscallent.h: added names for SVR4, SYSV, BSD4.3 and POSIX
740 syscalls
741
Wichert Akkermanfd89ced2000-04-13 17:06:09 +00007422000-04-13 Wichert Akkerman <wakkerma@debian.org>
743
744 * defs.h: Linux/MIPS uses syscalls up to >4k, so set MAX_QUALS to
745 4999
746
Wichert Akkermanc7926982000-04-10 22:22:31 +00007472000-04-09 Wichert Akkerman <wakkerma@debian.org>
748
749 * README-linux: updated to note that strace might not compile
750 with development kernels
751 * bjm.c: sys_query_module: check if malloc succeeds
752 * system.c: sys_cap[gs]et(): check if malloc succeeds, only malloc once
753 * linux/syscallent.h: updated for 2.3.99pre3
754 * linux/alpha/syscallent.h: updated for 2.3.99pre3, add all osf syscalls
755 even though Linux doesn't implement them
756 * syscall.c: add global variables for MIPS registers as well
757 * syscall.c: move global variables to before get_scno since that uses them
758 * util.c: oops, misspelled defined
759 * process.c: fix ptrace calls in change_syscall
760 * mem.c: decode sys_madvise
761 * Merge patch from Topi Miettinen <Topi.Miettinen@nic.fi>
762 + add support for quotactl, fdatasync, mlock, mlockall, munlockall & acct
763 + small fix for RLIMIT_* and RUSAGE_BOTH
764 + enhace support for capget and capset
765
Wichert Akkermanfaf72222000-02-19 23:59:03 +00007662000-02-19 Wichert Akkerman <wakkerma@debian.org>
767
768 * test/vfork.c: new file to test vfork traces
769 * test/.cvsignore: new file
770 * defs.h: Up maximum number of traced processed to 64
771 * strace.c: Disable some debugging code from davidm
772 * implement setarg for more architectures
773 * implement change_syscall
774
Wichert Akkerman2ee6e452000-02-18 15:36:12 +00007751999-12-27 Morten Welinder <terra@diku.dk>
776
777 * syscall.c (lookup_signal, lookup_desc): isdigit requires an
778 _unsigned_ char parameter.
779
Wichert Akkerman12f75d12000-02-14 16:23:40 +00007802000-02-14 Wichert Akkerman <wakkerma@debian.org>
781
782 * S390 updates
783
Wichert Akkerman8b1b40c2000-02-03 21:58:30 +00007842000-02-03 Wichert Akkerman <wakkerma@debian.org>
785
Wichert Akkerman5ae21ea2000-05-01 01:53:59 +0000786 * Merge Linux/ia64 patches
Wichert Akkerman8b1b40c2000-02-03 21:58:30 +0000787
Pavel Machek4dc3b142000-02-01 17:58:41 +00007882000-01-02 Pavel Machek <pavel@ucw.cz>
789
790 * probe if sys/poll.h exists in configure + minor cleanups
791
792 * syscall.c: split trace_syscall into few pieces to make code readable
793
Wichert Akkerman30160182000-01-21 20:31:34 +00007942000-01-21 Wichert Akkerman <wakkerma@debian.org>
795
796 * Release version 4.2 to get the current updates out and so
797 we can concentrate in finishing the clone support.
798
Wichert Akkerman3ed6dc22000-01-11 14:41:09 +00007992000-01-11 Wichert Akkerman <wakkerma@debian.org>
800
801 * Add 1900 to tm_year in sprinttime
802
Wichert Akkerman0396bdc1999-12-24 23:11:57 +00008031999-12-24 Wichert Akkerman <wakkerma@debian.org>
804
805 * file.c: protect printstat64 with STAT64 instead of linux so we can
806 compile on Linux architectures that don't have it
Wichert Akkerman9148a3b1999-12-24 23:13:55 +0000807 * util.c: fix LOOP for ARM
Wichert Akkerman0396bdc1999-12-24 23:11:57 +0000808
809Fri Dec 24 18:05:00 EST 1999
810
Ulrich Drepperc921cb21999-12-24 08:03:35 +00008111999-12-23 Ulrich Drepper <drepper@cygnus.com>
812
813 * file.c: Use ugly libc_stat trick also for stat64.
814 Implement sys_stat64, sys_fstat64, sys_lstat64, and printstat64.
815 * process.c (internal_clone): Fix a few typos and add definitions to make
816 it at least compile.
817 * linux/syscall.h: Declare sys_stat64, sys_lstat64, and sys_fstat64.
818 * linux/syscallent.h: Define table entries for sys_stat64, sys_lstat64,
819 and sys_fstat64.
820 * aclocal.m4: Define AC_STAT64.
821 * acconfig.h: Define HAVE_STAT64.
822 * configure.in: Add AC_STAT64.
823
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000824Thu Dec 23 15:01:37 CET 1999 Wichert Akkerman <wakkerma@debian.org>
825
826 * Merge patch from ftp://oss.software.ibm.com/linux390/ to add
827 support for Linux on the IBM S/390 architecture
Wichert Akkerman7a0b6491999-12-23 15:08:17 +0000828 * process.c: add internal_clone(), currently only shows the options
829 * syscall.c: use internal_clone to handle SYS_clone
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000830
831Mon Dec 20 00:27:50 CET 1999 Wichert Akkerman <wakkerma@debian.org>
832
833 * Rewrite mmap-handling to support mmap2 on Linux
834
Wichert Akkermane5be0de1999-12-14 10:46:18 +0000835Tue Dec 14 11:35:16 CET 1999 Wichert Akkerman <wakkerma@debian.org>
836
837 * Note that Linux can handle sys_semop() as well
838
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000839Tue Nov 30 11:05:26 CET 1999 Wichert Akkerman <wakkerma@debian.org>
840
841 * Include linux/in6.h for glibc2.0 and older
842
Wichert Akkermanea78f0f1999-11-29 15:34:02 +0000843Mon Nov 29 16:33:04 CET 1999 Wichert Akkerman <wakkerma@debian.org>
844
845 * Merge patches from John Hughes to make configure support UnixWare
846
Wichert Akkerman9123ac81999-11-27 21:58:20 +0000847Sat Nov 27 21:38:17 CET 1999 Wichert Akkerman <wakkerma@debian.org>
848
849 * Enhance sys_query_module
850
Wichert Akkermane4aafd41999-11-26 09:54:08 +0000851Fri Nov 26 10:51:55 CET 1999 Wichert Akkerman <wakkerma@debian.org>
852
853 * Patches from John Hughes:
854 + cosmectic fix in sys_getpmsg
Wichert Akkerman48214be1999-11-26 09:55:42 +0000855 + allow net.c to compile on systems without AF_INET6
856 + Only use long_to_sigset on Linux systems
Wichert Akkerman46956571999-11-26 10:12:59 +0000857 + UnixWare treats sigmask_t and sigmask_t* as the same thing
Wichert Akkerman9dbf1541999-11-26 13:11:29 +0000858 + Add pollhack
Wichert Akkerman3377df71999-11-26 13:14:41 +0000859 + Parse mount arguments for UnixWare
860 + ACL fixes for UnixWare
Wichert Akkermane4aafd41999-11-26 09:54:08 +0000861
Wichert Akkerman2a64b431999-11-26 00:29:05 +0000862Fri Nov 26 01:28:09 CET 1999 Wichert Akkerman <wakkerma@debian.org>
863
864 * Release 4.1 to get all the changes made out there
865
Wichert Akkermanf5eeabb1999-11-18 17:09:47 +0000866Thu Nov 18 18:04:04 CET 1999 Wichert Akkerman <wakkerma@debian.org>
867
868 * Merge stracefork from Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
869 + Socket calls parsed better
870 + bunch of alpha OSF syscalls added
871 + Fix alpha 32/64 bit issues
872
Wichert Akkerman2f473da1999-11-01 19:53:31 +0000873Mon Nov 1 20:52:08 CET 1999 Wichert Akkerman <wakkerma@debian.org>
874
875 * Move Linux kernelmodule-functions from system.c to bjm.c and
876 remove duplicate for sys_create_module
Wichert Akkerman60456d71999-11-01 19:59:33 +0000877 * Linux MIPS updates:
878 + Play with #ifdef's in net.c to get IPv6 right
879 + Use printargs for vm86-syscall
Wichert Akkerman2f473da1999-11-01 19:53:31 +0000880
Wichert Akkermanf90da011999-10-31 21:15:38 +0000881Sun Oct 31 22:03:00 CET 1999 Wichert Akkerman <wakkerma@debian.org>
882
883 * Merge Linux mips patch from Florian Lohoff <flo@rfc822.org>
884
Wichert Akkerman50524821999-10-10 22:40:07 +0000885Mon Oct 11 00:36:25 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
886
887 * Merge patch from Keith Owens <kaos@ocs.com.au> to sys_query_module
888 and sys_delete_module correctly
889
Wichert Akkerman15dea971999-10-06 13:06:34 +0000890Wed Oct 6 02:00:33 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
891
892 * Update cvsbuild to give a better error if autoconf isn't installed
893 * Add test for linux/ptrace.h to configure
894 * Since we define GNU_SOURCE in the Makefile we don't need to define
895 USE_GNU in file.c anymore
896
897Fri Sep 10 04:35:16 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
898
899 * #define USE_GNU before including file.c so we get some extra O_* flags
900
901Tue Aug 31 16:27:21 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
902
903 * Add missing } in IPv6 output
904
Wichert Akkerman7b27ba01999-08-30 23:26:53 +0000905Tue Aug 31 01:23:08 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
906
907 * Update copyright for strace-graph to BSD to be consistent with
908 the rest of strace
909
Wichert Akkerman9ce1a631999-08-29 23:15:07 +0000910Mon Aug 30 00:53:57 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
911
912 * Merge patch from Daniel Jacobowitz: KERN_JAVA_* and KERN_SECURELVL aren't
913 defined for all kernelversions
Wichert Akkerman7b27ba01999-08-30 23:26:53 +0000914 * Add strace-graph, written by Richard Braakman <dark@xs4all.nl>
Wichert Akkerman9ce1a631999-08-29 23:15:07 +0000915
916Thu Aug 19 13:10:15 CEST 1999 Jakub Jelinek <jj@ultra.linux.cz>
917
918 * linux/sparc/syscall.h: Declare create_module/init_module.
919 * configure.in: Allow compilation in a different directory
920 than the source one.
921 * signal.c: Use asm/reg.h and struct regs instead of pt_regs
922 so that we don't depend on asm/ptrace.h which clashes with
923 glibc sys/ptrace.h.
924 * util.c: Likewise.
925 * syscall.c: Likewise.
926
Wichert Akkerman5a777661999-08-04 16:03:49 +0000927Wed Aug 4 18:01:50 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
928
929 * Syscall 94 on Linux alpha is sys_poll
930
Wichert Akkerman9ce1a631999-08-29 23:15:07 +0000931Sun Jul 25 14:38:33 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
932
933 * Merge in UnixWare patches from John Hughes <john@Calva.COM>
934
Wichert Akkerman527a8051999-07-15 21:11:37 +0000935Thu Jul 15 23:00:32 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
936
937 * Merge patch from Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
938 + Correctly implement fix sys_createmodule (Linux)
939 + Add limited handlig of sys_initmodule (Linux)
940
Wichert Akkerman36915a11999-07-13 15:45:02 +0000941Tue Jul 13 17:07:50 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
942
943 * Add configure-test for sys/reg.h and use that
944 * Use sys/reg.h instead of asm/ptrace.h
945
Wichert Akkermanca446991999-07-09 23:48:58 +0000946Sat Jul 10 01:46:10 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
947
948 * Remove hack in signal.c for arm architecture
949 * Add hack so we compile correctly on powerpc
950
Wichert Akkerman5b4d1281999-07-09 00:32:54 +0000951Fri Jul 9 02:28:16 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
952
953 * Add a corrected patch from Daniel Jacobowitz
954
Wichert Akkermana6013701999-07-08 14:00:58 +0000955Thu Jul 8 16:00:04 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
956
957 * Merge patch from Daniel Jacobowitz to allow us to use the kernel types
958 for the stat structure
959
960Thu Jun 24 15:54:18 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
Wichert Akkerman2b483ba1999-06-24 13:55:29 +0000961
962 * Fix test for sys/reg include
963
Wichert Akkermana6013701999-07-08 14:00:58 +0000964Tue Jun 22 17:26:33 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
Wichert Akkermane6f876c1999-06-22 15:28:30 +0000965
966 * Fixed some Linux/powerpc sillyness, thanks to Daniel Jacobowitz
967 * Fixed some SunOS compile problems earlier that I forgot to include
968 here
969
Wichert Akkerman789ed351999-06-14 10:45:01 +0000970Mon Jun 14 12:44:25 CEST 1999
971
972 * Avoid leakint fd into child when forking, patch from
973 John Hughes <john@Calva.COM>
974
Wichert Akkerman8829a551999-06-11 13:18:40 +0000975Fri Jun 11 14:54:47 CEST 1999
976
977 * Applied IRIX64 patch from Thomas E. Dickey <dickey@clark.net>
978 * Applied Solaris and manpage updates from Guy Harris <guy@netapp.com>
979
Wichert Akkermancc4b8f41999-06-09 12:50:10 +0000980Wed Jun 9 14:48:49 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
981
982 * Brought syscall list for alpha up to date
983
Wichert Akkermandacfb6e1999-06-03 14:21:07 +0000984Wed Jun 2 18:30:12 CEST 1999 Jakub Jelinek <jj@ultra.linux.cz>
985
986 * system.c: sys_umount2 syscall support.
987 * linux/sparc/errnoent.h: Update sparc-linux errnos.
988 * linux/sparc/syscall.h: Update used sparc-linux syscalls.
989 * linux/sparc/syscallent.h: Match 2.2.9 system calls.
990 * file.c: sparc-linux asm/stat.h uses dev_t etc. types,
991 so it needs strace's own copy of the stat structure.
992 * util.c: Make it compile on sparc-linux.
993 * strace.c: Fix strace -f and -ff operation on sparc-linux.
994 * signal.c: rt_sigaction has different arguments on sparc*-linux
995 and alpha-linux.
996 * syscall.c: Recognize sparc64-linux binaries.
997
Ulrich Drepper0d2d3231999-05-29 04:11:48 +0000998Fri May 28 21:09:00 PST Ulrich Drepper <drepper@cygnus.com>
999
1000 * configure.in: Fix typo (CFLAG -> CFLAGS).
1001
Ulrich Drepper8783c011999-05-29 04:13:58 +00001002 * syscall.c: Don't include linux/ptrace.h explicitly for glibc.
1003
Wichert Akkerman22fe9d21999-05-27 12:00:57 +00001004Thu May 27 13:59:27 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
1005
1006 * Add some sysctl support, patch from Ulrich Drepper
1007
Wichert Akkerman9524bb91999-05-25 23:11:18 +00001008Wed May 26 01:04:34 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
1009
1010 * Use kernel dirent structure for Linux
1011
Wichert Akkerman2e2553a1999-05-09 00:29:58 +00001012Sun May 9 02:18:30 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
1013
1014 * Merge in patches from Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1015 + some layout and other minor fixes
1016 + add some m68k-specific things to linux/syscallent.h. Note that m68k
1017 is similar enough to i386 to not need it's own subdirectory
1018 + add support for sendfile and mremap syscalls for Linux
1019 * Merge in patches from Sascha Schumann <sascha@schumann.2ns.de>
1020 + ioctls.h vs sys/ioctl.h on Alpha platform
1021 + pointer was casted to an int in stream.c
1022 + strsignal() needs -D_GNU_SOURCE in CFLAGS
1023 + several other casts changed
1024 + correct ARM/POWERPC architecture defines in acconfig.h
1025 * Merge in patches from Morten Welinder <terra@diku.dk>
1026 + add some autoconf-tests for includefiles
1027 + handle solaris version of sigcontext struct (actually I hacked this
1028 up again, but the idea is his :)
1029
Wichert Akkerman7a1f0e91999-04-18 20:23:57 +00001030Sun Apr 18 22:32:42 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
1031
1032 * Update syscalls for linux alpha, patch from Bart Warmerdam
Ulrich Drepperc921cb21999-12-24 08:03:35 +00001033 <bartw@debian.org>
Wichert Akkermand4d8e921999-04-18 23:30:29 +00001034 * Update sparc code so it actually compiles
Wichert Akkerman7a1f0e91999-04-18 20:23:57 +00001035
Wichert Akkerman328c5e71999-04-16 00:21:26 +00001036Fri Apr 16 02:18:05 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
1037
Wichert Akkerman25d0c4f1999-04-18 19:35:42 +00001038 * Add support for old_*stat functions for Linux. Please note you need
1039 to use reasonably recent kernel headers to compile strace now.
Wichert Akkerman328c5e71999-04-16 00:21:26 +00001040 * Change references to LINUX into linux in file.c
1041 * Fix include for LDT in mem.c
Wichert Akkerman1786d811999-04-15 20:34:14 +00001042
1043Thu Apr 15 22:28:15 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
1044
1045 * Change in strace maintainership, jrs passed the torch to me.
1046 * Use autoconf 2.13
1047 * Incorporate all changes already made in the Debian strace package:
1048 + compiles with more Linux kernels
1049 + added support for more Linux architectures
1050 + add support for a lot of extra syscalls
1051 + fix some problems with hanging children
1052 + check stray syscall after execv
1053 + decode capget and capset arguments
1054 + add more constants to net.c
1055 + detect ROSE networking
1056 + add more protocol families to domains
1057 + add IPIP protocol
1058 + added MSG_PROXY and MSG_CTRUNC to msg_flags
1059 + added SO_BSDCOMPAT and SO_REUSEPORT to sockoptions
1060 + added IP, IPX and TCP-options
1061 + added IP, IPX and TCP support to get-/setsockopt()
1062 + added IPX support
1063 + updated handling of signals
1064
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001065Sun Oct 27 22:28:00 1996 J. Richard Sladkey <jrs@world.std.com>
1066
1067 * util.c (umovestr) [LINUX]: Handle Linux like SunOS4
1068 instead of SVR4. That is, read a few bytes at a time
1069 to avoid overrunning the end of the stack.
1070
1071Fri May 31 01:48:49 1996 J. Richard Sladkey <jrs@world.std.com>
1072
1073 * version.c: Version 3.1 is released.
1074
1075Thu May 23 01:04:43 1996 J. Richard Sladkey <jrs@world.std.com>
1076
1077 * aclocal.m4 (AC_DECL_SYS_ERRLIST): Try looking in stdio.h
1078 as well since that's where glibc declares it. Go figure.
1079 * signal.c (sys_sigreturn) [ALPHA]: Use sigcontext
1080 instead of sigcontext_struct since glibc v5+ apparently
1081 plays games with the native OS namespace.
1082 From David Mosberger-Tang <davidm@AZStarNet.com>.
1083
1084Mon May 20 23:17:14 1996 J. Richard Sladkey <jrs@world.std.com>
1085
1086 * version.c: Version 3.0.14 is released.
1087
1088 * aclocal.m4 (AC_STRUCT_MSG_CONTROL): New macro.
1089 * configure.in: Add call to AC_STRUCT_MSG_CONTROL.
1090 * net.c (printmsghdr): Handle BSD 4.3 and 4.4 msghdr members
1091 differently.
1092 Reported by Henrik Storner <storner@osiris.ping.dk>.
1093
1094 * configure.in: (AC_CHECK_{HEADERS,FUNCS}): Add checks for
1095 sys/filio.h and sys/stream.h and remove check for poll.
1096 * desc.c (decode_select, sys_select, sys_oldselect) [LINUX]:
1097 Handle old and new styles of argument passing for select on Linux.
1098 * ioctl.c, stream.c: Conditionalize stream code on presence of
1099 sys/stream.h instead of poll because glibc implements poll but
1100 not the rest of the stream interface.
1101 * signal.c [LINUX]: Standardize on the name sigcontext_struct.
1102 (sys_sigprocmask) [ALPHA]: Handle OSF flavor which is more like
1103 sigsetmask.
1104 * term.c (term_ioctl): Use _VMIN, if present, for TC{G,S}ETA*.
1105 * util.c (umoven, umovestr): Move data in long-sized chunks
1106 at a time, instead of hard coding it to be 4.
1107 From David Mosberger-Tang <davidm@AZStarNet.com>.
Ulrich Drepperc921cb21999-12-24 08:03:35 +00001108
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001109Mon May 20 01:19:36 1996 J. Richard Sladkey <jrs@world.std.com>
1110
1111 * version.c: Version 3.0.13 is released.
1112
1113 * configure.in (AC_CHECK_HEADERS): Add check for asm/sigcontext.h.
1114 * signal.c [HAVE_ASM_SIGCONTEXT_H]: Conditionally include
1115 asm/sigcontext.h to define sigcontext_struct and don't define it
1116 locally if the header is present.
1117
1118 * syscall.c (nerrnos{0,2}): Correct size computation.
1119
1120 * Makefile.in: Remove dependencies and rules relating to files
1121 normally found in the os directory. Because of the new scheme we
1122 don't know precisely where they come from. Sigh.
1123 * signalent.sh: Make it work for sunos4, linux, and svr4.
1124 * {sunos4,linux{,/alpha},svr4}/Makefile.in: Make rules correspond
1125 to traditional make syntax. Add signalent.h to files which can
1126 unconditionally be rebuilt. Prevent signalent.h from being
1127 unconditionally being rebuilt since it's customized.
1128 * {sunos4,linux{,/alpha},svr4}/{ioctlent,errnoent,signalent}.h:
1129 Use versions built by {ioctlent,errnoent,signaltent}.sh.
1130 * sunos4/ioctlent.sh: Work around sprintf troubles with SunOS
1131 4.1.4 and gcc 2.7.2.
Ulrich Drepperc921cb21999-12-24 08:03:35 +00001132
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001133Sun May 19 17:14:09 1996 J. Richard Sladkey <jrs@world.std.com>
1134
1135 * configure.in, Makefile.in: Add OSARCH concept to finish
1136 build support for the alpha.
1137 * Makefile.in, linux/Makefile.in: Rewrite clean, distclean,
1138 and maintainer-clean rules.
1139 * defs.h, ioctlsort.c: Make ioctl code member unsigned.
1140 * ioctl.c, ioctlsort.c (compare): Perform explicit checking
1141 for less, greater, and equal since subtraction on two's
1142 complement numbers isn't an order relation (it isn't transitive)!
1143 * linux/Makefile.in: Add rules for the signalent.h file.
1144 * linux/alpha/Makefile.in: New file.
Ulrich Drepperc921cb21999-12-24 08:03:35 +00001145
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001146Sun May 19 01:12:28 1996 J. Richard Sladkey <jrs@world.std.com>
1147
1148 * version.c: Version 3.0.12 is released.
1149
1150 * linux{,alpha}/ioctlent.sh: Tweak for recent kernels.
1151 From Michael E Chastain <mec@duracef.shout.net>.
Ulrich Drepperc921cb21999-12-24 08:03:35 +00001152
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001153 * defs.h (SUPPORTED_PERSONALITES, DEFAULT_PERSONALITY): New.
1154 * syscall.c (set_personality): New.
1155 * strace.c (main): Call set_personality.
1156 * defs.h, syscall.c, ioctl.c, signal.c: Make sysent, errnoent,
1157 ioctlent, and signalent indirect pointers and redirect them
1158 based on personality.
1159 * {sunos4,svr4,linux{,/alpha}}/signalent.h: New files.
1160 Suggested by Tom Dyas <tdyas@eden.rutgers.edu>.
1161
1162 * util.c (upeek): Handle case where ptrace returns a long
1163 and sizeof(long) != sizeof(int).
1164 From Richard Henderson <richard@twiddle.tamu.edu>
1165
1166Fri May 17 21:03:36 1996 J. Richard Sladkey <jrs@world.std.com>
1167
1168 * version.c: Version 3.0.11 is released.
1169
1170 * many files: Fix more printf warnings for other platforms.
1171
1172 * ipc.c (sys_msgrcv) [LINUX]: Conditionalize definition of ipc_wrapper.
1173
1174 * linux/dummy.h: Handle missing library support for {send,recv}msg.
1175 Reported by Thomas Bogendoerfer <tsbogend@bigbug.franken.de>.
1176
1177 * linux/syscall.h (sys_utimes): Fix a typo in the declaration.
1178 From Thomas Bogendoerfer <tsbogend@bigbug.franken.de>.
Ulrich Drepperc921cb21999-12-24 08:03:35 +00001179
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001180Fri May 17 00:50:06 1996 J. Richard Sladkey <jrs@world.std.com>
1181
1182 * version.c: Version 3.0.10 is released.
1183
1184 * Makfile.in: Add os/arch to includes so that a given arch
1185 (like alpha) can override the native arch (like i386).
1186 * configure.in: Check for sendmsg.
1187
1188 * net.c: Make sendmsg and recvmsg dependent on an autoconf
1189 test. Reported by Michael E Chastain <mec@duracef.shout.net>.
1190
1191 * acconfig.h, configure.in: Detect the alpha.
1192 * ioctl.c: Handle the alpha.
1193 * defs.h: Make some members long for the alpha. Define
1194 some register nicknames. Add support for WAITEXECVE.
1195 * file.c [ALPHA]: Support the alpha for statfs. Add
1196 osf_statfs and osf_fstatfs for the alpha. Make damn sure
1197 major and minor results are suitable for passing to printf.
1198 * signal.c, syscall.c: Support the alpha.
1199 * process.c: Add alpha user offsets.
1200 * most files: Use %l? for printf arguments since
1201 most are now longs for the alpha.
1202 * linux/alpha/{errnoent.h,ioctlent.{h,sh},syscallent.h}:
1203 New for the alpha.
1204 From Thomas Bogendoerfer <tsbogend@bigbug.franken.de>.
1205
1206Wed May 15 00:29:37 1996 J. Richard Sladkey <jrs@world.std.com>
1207
1208 * version.c: Version 3.0.9 is released.
1209
1210 * config.in, config.sub, install-sh: Upgrade to autoconf 2.10.
1211
1212 * linux/dummy.h, linux/syscallent.h, linux/syscall.h: Add recent
1213 Linux kernel version system calls.
1214
1215Wed Mar 13 01:03:38 1996 J. Richard Sladkey <jrs@world.std.com>
1216
1217 * ipc.c [SUNOS4]: Add SunOS support for decoding IPC calls.
1218 * syscall.c [SUNOS4]: Compile decode_subcall on SunOS and
1219 decode IPC calls using it.
1220 * sunos4/dummy.h: Alias sys_semop to printargs.
1221 * sunos4/syscall.h: Add new pseudo syscalls for IPC.
1222 * sunos4/syscallent.h: Include new subcalls for IPC.
1223 From Matthias Pfaller <leo@dachau.marco.de>.
1224
1225Tue Feb 13 22:08:25 1996 J. Richard Sladkey <jrs@world.std.com>
1226
1227 * version.c: Version 3.0.8 is released.
1228
1229 * time.c [LINUX]: Explicitly include linux/version.h.
1230
1231 * strace.c (main): Don't let them even *try* to
1232 get strace to attach to itself since some systems
1233 don't handle this case very gracefully.
1234 Reported by David S. Miller <davem@caip.rutgers.edu>.
1235
1236 * Makefile.in (distclean): Fix it for subdirectories.
1237
1238 * sunos4/syscallent.h, svr4/syscallent.h: Fill in the new
1239 sys_flags member for each defined system call.
1240
1241Fri Dec 8 01:17:28 1995 Rick Sladkey <jrs@world.std.com>
1242
1243 * defs.h (TRACE_*): New flags to describe what class
1244 of system call each system call is.
1245 (sysent): Add sys_flags member.
1246 * syscall.c (sysent): Define (and later undef) abbreviations
1247 for the system call class flags.
1248 (lookup_class): New function to translate strings to
1249 system call class flags.
1250 (qualify): Handle new system call class mechanism.
1251 * linux/syscallent.h: Fill in the new sys_flags member
1252 for each defined system call.
1253
1254 * defs.h (print_sock): Remove redundant and non-K&R C
1255 compatible prototype. From Juergen Weigert
1256 <jnweiger@immd4.informatik.uni-erlangen.de>.
1257
1258Thu Dec 7 01:17:40 1995 Rick Sladkey <jrs@world.std.com>
1259
1260 * linux/ioctlent.sh: Tweak to improve ioctl accuracy.
1261 From Michael E Chastain <mec@duracef.shout.net>.
1262
1263 * system.c (includes) [LINUX]: Add linux/nfs.h for recent
1264 kernels. From Michael E Chastain <mec@duracef.shout.net>.
1265
1266Wed Dec 6 21:52:28 1995 Rick Sladkey <jrs@world.std.com>
1267
1268 * file.c (sprintfstype): Enclose string result in double
1269 quotes.
1270
1271 * time.c (sys_adjtimex) [LINUX]: Conditionalize
1272 constantly evolving timex structure.
1273 From Aaron Ucko <UCKO@VAX1.ROCKHURST.EDU>.
1274
1275 * defs.h, syscall.c, strace.c: Rename syscall to
1276 trace_syscall and change prototype and all callers
1277 because of broken Linux shared libraries.
1278 From Aaron Ucko <UCKO@VAX1.ROCKHURST.EDU>.
1279
1280 * Makefile.in (clean): Check for a file with test -f not
1281 test -d. From Aaron Ucko <UCKO@VAX1.ROCKHURST.EDU>.
1282
1283Tue Sep 26 02:32:31 1995 Rick Sladkey <jrs@world.std.com>
1284
1285 * version.c: Version 3.0.7 is released.
1286
1287 * util.c (string_quote): Fix thinko which caused core
1288 dumps for strings with quotes in them.
1289 Reported by Marty Leisner <leisner@sdsp.mc.xerox.com>.
1290
1291 * linux/Makefile.in (errnoent.h rule): Grab all errno.h
1292 files from /usr/include, not just the linux one.
1293 From Michael E Chastain <mec@duracef.shout.net>.
1294
1295 * linux/errnoent.sh: Total rewrite to handle more ioctls with
1296 fewer false positives on more kernel flavors.
1297 From Michael E Chastain <mec@duracef.shout.net>.
1298
1299Mon Sep 4 01:29:22 1995 Rick Sladkey <jrs@world.std.com>
1300
1301 * version.c: Version 3.0.6 is released.
1302
1303 * linux/dummy.h, linux/syscall.h, linux/syscallent.h: Add
1304 sys_msync.
1305 * mem.c (mctl_funcs, mctl_lockas, sys_mctl): Conditionalize
1306 on MC_SYNC instead of HAVE_MCTL.
1307 (mctl_sync): Conditionalize on MS_ASYNC instead of HAVE_MCTL.
1308 (sys_msync): New function.
1309
1310Sat Sep 2 12:06:04 1995 Rick Sladkey <jrs@world.std.com>
1311
1312 * linux/dummy.h, linux/syscall.h, linux/syscallent.h: Add
1313 sys_flock and sys_getdents.
1314 * desc.c (flockcmds, sys_flock): Conditionalize on LOCK_SH
1315 not SUNOS4.
1316 * file.c (sys_getdents): Define unconditionally and handle
1317 LINUX case.
1318 * strace.c (main): Disallow username option unless both real
1319 and effective uids are root.
1320
1321Wed Aug 30 01:29:58 1995 Rick Sladkey <jrs@world.std.com>
1322
1323 * strace.c (main): Ensure that run_uid and run_gid are
1324 always set to something meaningful.
1325 (main, newoutf) [!SVR4]: Swap real and effective uids while
1326 opening any output files.
1327 (main) [!SVR4]: Treat effective uid of root as a request
1328 to handle suid binaries correctly using the real uid of
1329 the invoking user.
1330
1331Sat Aug 19 00:06:08 1995 Rick Sladkey <jrs@world.std.com>
1332
1333 * Makefile.in: Add `|| true' to clean rule because
1334 although GNU make 3.74 uses `sh -c' to invoke commands
1335 every other make in the world uses `sh -ec'.
1336
1337 * syscall.c (syscall) [SVR4, MIPS]: The fifth and subsequent
1338 arguments appear to be stored on the stack, not in the
1339 registers following A3 (empirical result).
1340
1341 * defs.h: Add prototype for printsock.
1342 * svr4/dummy.h: Remove generic handling of sys_mount.
1343 * system.c [SVR4, MIPS]: Include several system headers to cleanly
1344 get access to SGI mount information.
1345 (mount_flags, nfs_flags) [SVR4, MIPS]: New objects.
1346 (sys_mount) [SVR4, MIPS]: New function.
1347 (sys_mount) [SVR4, !MIPS]: New function.
1348
1349Tue Jul 4 00:30:34 1995 Rick Sladkey <jrs@world.std.com>
1350
1351 * version.c: Version 3.0.5 is released.
1352
1353 * desc.c, resource.c, strace.c, syscall.c, time.c: Cast tv_sec and
1354 tv_usec members to long when using printf.
1355
1356 * ipc.c: Omit define of __KERNEL__.
1357 ({MSG,SEM,SHM}_{STAT,INFO}): Explicitly define those things we
1358 want which __KERNEL__ used to provide.
1359 (sys_msgrcv): Change reference to ipc_kludge structure to
1360 look-alike ipc_wrapper to avoid dependence on __KERNEL__.
1361
1362 mem.c (mmap_flags) [MAP_{GROWSDOWN,DENYWRITE,EXECUTABLE}]: Add
1363 Linux specific options.
1364
1365 syscall.c: Use SYS_ERRLIST_DECLARED instead of guessing.
1366 [E{RESTART{SYS,NO{INTR,HAND}},NOIOCTLCMD}]: Explicitly define
1367 instead of depending of __KERNEL__.
1368
1369 term.c: Cast c_{i,o,c,l}flag to long when using printf.
1370
1371Tue Jun 6 00:27:48 1995 Rick Sladkey <jrs@world.std.com>
1372
1373 * aclocal.m4 (AC_DECL_SYS_ERRLIST, AC_DECL__SYS_SIGLIST): New.
1374 * configure.in: Call AC_DECL_SYS_ERRLIST, AC_DECL_SYS_SIGLIST,
1375 and AC_DECL__SYS_SIGLIST.
1376 * acconfig.h (SYS_ERRLIST_DECLARED): New.
1377 * strace.c (strerror): Use SYS_ERRLIST_DECLARED.
1378 (strsignal): Use SYS_SIGLIST_DECLARED.
1379
1380 net.c (sys_socket): Omit inadvertent surplus comma when
1381 protocol family isn't PF_INET.
1382
1383 util.c (dumpstr): Fix incorrect printing of one too many
1384 characters when the length is not an even multiple of 16 bytes.
1385 Reported by Juergen Weigert
1386 <jnweiger@immd4.informatik.uni-erlangen.de>.
1387
1388Thu May 4 23:37:47 1995 Rick Sladkey <jrs@world.std.com>
1389
1390 * ioctl.c (compare): Change prototype to match POSIX qsort.
1391 * signal.c (sigishandled) [SVR4]: Omit everything after return.
1392 * strace.c (trace) [SVR4]: Break out of for loop instead of
1393 returning when finished so final return statement is executed.
1394 * syscall.c (internal_syscall): Add more SYS_wait* variations.
1395 (syscall) [LINUX]: Correct typo which commented out the M68K
1396 argument to ifdef.
1397 * util.c (printstr): Cast unsigned char pointer argument
1398 to char pointer in umovestr call.
1399 (dumpstr): Likewise for umoven.
1400
1401Wed May 3 01:10:56 1995 Rick Sladkey <jrs@world.std.com>
1402
1403 * version.c: Version 3.0.4 is released.
1404
1405 * signal.c (sys_sigblock): Move after the definition of
1406 sys_sigsetmask that it calls to avoid an implicit declaration.
1407 * stream.c (transport_user_options, transport_server_options):
1408 Only needed if TI_BIND is defined.
1409 * configure.in: Add -Wno-implicit to WARNFLAGS on SunOS 4.x.
1410
1411 * process.c (internal_fork) [SVR4]: Fix a typo that omitted
1412 the tcp arguement from the call to exiting. Add getrval2
1413 check so no fork processing is done in the child.
1414 (printwaitn): Initialize exited so that its value is defined
1415 for all flows of execution.
1416
1417Tue May 2 22:39:42 1995 Rick Sladkey <jrs@world.std.com>
1418
1419 * linux/dummy.h: Add aliases for sysfs, personality, afs_syscall,
1420 setfsuid, setfsgid, and _llseek syscalls.
1421 * linux/syscall.h: Add prototypes for them.
1422 * linux/syscallent.h: Add them to the syscall entries table.
1423 * system.c (headers) [LINUX]: Include linux/unistd.h to get __NR_*
1424 defines and conditionally include linux/personality.h if
1425 __NR_personality is defined.
1426 (personality_options) [LINUX]: New table.
1427 (sys_personality) [LINUX]: New function.
1428
1429Tue May 2 00:20:39 1995 Rick Sladkey <jrs@world.std.com>
1430
1431 * strace.c (trace) [!SVR4]: Change forever loop to one predicated
1432 on the number of traced processes so that we can have untraced
1433 children (e.g. via popen).
1434
1435 * strace (main) [!SVR4]: Call fake_execve to get the actual
1436 exec and its arguments into the trace.
1437 (environ): Declare it.
1438 * process.c (fake_execve): New function.
1439 (headers): Include sys/syscall.h to get SYS_* defines.
1440
1441 * process.c (sys_execv, sys_execve): Surround argument annotations
1442 with C comment delimiters.
1443 (printargv, printargc): The arg vector is an array of char pointers
1444 not ints.
1445
1446 * strace.c (printleader): Also check for multiple -p arguments
1447 when deciding whether to print the pid field.
1448
1449 * strace.c (strerror) [!HAVE_STRERROR]: New function.
1450 * defs.h (strerror, strsignal): Add these prototypes if we provide
1451 the functions.
1452 * configure.in (AC_CHECK_FUNCS): Add strerror.
1453
1454 * strace.c (main, proc_poller): Add SIGPIPE to the list of caught
1455 and blocked signals.
1456
1457 * strace.c (main): Add username option. Verify they are root before
1458 letting them use it. Look up the ids in the password file. Set
1459 them just before executing the program.
1460 From Reuben Sumner <rasumner@undergrad.math.uwaterloo.ca>.
1461
1462Sat Apr 29 00:09:56 1995 Rick Sladkey <jrs@world.std.com>
1463
1464 * version.c: Version 3.0.3 is released.
1465
1466 * system.c (mount_flags) [LINUX]: Omit duplicated MS_NOSUID entry.
1467 From Reuben Sumner <rasumner@undergrad.math.uwaterloo.ca>.
1468
1469 * strace.c (outfname): Initialize to NULL.
1470 (main): Defer output file processing until after arguments.
1471 Allow either a pipe or a bang for command arguments.
1472 Check if outfname is NULL instead of checking outf for stderr.
1473 Reinitialize each startup TCB's outf to fix -p/-o ordering bug.
1474 (droptcb): Reset close TCB's outf to NULL instead of stderr.
1475 (tprintf): Avoid calling vfprintf if outf is NULL.
1476
1477 * strace.c (main): Use popen if -o argument begins with a pipe.
1478 From Marty Leisner <leisner@sdsp.mc.xerox.com>.
1479
1480 * process.c (printstatus): Fix a typo where WIFSIGNALED was meant
1481 but WIFSTOPPED was used.
1482
1483 * Makefile.in: Add an EXTRA_DEFS variable and use it in the .c.o
1484 rule to prevent the comment from being untrue.
1485
1486Fri Apr 28 22:01:56 1995 Rick Sladkey <jrs@world.std.com>
1487
1488 * strace.c (sys_exit): Move follow fork code to internal_exit.
1489 (sys_fork): Move follow fork code to internal_fork.
1490 (sys_execv, sys_execve): Move follow fork code to internal_exec.
1491 (sys_waitpid, sys_wait4): Move follow fork code to internal_wait.
1492 (vforking): Remove this static variable and check scno in
1493 internal_fork instead.
1494 (internal_exit, internal_fork, internal_exec, internal_wait): New
1495 functions.
1496 * defs.h: Add prototypes for the new internal_* functions.
1497 * syscall.c (syscall): Move syscall entering trace qualifier check
1498 and reprint checking after context decoding and precede them with
1499 a call to internal_syscall. Precede syscall exiting trace
1500 qualifier check with a call to internal_syscall.
1501 (internal_syscall): New function.
1502
1503 * defs.h (struct tcb): Make scno signed.
1504 * strace.c (syscall) Make u_error signed.
1505 [LINUX, I386]: Avoid unsigned cast in eax check.
1506 * syscall.c (sys_indir): Make i, scno, and nargs signed.
1507 * desc.c (sys_select): Make cumlen unsigned
1508
1509Mon Apr 24 23:52:47 1995 Rick Sladkey <jrs@world.std.com>
1510
1511 * net.c (socktypes): Add SOCK_PACKET.
1512
1513Sun Apr 2 23:50:39 1995 Rick Sladkey <jrs@world.std.com>
1514
1515 * Makefile (clean): Check explicitly for a Makefile in subdirs
1516 before running make in them.
1517
1518Sun Mar 26 12:37:21 1995 Rick Sladkey <jrs@world.std.com>
1519
1520 * strace.c [MIPS] (proc_open): Conditionalize run on MIPS.
1521 [MIPS] (detach): Initialize error for MIPS case.
1522 (trace): Initialize ioctl_result and ioctl_errno for overly helpful
1523 compilers.
1524 * syscall.c (decode_subcall): Move variable i into conditionals
1525 that use use it.
1526 * system.c (syssgi_options): Conditionalize SGI_RECVLMSG and
1527 SGI_SET_FPDEBUG that SGI decided to drop. I don't have the stomach
1528 to change them all.
1529 * term.c (term_ioctl): Force [c_[iocl]flags members to long before
1530 printing since we don't know what the size of their type is.
1531 * util.c [SVR4, MIPS] (umoven): Prevent MIPS from using pread even
1532 if autoconf detects it since it seems to either not work or do
1533 something else entirely on Irix 5.3.
1534
1535Sun Mar 26 00:01:11 1995 Rick Sladkey <jrs@world.std.com>
1536
1537 * version.c: Version 3.0.2 is released.
1538 * linux/dummy.h: Make sys_fchdir like sys_close instead of printargs
1539 so that the file descriptor arg is decimal.
1540
1541Sat Mar 25 22:50:13 1995 Rick Sladkey <jrs@world.std.com>
1542
1543 * net.c [LINUX] (protocols): Explicitly define all IPPROTO_* entries
1544 because on Linux they are enumerators.
1545
1546 * system.c [LINUX] (mount_flags): Handle renaming of MS_SYNC to
1547 MS_SYNCHRONOUS.
1548
1549 * util.c (printxval): When there is no translation, print the actual
1550 number first and the the default value as a C comment.
1551
1552 * net.c (sys_send, sys_sendto, sys_sendmsg, sys_getsockopt,
1553 sys_setsockopt): Change first argument from unsigned to signed to
1554 cater to the frequent practice of calling system calls with a file
1555 descriptor of -1.
1556 * mem.c (sys_mmap): Likewise.
1557
1558Sun Mar 19 13:53:52 1995 Rick Sladkey <jrs@world.std.com>
1559
1560 * signal.c [LINUX] (signalent): Handle old and new values of SIGIO.
1561
1562Sun Dec 11 22:51:51 1994 Rick Sladkey <jrs@world.std.com>
1563
1564 * version.c: Version 3.0.1 is released.
1565 * Makefile.in, configure.in, aclocal.m4: Changes for autoconf 2.0.
1566 * config.guess, config.guess: Update from the FSF.
1567 * install-sh: New from the FSF.
1568
1569Mon Dec 5 20:51:29 1994 Rick Sladkey <jrs@world.std.com>
1570
1571 * Makefile.in: Add m68k arch.
1572 * acconfig.h (M68K): Add m68k define.
1573 * configure.in: Add detection of arch m68k.
1574 * process.c [M68K] (struct_user_offsets): Support m68k registers and
1575 offsets.
1576 * signal.c [M68K] (sigcontext_struct): Support m68k sigcontext
1577 structure.
1578 [M68K] (sys_sigreturn): Support m68k sigreturn handling.
1579 * syscall.c [M68K] (syscall): Support m68k syscall number register
1580 and errno in d0 instead of eax.
1581 * util.c [M68K] (getpc, printcall, setbpt, clearbpt): Support m68k
1582 program counter in PT_PC instead of EIP.
1583 [M68K] (LOOP): Support m68k loop instruction.
1584 From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
1585
1586 * mem.c [MAP_ANONYMOUS] (mmap_flags): Correct inadvertent reference
1587 to MAP_FIXED instead of MAP_ANONYMOUS.
1588 From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
1589
1590 * signal.c [LINUX] (signalent): Signal 30 is now SIGPWR.
1591 From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
1592
1593Mon Dec 5 01:05:46 1994 Rick Sladkey <jrs@world.std.com>
1594
1595 * defs.h (tprintf): Fix typo in non-gcc ansi prototype for tprintf.
1596 Reported by Thanh Ma <tma@encore.com>.
1597
1598 * strace.c (cleanup): Send SIGCONT before SIGTERM because Linux
1599 1.1.62 doesn't continue a traced child when the parent exits.
1600 Reported by Matt Day <mday@artisoft.com>.
1601
1602 * system.c [LINUX]: Include netinet/in.h before arpa/inet.h.
1603
1604 * util.c (printstr): Fix longstanding bug in notating string
1605 continuation.
1606
1607 * strace.c [SVR4] (proc_open): Specifically wait for the child the
1608 child to go into the execve syscall to avoid spurious traces.
1609 [LINUX] (detach): Conditionalize the status variable.
1610
1611Sun Dec 4 23:21:42 1994 Rick Sladkey <jrs@world.std.com>
1612
1613 * Makefile.in: Add mips arch.
1614 * acconfig.h (MIPS): Add mips define.
1615 * configure.in: Add detection of opsys irix5 and arch mips. Check
1616 for prctl function.
1617 Check for sys/sysconfig.h header.
1618 * defs.h (MAX_ARGS): Bump maximum syscall arguments from 8 to 32.
1619 * file.c [SVR4]: Include sys/cred.h.
1620 (access_flags): Update access flags for SGI.
1621 (sprinttime): Change type of sprinttime argument from unsigned
1622 long to time_t.
1623 * process.c [HAVE_PRCTL]: Include sys/prctl.h.
1624 [HAVE_PRCTL] (prctl_options, sys_prctl): New for SGI.
1625 (printsiginfo): Conditionally compile SI_TIMER and SI_MESGQ.
1626 Cast si_band member to long before printing.
1627 * signal.c (sigact_flags): Add _SA_BSDCALL for SGI.
1628 (sigprocmaskcmds): Add SIG_SETMASK32 for SGI.
1629 * strace.c [SVR4] [MIPS]:
1630 (foobar): New dummy signal handler.
1631 (main): Install a dummy signal handler in the child before pausing
1632 to work around an SGI bug in PRSABORT.
1633 (proc_open): Send a interrupt to the child instead of aborting the
1634 syscall which doesn't work on Irix5.2.
1635 * svr4/dummy.h: Add new unfinished SGI syscalls
1636 (e.g. sys_sysmp, sys_sginap, etc.). Handle some SGI syscalls like
1637 existing calls (e.g. sys_ksigaction like sys_sigaction).
1638 Printargs does the print thing for sys_sethostid.
1639 * svr4/syscall.h: Declare all new SGI syscalls.
1640 (SGI_KLUDGE): Define syscall table starting index to be 1 for SGI
1641 and add it to all subcall entry points.
1642 (SYS_pgrpsys_subcall, SYS_sigcall_subcall, SYS_context): Don't
1643 decode as subcalls on MIPS. Instead, use the normal syscalls.
1644 * svr4/syscallent.h [MIPS]: Lead syscall table with a dummy entry
1645 since SGI syscall numbers are off by one.
1646 [MIPS] (sys_pgrpsys): Rename to sys_setpgrp on SGI.
1647 [MIPS] (sys_xenix): Rename to sys_syssgi on SGI.
1648 [MIPS] (sys_sysmachine): Rename to sys_sysmips on SGI.
1649 [MIPS]: Conditionalize SVR4 extension into SGI and Solaris classes.
1650 * syscall.c (dumpio): Validate descriptor against MAX_QUALS.
1651 [HAVE_PR_SYSCALL] (syscall): Conditionalize SYS_vfork.
1652 [MIPS] (syscall): Add SGI section for decoding u_error and u_rval.
1653 Add workaround for broken SGI pr_sysarg on syscall entry.
1654 [SVR4] (syscall): Conditionalize subcall decoding for
1655 SYS_ptrpsys_subcall, SYS_sigcall_subcall and SYS_context_subcall.
1656 [SVR4] [MIPS] (getrval2): Handle SGI.
1657 * syscallent.sh: Dork the sed line to be choosier about SYS_ lines.
1658 * system.c [HAVE_SYSCONFIG_H]: Include sys/sysconfig.h.
1659 [MIPS] (syssgi_options, sys_syssgi): New for SGI.