+2009-07-08 Dmitry V. Levin <ldv@altlinux.org>
+
+ Clean up spacing to fix warnings reported by git diff --check.
+ * ChangeLog: Fix spaces before tab in indent.
+ * bjm.c: Likewise.
+ * debian/changelog: Likewise.
+ * strace-graph: Likewise.
+ * syscall.c: Likewise.
+ * INSTALL: Fix trailing blank lines.
+ * README-linux: Likewise.
+ * README-svr4: Likewise.
+ * linux/sparc/gen.pl: Likewise.
+ * linux/sparc/syscall1.h: Likewise.
+ * linux/sparc64/syscall1.h: Likewise.
+ * linux/x86_64/gentab.pl: Likewise.
+ * sunos4/syscall.h: Likewise.
+ * test/Makefile: Likewise.
+ * debian/rules: Fix trailing whitespaces.
+ * desc.c: Likewise.
+ * svr4/syscallent.h: Likewise.
+ * test/childthread.c: Likewise.
+ * test/leaderkill.c: Likewise.
+
2009-07-07 Dmitry V. Levin <ldv@altlinux.org>
* .cvsignore: Remove.
(fork_tcb): Change return type to void - it can't fail now.
* strace.c: Move extern declarations out of function bodies.
Change all callsites of alloctcb(), alloc_tcb() and
- fork_tcb(), removing now-redundant error checks.
+ fork_tcb(), removing now-redundant error checks.
(expand_tcbtab): Change return type to void - it can't fail now.
On failure to expand, print a message, clean up, and exit.
(alloc_tcb): On failure to expand, print a message, clean up, and exit.
1999-12-27 Morten Welinder <terra@diku.dk>
* syscall.c (lookup_signal, lookup_desc): isdigit requires an
- _unsigned_ char parameter.
+ _unsigned_ char parameter.
2000-02-14 Wichert Akkerman <wakkerma@debian.org>
* aclocal.m4 (AC_STRUCT_MSG_CONTROL): New macro.
* configure.in: Add call to AC_STRUCT_MSG_CONTROL.
* net.c (printmsghdr): Handle BSD 4.3 and 4.4 msghdr members
- differently.
+ differently.
Reported by Henrik Storner <storner@osiris.ping.dk>.
* configure.in: (AC_CHECK_{HEADERS,FUNCS}): Add checks for
- sys/filio.h and sys/stream.h and remove check for poll.
+ sys/filio.h and sys/stream.h and remove check for poll.
* desc.c (decode_select, sys_select, sys_oldselect) [LINUX]:
- Handle old and new styles of argument passing for select on Linux.
+ Handle old and new styles of argument passing for select on Linux.
* ioctl.c, stream.c: Conditionalize stream code on presence of
sys/stream.h instead of poll because glibc implements poll but
not the rest of the stream interface.
* syscall.c (nerrnos{0,2}): Correct size computation.
* Makefile.in: Remove dependencies and rules relating to files
- normally found in the os directory. Because of the new scheme we
- don't know precisely where they come from. Sigh.
+ normally found in the os directory. Because of the new scheme we
+ don't know precisely where they come from. Sigh.
* signalent.sh: Make it work for sunos4, linux, and svr4.
* {sunos4,linux{,/alpha},svr4}/Makefile.in: Make rules correspond
- to traditional make syntax. Add signalent.h to files which can
- unconditionally be rebuilt. Prevent signalent.h from being
- unconditionally being rebuilt since it's customized.
+ to traditional make syntax. Add signalent.h to files which can
+ unconditionally be rebuilt. Prevent signalent.h from being
+ unconditionally being rebuilt since it's customized.
* {sunos4,linux{,/alpha},svr4}/{ioctlent,errnoent,signalent}.h:
- Use versions built by {ioctlent,errnoent,signaltent}.sh.
- * sunos4/ioctlent.sh: Work around sprintf troubles with SunOS
- 4.1.4 and gcc 2.7.2.
+ Use versions built by {ioctlent,errnoent,signaltent}.sh.
+ * sunos4/ioctlent.sh: Work around sprintf troubles with SunOS
+ 4.1.4 and gcc 2.7.2.
Sun May 19 17:14:09 1996 J. Richard Sladkey <jrs@world.std.com>
* defs.h (SUPPORTED_PERSONALITES, DEFAULT_PERSONALITY): New.
* syscall.c (set_personality): New.
* strace.c (main): Call set_personality.
- * defs.h, syscall.c, ioctl.c, signal.c: Make sysent, errnoent,
- ioctlent, and signalent indirect pointers and redirect them
+ * defs.h, syscall.c, ioctl.c, signal.c: Make sysent, errnoent,
+ ioctlent, and signalent indirect pointers and redirect them
based on personality.
* {sunos4,svr4,linux{,/alpha}}/signalent.h: New files.
Suggested by Tom Dyas <tdyas@eden.rutgers.edu>.
* version.c: Version 3.0.5 is released.
* desc.c, resource.c, strace.c, syscall.c, time.c: Cast tv_sec and
- tv_usec members to long when using printf.
+ tv_usec members to long when using printf.
* ipc.c: Omit define of __KERNEL__.
({MSG,SEM,SHM}_{STAT,INFO}): Explicitly define those things we
- want which __KERNEL__ used to provide.
+ want which __KERNEL__ used to provide.
(sys_msgrcv): Change reference to ipc_kludge structure to
look-alike ipc_wrapper to avoid dependence on __KERNEL__.
mem.c (mmap_flags) [MAP_{GROWSDOWN,DENYWRITE,EXECUTABLE}]: Add
- Linux specific options.
+ Linux specific options.
syscall.c: Use SYS_ERRLIST_DECLARED instead of guessing.
- [E{RESTART{SYS,NO{INTR,HAND}},NOIOCTLCMD}]: Explicitly define
- instead of depending of __KERNEL__.
+ [E{RESTART{SYS,NO{INTR,HAND}},NOIOCTLCMD}]: Explicitly define
+ instead of depending of __KERNEL__.
term.c: Cast c_{i,o,c,l}flag to long when using printf.
if (tcp->scno >= 0 && tcp->scno < nsyscalls && sysent[tcp->scno].nargs != -1)
nargs = tcp->u_nargs = sysent[tcp->scno].nargs;
else
- nargs = tcp->u_nargs = MAX_ARGS;
+ nargs = tcp->u_nargs = MAX_ARGS;
if(nargs > 4) {
- if(upeek(tcp, REG_SP, &sp) < 0)
- return -1;
+ if(upeek(tcp, REG_SP, &sp) < 0)
+ return -1;
for(i = 0; i < 4; i++) {
- if (upeek(tcp, REG_A0 + i, &tcp->u_arg[i])<0)
- return -1;
+ if (upeek(tcp, REG_A0 + i, &tcp->u_arg[i])<0)
+ return -1;
}
umoven(tcp, sp+16, (nargs-4) * sizeof(tcp->u_arg[0]),
(char *)(tcp->u_arg + 4));
} else {
- for(i = 0; i < nargs; i++) {
- if (upeek(tcp, REG_A0 + i, &tcp->u_arg[i]) < 0)
- return -1;
+ for(i = 0; i < nargs; i++) {
+ if (upeek(tcp, REG_A0 + i, &tcp->u_arg[i]) < 0)
+ return -1;
}
}
}
* in the trap number matches the number strace expects.
*/
/*
- assert(sysent[tcp->scno].nargs <
- sizeof(syscall_regs)/sizeof(syscall_regs[0]));
+ assert(sysent[tcp->scno].nargs <
+ sizeof(syscall_regs)/sizeof(syscall_regs[0]));
*/
tcp->u_nargs = sysent[tcp->scno].nargs;