cvs commit: src/usr.bin/truss alpha-fbsd.c amd64-fbsd.c
i386-fbsd.c i386-linux.c ia64-fbsd.c sparc64-fbsd.c syscall.h
syscalls.c
Alfred Perlstein
alfred at FreeBSD.org
Sat Jul 17 12:48:49 PDT 2004
alfred 2004-07-17 19:48:49 UTC
FreeBSD src repository
Modified files:
usr.bin/truss alpha-fbsd.c amd64-fbsd.c i386-fbsd.c
i386-linux.c ia64-fbsd.c sparc64-fbsd.c
syscall.h syscalls.c
Log:
Support readlink(2) better. Readlink does not nul terminate the
result buffer, so we need to format it ourselves. The problem is
that the length is stored as the return value from readlink, so we
need to pass the return value from our syscall into print_arg.
Motivated by: truss garbage on my screen from reading /etc/malloc.conf.
Revision Changes Path
1.18 +2 -2 src/usr.bin/truss/alpha-fbsd.c
1.3 +2 -2 src/usr.bin/truss/amd64-fbsd.c
1.22 +2 -2 src/usr.bin/truss/i386-fbsd.c
1.23 +2 -2 src/usr.bin/truss/i386-linux.c
1.7 +2 -2 src/usr.bin/truss/ia64-fbsd.c
1.7 +2 -2 src/usr.bin/truss/sparc64-fbsd.c
1.15 +2 -2 src/usr.bin/truss/syscall.h
1.42 +14 -2 src/usr.bin/truss/syscalls.c
More information about the cvs-all
mailing list