| Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame^] | 1 | Sun Oct 27 22:28:00 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 2 |  | 
|  | 3 | * util.c (umovestr) [LINUX]: Handle Linux like SunOS4 | 
|  | 4 | instead of SVR4.  That is, read a few bytes at a time | 
|  | 5 | to avoid overrunning the end of the stack. | 
|  | 6 |  | 
|  | 7 | Fri May 31 01:48:49 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 8 |  | 
|  | 9 | * version.c: Version 3.1 is released. | 
|  | 10 |  | 
|  | 11 | Thu May 23 01:04:43 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 12 |  | 
|  | 13 | * aclocal.m4 (AC_DECL_SYS_ERRLIST): Try looking in stdio.h | 
|  | 14 | as well since that's where glibc declares it.  Go figure. | 
|  | 15 | * signal.c (sys_sigreturn) [ALPHA]: Use sigcontext | 
|  | 16 | instead of sigcontext_struct since glibc v5+ apparently | 
|  | 17 | plays games with the native OS namespace. | 
|  | 18 | From David Mosberger-Tang <davidm@AZStarNet.com>. | 
|  | 19 |  | 
|  | 20 | Mon May 20 23:17:14 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 21 |  | 
|  | 22 | * version.c: Version 3.0.14 is released. | 
|  | 23 |  | 
|  | 24 | * aclocal.m4 (AC_STRUCT_MSG_CONTROL): New macro. | 
|  | 25 | * configure.in: Add call to AC_STRUCT_MSG_CONTROL. | 
|  | 26 | * net.c (printmsghdr): Handle BSD 4.3 and 4.4 msghdr members | 
|  | 27 | differently. | 
|  | 28 | Reported by Henrik Storner <storner@osiris.ping.dk>. | 
|  | 29 |  | 
|  | 30 | * configure.in: (AC_CHECK_{HEADERS,FUNCS}): Add checks for | 
|  | 31 | sys/filio.h and sys/stream.h and remove check for poll. | 
|  | 32 | * desc.c (decode_select, sys_select, sys_oldselect) [LINUX]: | 
|  | 33 | Handle old and new styles of argument passing for select on Linux. | 
|  | 34 | * ioctl.c, stream.c: Conditionalize stream code on presence of | 
|  | 35 | sys/stream.h instead of poll because glibc implements poll but | 
|  | 36 | not the rest of the stream interface. | 
|  | 37 | * signal.c [LINUX]: Standardize on the name sigcontext_struct. | 
|  | 38 | (sys_sigprocmask) [ALPHA]: Handle OSF flavor which is more like | 
|  | 39 | sigsetmask. | 
|  | 40 | * term.c (term_ioctl): Use _VMIN, if present, for TC{G,S}ETA*. | 
|  | 41 | * util.c (umoven, umovestr): Move data in long-sized chunks | 
|  | 42 | at a time, instead of hard coding it to be 4. | 
|  | 43 | From David Mosberger-Tang <davidm@AZStarNet.com>. | 
|  | 44 |  | 
|  | 45 | Mon May 20 01:19:36 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 46 |  | 
|  | 47 | * version.c: Version 3.0.13 is released. | 
|  | 48 |  | 
|  | 49 | * configure.in (AC_CHECK_HEADERS): Add check for asm/sigcontext.h. | 
|  | 50 | * signal.c [HAVE_ASM_SIGCONTEXT_H]: Conditionally include | 
|  | 51 | asm/sigcontext.h to define sigcontext_struct and don't define it | 
|  | 52 | locally if the header is present. | 
|  | 53 |  | 
|  | 54 | * syscall.c (nerrnos{0,2}): Correct size computation. | 
|  | 55 |  | 
|  | 56 | * Makefile.in: Remove dependencies and rules relating to files | 
|  | 57 | normally found in the os directory.  Because of the new scheme we | 
|  | 58 | don't know precisely where they come from.  Sigh. | 
|  | 59 | * signalent.sh: Make it work for sunos4, linux, and svr4. | 
|  | 60 | * {sunos4,linux{,/alpha},svr4}/Makefile.in: Make rules correspond | 
|  | 61 | to traditional make syntax.  Add signalent.h to files which can | 
|  | 62 | unconditionally be rebuilt.  Prevent signalent.h from being | 
|  | 63 | unconditionally being rebuilt since it's customized. | 
|  | 64 | * {sunos4,linux{,/alpha},svr4}/{ioctlent,errnoent,signalent}.h: | 
|  | 65 | Use versions built by {ioctlent,errnoent,signaltent}.sh. | 
|  | 66 | * sunos4/ioctlent.sh: Work around sprintf troubles with SunOS | 
|  | 67 | 4.1.4 and gcc 2.7.2. | 
|  | 68 |  | 
|  | 69 | Sun May 19 17:14:09 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 70 |  | 
|  | 71 | * configure.in, Makefile.in: Add OSARCH concept to finish | 
|  | 72 | build support for the alpha. | 
|  | 73 | * Makefile.in, linux/Makefile.in: Rewrite clean, distclean, | 
|  | 74 | and maintainer-clean rules. | 
|  | 75 | * defs.h, ioctlsort.c: Make ioctl code member unsigned. | 
|  | 76 | * ioctl.c, ioctlsort.c (compare): Perform explicit checking | 
|  | 77 | for less, greater, and equal since subtraction on two's | 
|  | 78 | complement numbers isn't an order relation (it isn't transitive)! | 
|  | 79 | * linux/Makefile.in: Add rules for the signalent.h file. | 
|  | 80 | * linux/alpha/Makefile.in: New file. | 
|  | 81 |  | 
|  | 82 | Sun May 19 01:12:28 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 83 |  | 
|  | 84 | * version.c: Version 3.0.12 is released. | 
|  | 85 |  | 
|  | 86 | * linux{,alpha}/ioctlent.sh: Tweak for recent kernels. | 
|  | 87 | From Michael E Chastain <mec@duracef.shout.net>. | 
|  | 88 |  | 
|  | 89 | * defs.h (SUPPORTED_PERSONALITES, DEFAULT_PERSONALITY): New. | 
|  | 90 | * syscall.c (set_personality): New. | 
|  | 91 | * strace.c (main): Call set_personality. | 
|  | 92 | * defs.h, syscall.c, ioctl.c, signal.c: Make sysent, errnoent, | 
|  | 93 | ioctlent, and signalent indirect pointers and redirect them | 
|  | 94 | based on personality. | 
|  | 95 | * {sunos4,svr4,linux{,/alpha}}/signalent.h: New files. | 
|  | 96 | Suggested by Tom Dyas <tdyas@eden.rutgers.edu>. | 
|  | 97 |  | 
|  | 98 | * util.c (upeek): Handle case where ptrace returns a long | 
|  | 99 | and sizeof(long) != sizeof(int). | 
|  | 100 | From Richard Henderson <richard@twiddle.tamu.edu> | 
|  | 101 |  | 
|  | 102 | Fri May 17 21:03:36 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 103 |  | 
|  | 104 | * version.c: Version 3.0.11 is released. | 
|  | 105 |  | 
|  | 106 | * many files: Fix more printf warnings for other platforms. | 
|  | 107 |  | 
|  | 108 | * ipc.c (sys_msgrcv) [LINUX]: Conditionalize definition of ipc_wrapper. | 
|  | 109 |  | 
|  | 110 | * linux/dummy.h: Handle missing library support for {send,recv}msg. | 
|  | 111 | Reported by Thomas Bogendoerfer <tsbogend@bigbug.franken.de>. | 
|  | 112 |  | 
|  | 113 | * linux/syscall.h (sys_utimes): Fix a typo in the declaration. | 
|  | 114 | From Thomas Bogendoerfer <tsbogend@bigbug.franken.de>. | 
|  | 115 |  | 
|  | 116 | Fri May 17 00:50:06 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 117 |  | 
|  | 118 | * version.c: Version 3.0.10 is released. | 
|  | 119 |  | 
|  | 120 | * Makfile.in: Add os/arch to includes so that a given arch | 
|  | 121 | (like alpha) can override the native arch (like i386). | 
|  | 122 | * configure.in: Check for sendmsg. | 
|  | 123 |  | 
|  | 124 | * net.c: Make sendmsg and recvmsg dependent on an autoconf | 
|  | 125 | test.  Reported by Michael E Chastain <mec@duracef.shout.net>. | 
|  | 126 |  | 
|  | 127 | * acconfig.h, configure.in: Detect the alpha. | 
|  | 128 | * ioctl.c: Handle the alpha. | 
|  | 129 | * defs.h: Make some members long for the alpha.  Define | 
|  | 130 | some register nicknames.  Add support for WAITEXECVE. | 
|  | 131 | * file.c [ALPHA]: Support the alpha for statfs.  Add | 
|  | 132 | osf_statfs and osf_fstatfs for the alpha.  Make damn sure | 
|  | 133 | major and minor results are suitable for passing to printf. | 
|  | 134 | * signal.c, syscall.c: Support the alpha. | 
|  | 135 | * process.c: Add alpha user offsets. | 
|  | 136 | * most files: Use %l? for printf arguments since | 
|  | 137 | most are now longs for the alpha. | 
|  | 138 | * linux/alpha/{errnoent.h,ioctlent.{h,sh},syscallent.h}: | 
|  | 139 | New for the alpha. | 
|  | 140 | From Thomas Bogendoerfer <tsbogend@bigbug.franken.de>. | 
|  | 141 |  | 
|  | 142 | Wed May 15 00:29:37 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 143 |  | 
|  | 144 | * version.c: Version 3.0.9 is released. | 
|  | 145 |  | 
|  | 146 | * config.in, config.sub, install-sh: Upgrade to autoconf 2.10. | 
|  | 147 |  | 
|  | 148 | * linux/dummy.h, linux/syscallent.h, linux/syscall.h: Add recent | 
|  | 149 | Linux kernel version system calls. | 
|  | 150 |  | 
|  | 151 | Wed Mar 13 01:03:38 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 152 |  | 
|  | 153 | * ipc.c [SUNOS4]: Add SunOS support for decoding IPC calls. | 
|  | 154 | * syscall.c [SUNOS4]: Compile decode_subcall on SunOS and | 
|  | 155 | decode IPC calls using it. | 
|  | 156 | * sunos4/dummy.h: Alias sys_semop to printargs. | 
|  | 157 | * sunos4/syscall.h: Add new pseudo syscalls for IPC. | 
|  | 158 | * sunos4/syscallent.h: Include new subcalls for IPC. | 
|  | 159 | From Matthias Pfaller <leo@dachau.marco.de>. | 
|  | 160 |  | 
|  | 161 | Tue Feb 13 22:08:25 1996  J. Richard Sladkey  <jrs@world.std.com> | 
|  | 162 |  | 
|  | 163 | * version.c: Version 3.0.8 is released. | 
|  | 164 |  | 
|  | 165 | * time.c [LINUX]: Explicitly include linux/version.h. | 
|  | 166 |  | 
|  | 167 | * strace.c (main): Don't let them even *try* to | 
|  | 168 | get strace to attach to itself since some systems | 
|  | 169 | don't handle this case very gracefully. | 
|  | 170 | Reported by David S. Miller <davem@caip.rutgers.edu>. | 
|  | 171 |  | 
|  | 172 | * Makefile.in (distclean): Fix it for subdirectories. | 
|  | 173 |  | 
|  | 174 | * sunos4/syscallent.h, svr4/syscallent.h: Fill in the new | 
|  | 175 | sys_flags member for each defined system call. | 
|  | 176 |  | 
|  | 177 | Fri Dec  8 01:17:28 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 178 |  | 
|  | 179 | * defs.h (TRACE_*): New flags to describe what class | 
|  | 180 | of system call each system call is. | 
|  | 181 | (sysent): Add sys_flags member. | 
|  | 182 | * syscall.c (sysent): Define (and later undef) abbreviations | 
|  | 183 | for the system call class flags. | 
|  | 184 | (lookup_class): New function to translate strings to | 
|  | 185 | system call class flags. | 
|  | 186 | (qualify): Handle new system call class mechanism. | 
|  | 187 | * linux/syscallent.h: Fill in the new sys_flags member | 
|  | 188 | for each defined system call. | 
|  | 189 |  | 
|  | 190 | * defs.h (print_sock): Remove redundant and non-K&R C | 
|  | 191 | compatible prototype.  From Juergen Weigert | 
|  | 192 | <jnweiger@immd4.informatik.uni-erlangen.de>. | 
|  | 193 |  | 
|  | 194 | Thu Dec  7 01:17:40 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 195 |  | 
|  | 196 | * linux/ioctlent.sh: Tweak to improve ioctl accuracy. | 
|  | 197 | From Michael E Chastain <mec@duracef.shout.net>. | 
|  | 198 |  | 
|  | 199 | * system.c (includes) [LINUX]: Add linux/nfs.h for recent | 
|  | 200 | kernels.  From Michael E Chastain <mec@duracef.shout.net>. | 
|  | 201 |  | 
|  | 202 | Wed Dec  6 21:52:28 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 203 |  | 
|  | 204 | * file.c (sprintfstype): Enclose string result in double | 
|  | 205 | quotes. | 
|  | 206 |  | 
|  | 207 | * time.c (sys_adjtimex) [LINUX]: Conditionalize | 
|  | 208 | constantly evolving timex structure. | 
|  | 209 | From Aaron Ucko <UCKO@VAX1.ROCKHURST.EDU>. | 
|  | 210 |  | 
|  | 211 | * defs.h, syscall.c, strace.c: Rename syscall to | 
|  | 212 | trace_syscall and change prototype and all callers | 
|  | 213 | because of broken Linux shared libraries. | 
|  | 214 | From Aaron Ucko <UCKO@VAX1.ROCKHURST.EDU>. | 
|  | 215 |  | 
|  | 216 | * Makefile.in (clean): Check for a file with test -f not | 
|  | 217 | test -d.  From Aaron Ucko <UCKO@VAX1.ROCKHURST.EDU>. | 
|  | 218 |  | 
|  | 219 | Tue Sep 26 02:32:31 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 220 |  | 
|  | 221 | * version.c: Version 3.0.7 is released. | 
|  | 222 |  | 
|  | 223 | * util.c (string_quote): Fix thinko which caused core | 
|  | 224 | dumps for strings with quotes in them. | 
|  | 225 | Reported by Marty Leisner <leisner@sdsp.mc.xerox.com>. | 
|  | 226 |  | 
|  | 227 | * linux/Makefile.in (errnoent.h rule): Grab all errno.h | 
|  | 228 | files from /usr/include, not just the linux one. | 
|  | 229 | From Michael E Chastain <mec@duracef.shout.net>. | 
|  | 230 |  | 
|  | 231 | * linux/errnoent.sh: Total rewrite to handle more ioctls with | 
|  | 232 | fewer false positives on more kernel flavors. | 
|  | 233 | From Michael E Chastain <mec@duracef.shout.net>. | 
|  | 234 |  | 
|  | 235 | Mon Sep  4 01:29:22 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 236 |  | 
|  | 237 | * version.c: Version 3.0.6 is released. | 
|  | 238 |  | 
|  | 239 | * linux/dummy.h, linux/syscall.h, linux/syscallent.h: Add | 
|  | 240 | sys_msync. | 
|  | 241 | * mem.c (mctl_funcs, mctl_lockas, sys_mctl): Conditionalize | 
|  | 242 | on MC_SYNC instead of HAVE_MCTL. | 
|  | 243 | (mctl_sync): Conditionalize on MS_ASYNC instead of HAVE_MCTL. | 
|  | 244 | (sys_msync): New function. | 
|  | 245 |  | 
|  | 246 | Sat Sep  2 12:06:04 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 247 |  | 
|  | 248 | * linux/dummy.h, linux/syscall.h, linux/syscallent.h: Add | 
|  | 249 | sys_flock and sys_getdents. | 
|  | 250 | * desc.c (flockcmds, sys_flock): Conditionalize on LOCK_SH | 
|  | 251 | not SUNOS4. | 
|  | 252 | * file.c (sys_getdents): Define unconditionally and handle | 
|  | 253 | LINUX case. | 
|  | 254 | * strace.c (main): Disallow username option unless both real | 
|  | 255 | and effective uids are root. | 
|  | 256 |  | 
|  | 257 | Wed Aug 30 01:29:58 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 258 |  | 
|  | 259 | * strace.c (main): Ensure that run_uid and run_gid are | 
|  | 260 | always set to something meaningful. | 
|  | 261 | (main, newoutf) [!SVR4]: Swap real and effective uids while | 
|  | 262 | opening any output files. | 
|  | 263 | (main) [!SVR4]: Treat effective uid of root as a request | 
|  | 264 | to handle suid binaries correctly using the real uid of | 
|  | 265 | the invoking user. | 
|  | 266 |  | 
|  | 267 | Sat Aug 19 00:06:08 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 268 |  | 
|  | 269 | * Makefile.in: Add `|| true' to clean rule because | 
|  | 270 | although GNU make 3.74 uses `sh -c' to invoke commands | 
|  | 271 | every other make in the world uses `sh -ec'. | 
|  | 272 |  | 
|  | 273 | * syscall.c (syscall) [SVR4, MIPS]: The fifth and subsequent | 
|  | 274 | arguments appear to be stored on the stack, not in the | 
|  | 275 | registers following A3 (empirical result). | 
|  | 276 |  | 
|  | 277 | * defs.h: Add prototype for printsock. | 
|  | 278 | * svr4/dummy.h: Remove generic handling of sys_mount. | 
|  | 279 | * system.c [SVR4, MIPS]: Include several system headers to cleanly | 
|  | 280 | get access to SGI mount information. | 
|  | 281 | (mount_flags, nfs_flags) [SVR4, MIPS]: New objects. | 
|  | 282 | (sys_mount) [SVR4, MIPS]: New function. | 
|  | 283 | (sys_mount) [SVR4, !MIPS]: New function. | 
|  | 284 |  | 
|  | 285 | Tue Jul  4 00:30:34 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 286 |  | 
|  | 287 | * version.c: Version 3.0.5 is released. | 
|  | 288 |  | 
|  | 289 | * desc.c, resource.c, strace.c, syscall.c, time.c: Cast tv_sec and | 
|  | 290 | tv_usec members to long when using printf. | 
|  | 291 |  | 
|  | 292 | * ipc.c: Omit define of __KERNEL__. | 
|  | 293 | ({MSG,SEM,SHM}_{STAT,INFO}): Explicitly define those things we | 
|  | 294 | want which __KERNEL__ used to provide. | 
|  | 295 | (sys_msgrcv): Change reference to ipc_kludge structure to | 
|  | 296 | look-alike ipc_wrapper to avoid dependence on __KERNEL__. | 
|  | 297 |  | 
|  | 298 | mem.c (mmap_flags) [MAP_{GROWSDOWN,DENYWRITE,EXECUTABLE}]: Add | 
|  | 299 | Linux specific options. | 
|  | 300 |  | 
|  | 301 | syscall.c: Use SYS_ERRLIST_DECLARED instead of guessing. | 
|  | 302 | [E{RESTART{SYS,NO{INTR,HAND}},NOIOCTLCMD}]: Explicitly define | 
|  | 303 | instead of depending of __KERNEL__. | 
|  | 304 |  | 
|  | 305 | term.c: Cast c_{i,o,c,l}flag to long when using printf. | 
|  | 306 |  | 
|  | 307 | Tue Jun  6 00:27:48 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 308 |  | 
|  | 309 | * aclocal.m4 (AC_DECL_SYS_ERRLIST, AC_DECL__SYS_SIGLIST): New. | 
|  | 310 | * configure.in: Call AC_DECL_SYS_ERRLIST, AC_DECL_SYS_SIGLIST, | 
|  | 311 | and AC_DECL__SYS_SIGLIST. | 
|  | 312 | * acconfig.h (SYS_ERRLIST_DECLARED): New. | 
|  | 313 | * strace.c (strerror): Use SYS_ERRLIST_DECLARED. | 
|  | 314 | (strsignal): Use SYS_SIGLIST_DECLARED. | 
|  | 315 |  | 
|  | 316 | net.c (sys_socket): Omit inadvertent surplus comma when | 
|  | 317 | protocol family isn't PF_INET. | 
|  | 318 |  | 
|  | 319 | util.c (dumpstr): Fix incorrect printing of one too many | 
|  | 320 | characters when the length is not an even multiple of 16 bytes. | 
|  | 321 | Reported by Juergen Weigert | 
|  | 322 | <jnweiger@immd4.informatik.uni-erlangen.de>. | 
|  | 323 |  | 
|  | 324 | Thu May  4 23:37:47 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 325 |  | 
|  | 326 | * ioctl.c (compare): Change prototype to match POSIX qsort. | 
|  | 327 | * signal.c (sigishandled) [SVR4]: Omit everything after return. | 
|  | 328 | * strace.c (trace) [SVR4]: Break out of for loop instead of | 
|  | 329 | returning when finished so final return statement is executed. | 
|  | 330 | * syscall.c (internal_syscall): Add more SYS_wait* variations. | 
|  | 331 | (syscall) [LINUX]: Correct typo which commented out the M68K | 
|  | 332 | argument to ifdef. | 
|  | 333 | * util.c (printstr): Cast unsigned char pointer argument | 
|  | 334 | to char pointer in umovestr call. | 
|  | 335 | (dumpstr): Likewise for umoven. | 
|  | 336 |  | 
|  | 337 | Wed May  3 01:10:56 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 338 |  | 
|  | 339 | * version.c: Version 3.0.4 is released. | 
|  | 340 |  | 
|  | 341 | * signal.c (sys_sigblock): Move after the definition of | 
|  | 342 | sys_sigsetmask that it calls to avoid an implicit declaration. | 
|  | 343 | * stream.c (transport_user_options, transport_server_options): | 
|  | 344 | Only needed if TI_BIND is defined. | 
|  | 345 | * configure.in: Add -Wno-implicit to WARNFLAGS on SunOS 4.x. | 
|  | 346 |  | 
|  | 347 | * process.c (internal_fork) [SVR4]: Fix a typo that omitted | 
|  | 348 | the tcp arguement from the call to exiting.  Add getrval2 | 
|  | 349 | check so no fork processing is done in the child. | 
|  | 350 | (printwaitn): Initialize exited so that its value is defined | 
|  | 351 | for all flows of execution. | 
|  | 352 |  | 
|  | 353 | Tue May  2 22:39:42 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 354 |  | 
|  | 355 | * linux/dummy.h: Add aliases for sysfs, personality, afs_syscall, | 
|  | 356 | setfsuid, setfsgid, and _llseek syscalls. | 
|  | 357 | * linux/syscall.h: Add prototypes for them. | 
|  | 358 | * linux/syscallent.h: Add them to the syscall entries table. | 
|  | 359 | * system.c (headers) [LINUX]: Include linux/unistd.h to get __NR_* | 
|  | 360 | defines and conditionally include linux/personality.h if | 
|  | 361 | __NR_personality is defined. | 
|  | 362 | (personality_options) [LINUX]: New table. | 
|  | 363 | (sys_personality) [LINUX]: New function. | 
|  | 364 |  | 
|  | 365 | Tue May  2 00:20:39 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 366 |  | 
|  | 367 | * strace.c (trace) [!SVR4]: Change forever loop to one predicated | 
|  | 368 | on the number of traced processes so that we can have untraced | 
|  | 369 | children (e.g. via popen). | 
|  | 370 |  | 
|  | 371 | * strace (main) [!SVR4]: Call fake_execve to get the actual | 
|  | 372 | exec and its arguments into the trace. | 
|  | 373 | (environ): Declare it. | 
|  | 374 | * process.c (fake_execve): New function. | 
|  | 375 | (headers): Include sys/syscall.h to get SYS_* defines. | 
|  | 376 |  | 
|  | 377 | * process.c (sys_execv, sys_execve): Surround argument annotations | 
|  | 378 | with C comment delimiters. | 
|  | 379 | (printargv, printargc): The arg vector is an array of char pointers | 
|  | 380 | not ints. | 
|  | 381 |  | 
|  | 382 | * strace.c (printleader): Also check for multiple -p arguments | 
|  | 383 | when deciding whether to print the pid field. | 
|  | 384 |  | 
|  | 385 | * strace.c (strerror) [!HAVE_STRERROR]: New function. | 
|  | 386 | * defs.h (strerror, strsignal): Add these prototypes if we provide | 
|  | 387 | the functions. | 
|  | 388 | * configure.in (AC_CHECK_FUNCS): Add strerror. | 
|  | 389 |  | 
|  | 390 | * strace.c (main, proc_poller): Add SIGPIPE to the list of caught | 
|  | 391 | and blocked signals. | 
|  | 392 |  | 
|  | 393 | * strace.c (main): Add username option.  Verify they are root before | 
|  | 394 | letting them use it.  Look up the ids in the password file.  Set | 
|  | 395 | them just before executing the program. | 
|  | 396 | From Reuben Sumner <rasumner@undergrad.math.uwaterloo.ca>. | 
|  | 397 |  | 
|  | 398 | Sat Apr 29 00:09:56 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 399 |  | 
|  | 400 | * version.c: Version 3.0.3 is released. | 
|  | 401 |  | 
|  | 402 | * system.c (mount_flags) [LINUX]: Omit duplicated MS_NOSUID entry. | 
|  | 403 | From Reuben Sumner <rasumner@undergrad.math.uwaterloo.ca>. | 
|  | 404 |  | 
|  | 405 | * strace.c (outfname): Initialize to NULL. | 
|  | 406 | (main): Defer output file processing until after arguments. | 
|  | 407 | Allow either a pipe or a bang for command arguments. | 
|  | 408 | Check if outfname is NULL instead of checking outf for stderr. | 
|  | 409 | Reinitialize each startup TCB's outf to fix -p/-o ordering bug. | 
|  | 410 | (droptcb): Reset close TCB's outf to NULL instead of stderr. | 
|  | 411 | (tprintf): Avoid calling vfprintf if outf is NULL. | 
|  | 412 |  | 
|  | 413 | * strace.c (main): Use popen if -o argument begins with a pipe. | 
|  | 414 | From Marty Leisner <leisner@sdsp.mc.xerox.com>. | 
|  | 415 |  | 
|  | 416 | * process.c (printstatus): Fix a typo where WIFSIGNALED was meant | 
|  | 417 | but WIFSTOPPED was used. | 
|  | 418 |  | 
|  | 419 | * Makefile.in: Add an EXTRA_DEFS variable and use it in the .c.o | 
|  | 420 | rule to prevent the comment from being untrue. | 
|  | 421 |  | 
|  | 422 | Fri Apr 28 22:01:56 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 423 |  | 
|  | 424 | * strace.c (sys_exit): Move follow fork code to internal_exit. | 
|  | 425 | (sys_fork): Move follow fork code to internal_fork. | 
|  | 426 | (sys_execv, sys_execve): Move follow fork code to internal_exec. | 
|  | 427 | (sys_waitpid, sys_wait4): Move follow fork code to internal_wait. | 
|  | 428 | (vforking): Remove this static variable and check scno in | 
|  | 429 | internal_fork instead. | 
|  | 430 | (internal_exit, internal_fork, internal_exec, internal_wait): New | 
|  | 431 | functions. | 
|  | 432 | * defs.h: Add prototypes for the new internal_* functions. | 
|  | 433 | * syscall.c (syscall): Move syscall entering trace qualifier check | 
|  | 434 | and reprint checking after context decoding and precede them with | 
|  | 435 | a call to internal_syscall.  Precede syscall exiting trace | 
|  | 436 | qualifier check with a call to internal_syscall. | 
|  | 437 | (internal_syscall): New function. | 
|  | 438 |  | 
|  | 439 | * defs.h (struct tcb): Make scno signed. | 
|  | 440 | * strace.c (syscall) Make u_error signed. | 
|  | 441 | [LINUX, I386]: Avoid unsigned cast in eax check. | 
|  | 442 | * syscall.c (sys_indir): Make i, scno, and nargs signed. | 
|  | 443 | * desc.c (sys_select): Make cumlen unsigned | 
|  | 444 |  | 
|  | 445 | Mon Apr 24 23:52:47 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 446 |  | 
|  | 447 | * net.c (socktypes): Add SOCK_PACKET. | 
|  | 448 |  | 
|  | 449 | Sun Apr  2 23:50:39 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 450 |  | 
|  | 451 | * Makefile (clean): Check explicitly for a Makefile in subdirs | 
|  | 452 | before running make in them. | 
|  | 453 |  | 
|  | 454 | Sun Mar 26 12:37:21 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 455 |  | 
|  | 456 | * strace.c [MIPS] (proc_open): Conditionalize run on MIPS. | 
|  | 457 | [MIPS] (detach): Initialize error for MIPS case. | 
|  | 458 | (trace): Initialize ioctl_result and ioctl_errno for overly helpful | 
|  | 459 | compilers. | 
|  | 460 | * syscall.c (decode_subcall): Move variable i into conditionals | 
|  | 461 | that use use it. | 
|  | 462 | * system.c (syssgi_options): Conditionalize SGI_RECVLMSG and | 
|  | 463 | SGI_SET_FPDEBUG that SGI decided to drop.  I don't have the stomach | 
|  | 464 | to change them all. | 
|  | 465 | * term.c (term_ioctl): Force [c_[iocl]flags members to long before | 
|  | 466 | printing since we don't know what the size of their type is. | 
|  | 467 | * util.c [SVR4, MIPS] (umoven): Prevent MIPS from using pread even | 
|  | 468 | if autoconf detects it since it seems to either not work or do | 
|  | 469 | something else entirely on Irix 5.3. | 
|  | 470 |  | 
|  | 471 | Sun Mar 26 00:01:11 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 472 |  | 
|  | 473 | * version.c: Version 3.0.2 is released. | 
|  | 474 | * linux/dummy.h: Make sys_fchdir like sys_close instead of printargs | 
|  | 475 | so that the file descriptor arg is decimal. | 
|  | 476 |  | 
|  | 477 | Sat Mar 25 22:50:13 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 478 |  | 
|  | 479 | * net.c [LINUX] (protocols): Explicitly define all IPPROTO_* entries | 
|  | 480 | because on Linux they are enumerators. | 
|  | 481 |  | 
|  | 482 | * system.c [LINUX] (mount_flags): Handle renaming of MS_SYNC to | 
|  | 483 | MS_SYNCHRONOUS. | 
|  | 484 |  | 
|  | 485 | * util.c (printxval): When there is no translation, print the actual | 
|  | 486 | number first and the the default value as a C comment. | 
|  | 487 |  | 
|  | 488 | * net.c (sys_send, sys_sendto, sys_sendmsg, sys_getsockopt, | 
|  | 489 | sys_setsockopt): Change first argument from unsigned to signed to | 
|  | 490 | cater to the frequent practice of calling system calls with a file | 
|  | 491 | descriptor of -1. | 
|  | 492 | * mem.c (sys_mmap): Likewise. | 
|  | 493 |  | 
|  | 494 | Sun Mar 19 13:53:52 1995  Rick Sladkey  <jrs@world.std.com> | 
|  | 495 |  | 
|  | 496 | * signal.c [LINUX] (signalent): Handle old and new values of SIGIO. | 
|  | 497 |  | 
|  | 498 | Sun Dec 11 22:51:51 1994  Rick Sladkey  <jrs@world.std.com> | 
|  | 499 |  | 
|  | 500 | * version.c: Version 3.0.1 is released. | 
|  | 501 | * Makefile.in, configure.in, aclocal.m4: Changes for autoconf 2.0. | 
|  | 502 | * config.guess, config.guess: Update from the FSF. | 
|  | 503 | * install-sh: New from the FSF. | 
|  | 504 |  | 
|  | 505 | Mon Dec  5 20:51:29 1994  Rick Sladkey  <jrs@world.std.com> | 
|  | 506 |  | 
|  | 507 | * Makefile.in: Add m68k arch. | 
|  | 508 | * acconfig.h (M68K): Add m68k define. | 
|  | 509 | * configure.in: Add detection of arch m68k. | 
|  | 510 | * process.c [M68K] (struct_user_offsets): Support m68k registers and | 
|  | 511 | offsets. | 
|  | 512 | * signal.c [M68K] (sigcontext_struct): Support m68k sigcontext | 
|  | 513 | structure. | 
|  | 514 | [M68K] (sys_sigreturn): Support m68k sigreturn handling. | 
|  | 515 | * syscall.c [M68K] (syscall): Support m68k syscall number register | 
|  | 516 | and errno in d0 instead of eax. | 
|  | 517 | * util.c [M68K] (getpc, printcall, setbpt, clearbpt): Support m68k | 
|  | 518 | program counter in PT_PC instead of EIP. | 
|  | 519 | [M68K] (LOOP): Support m68k loop instruction. | 
|  | 520 | From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>. | 
|  | 521 |  | 
|  | 522 | * mem.c [MAP_ANONYMOUS] (mmap_flags): Correct inadvertent reference | 
|  | 523 | to MAP_FIXED instead of MAP_ANONYMOUS. | 
|  | 524 | From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>. | 
|  | 525 |  | 
|  | 526 | * signal.c [LINUX] (signalent): Signal 30 is now SIGPWR. | 
|  | 527 | From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>. | 
|  | 528 |  | 
|  | 529 | Mon Dec  5 01:05:46 1994  Rick Sladkey  <jrs@world.std.com> | 
|  | 530 |  | 
|  | 531 | * defs.h (tprintf): Fix typo in non-gcc ansi prototype for tprintf. | 
|  | 532 | Reported by Thanh Ma <tma@encore.com>. | 
|  | 533 |  | 
|  | 534 | * strace.c (cleanup): Send SIGCONT before SIGTERM because Linux | 
|  | 535 | 1.1.62 doesn't continue a traced child when the parent exits. | 
|  | 536 | Reported by Matt Day <mday@artisoft.com>. | 
|  | 537 |  | 
|  | 538 | * system.c [LINUX]: Include netinet/in.h before arpa/inet.h. | 
|  | 539 |  | 
|  | 540 | * util.c (printstr): Fix longstanding bug in notating string | 
|  | 541 | continuation. | 
|  | 542 |  | 
|  | 543 | * strace.c [SVR4] (proc_open): Specifically wait for the child the | 
|  | 544 | child to go into the execve syscall to avoid spurious traces. | 
|  | 545 | [LINUX] (detach): Conditionalize the status variable. | 
|  | 546 |  | 
|  | 547 | Sun Dec  4 23:21:42 1994  Rick Sladkey  <jrs@world.std.com> | 
|  | 548 |  | 
|  | 549 | * Makefile.in: Add mips arch. | 
|  | 550 | * acconfig.h (MIPS): Add mips define. | 
|  | 551 | * configure.in: Add detection of opsys irix5 and arch mips.  Check | 
|  | 552 | for prctl function. | 
|  | 553 | Check for sys/sysconfig.h header. | 
|  | 554 | * defs.h (MAX_ARGS): Bump maximum syscall arguments from 8 to 32. | 
|  | 555 | * file.c [SVR4]: Include sys/cred.h. | 
|  | 556 | (access_flags): Update access flags for SGI. | 
|  | 557 | (sprinttime): Change type of sprinttime argument from unsigned | 
|  | 558 | long to time_t. | 
|  | 559 | * process.c [HAVE_PRCTL]: Include sys/prctl.h. | 
|  | 560 | [HAVE_PRCTL] (prctl_options, sys_prctl): New for SGI. | 
|  | 561 | (printsiginfo): Conditionally compile SI_TIMER and SI_MESGQ. | 
|  | 562 | Cast si_band member to long before printing. | 
|  | 563 | * signal.c (sigact_flags): Add _SA_BSDCALL for SGI. | 
|  | 564 | (sigprocmaskcmds): Add SIG_SETMASK32 for SGI. | 
|  | 565 | * strace.c [SVR4] [MIPS]: | 
|  | 566 | (foobar): New dummy signal handler. | 
|  | 567 | (main): Install a dummy signal handler in the child before pausing | 
|  | 568 | to work around an SGI bug in PRSABORT. | 
|  | 569 | (proc_open): Send a interrupt to the child instead of aborting the | 
|  | 570 | syscall which doesn't work on Irix5.2. | 
|  | 571 | * svr4/dummy.h: Add new unfinished SGI syscalls | 
|  | 572 | (e.g. sys_sysmp, sys_sginap, etc.).  Handle some SGI syscalls like | 
|  | 573 | existing calls (e.g. sys_ksigaction like sys_sigaction). | 
|  | 574 | Printargs does the print thing for sys_sethostid. | 
|  | 575 | * svr4/syscall.h: Declare all new SGI syscalls. | 
|  | 576 | (SGI_KLUDGE): Define syscall table starting index to be 1 for SGI | 
|  | 577 | and add it to all subcall entry points. | 
|  | 578 | (SYS_pgrpsys_subcall, SYS_sigcall_subcall, SYS_context): Don't | 
|  | 579 | decode as subcalls on MIPS. Instead, use the normal syscalls. | 
|  | 580 | * svr4/syscallent.h [MIPS]: Lead syscall table with a dummy entry | 
|  | 581 | since SGI syscall numbers are off by one. | 
|  | 582 | [MIPS] (sys_pgrpsys): Rename to sys_setpgrp on SGI. | 
|  | 583 | [MIPS] (sys_xenix): Rename to sys_syssgi on SGI. | 
|  | 584 | [MIPS] (sys_sysmachine): Rename to sys_sysmips on SGI. | 
|  | 585 | [MIPS]: Conditionalize SVR4 extension into SGI and Solaris classes. | 
|  | 586 | * syscall.c (dumpio): Validate descriptor against MAX_QUALS. | 
|  | 587 | [HAVE_PR_SYSCALL] (syscall): Conditionalize SYS_vfork. | 
|  | 588 | [MIPS] (syscall): Add SGI section for decoding u_error and u_rval. | 
|  | 589 | Add workaround for broken SGI pr_sysarg on syscall entry. | 
|  | 590 | [SVR4] (syscall): Conditionalize subcall decoding for | 
|  | 591 | SYS_ptrpsys_subcall, SYS_sigcall_subcall and SYS_context_subcall. | 
|  | 592 | [SVR4] [MIPS] (getrval2): Handle SGI. | 
|  | 593 | * syscallent.sh: Dork the sed line to be choosier about SYS_ lines. | 
|  | 594 | * system.c [HAVE_SYSCONFIG_H]: Include sys/sysconfig.h. | 
|  | 595 | [MIPS] (syssgi_options, sys_syssgi): New for SGI. |