| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
the stdio buffer.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
execvp() in the child branch of a vfork(). Changed to use fork()
instead.
Some of these (mv, find, apply, xargs) might benefit greatly from
being rewritten to use vfork() properly.
PR: Loosely related to bin/8252
Approved by: jkh and bde
|
|
|
|
| |
Pointed out by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
|
|
|
|
| |
Submitted by: Alex Nash <nash@mcs.net>
|
|
|
|
|
| |
Jordan, for pointing me at beast!). There should be no change for the
i386 version.
|
|
|
|
|
| |
uses the first type listed in the array as the default type. This isn't
perfect, but I thought it would be better than nothing.
|
| |
|
| |
|
|
|
|
| |
makesyscalls.sh.
|
| |
|
|
|
|
|
|
|
| |
some header files (e.g., <err.h>) include <machine/something.h>, and this
will not pick up the right header files, so it may be removed eventually
anyway. But some people who are not willing to build the right way
apparantly want this, so this is for them.
|
|
|
|
|
|
|
|
| |
anything other than <sys/*.h>), and unnecessary in most cases. (The
situations where it is necesary can be dealt with by manually-made symlinks,
which is acceptable since they should only occur during testing. Remember:
the tree does not compile well if you do not have matching header files
installed. Half-baked -I directives don't cover enough of the cases.)
|
|
|
|
| |
also, fix misspelling of -1 (as EOF for getopt)
|
|
|
|
|
|
| |
Correct usage: one of {-p pid, command} is required.
Open output file when command line is fully analyzed: incorrect `truss -o f'
command does not create an empty file anymore.
|
|
|
|
| |
syscall.h just refers to another file for the copyright notice.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
change from
ioctl(fd, PIOC<foo>, &i);
to
ioctl(fd, PIOC<foo>, i);
This is going from the _IOW to _IO ioctl macro. The kernel, procctl, and
truss must be in synch for it all to work (not doing so will get errors about
inappropriate ioctl's, fortunately). Hopefully I didn't forget anything :).
|
| |
|
|
|
|
|
|
|
|
|
| |
said process will not have its event mask cleared (and be restarted) on
the last close of a procfs/mem file for that pid. This reduces the chance
that a truss-monitored process will be left hanging with these bits set
and nobody looking for it.
This is the least-tested change of all of these, I'm afraid.
|
| |
|
| |
|
|
|
|
| |
close() takes a fd, not a char * :-)
|
|
|
|
| |
Submitted by: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
| |
file descriptor that it shouldn't.
|
|
|
|
|
|
|
| |
handle linux ioctls (yet?). This uses the mkioctl script from kdump,
bless its little heart.
Reviewed by: Mike Smith
|
|
|