| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
otherwise, if the very first fgetc() already yielded EOF, the returned
string won't get terminated at all.
MFC after: 1 day
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
-I/usr/src/usr.bin/kdump/../.. Fix ioctl.c creation to deal with the depend case more properly.
Submitted by: Ruslan Ermilov <ru@sunbay.com>
|
|
|
|
| |
Approved by: sef
|
|
|
|
|
|
| |
since it could potentially depend on any ${DESTDIR}/usr/include
preprocessor file. This fixes the broken -DNOCLEAN world build
I experienced yesterday.
|
|
|
|
|
|
| |
really is much nicer looking.)
Submitted by: "Matthew N. Dodd" <winter@jurai.net>
|
|
|
|
| |
Submitted by: Bruce Evans
|
|
|
|
|
|
|
| |
the string "FreeBSD". Use the .Fx macro instead. Also did some
minor re-wording/formatting to work around a deficiency with
the .Fx macro when it comes to puncuation characters other than
periods and commas.
|
|
|
|
|
|
|
|
| |
to wake up any processes waiting via PIOCWAIT on process exit, and truss
needs to be more aware that a process may actually disappear while it's
waiting.
Reviewed by: Paul Saab <ps@yahoo-inc.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.
Tags added to:
sys/boot/Makefile
sys/boot/arc/loader/Makefile
sys/kern/Makefile
usr.bin/cpp/Makefile
usr.bin/gcore/Makefile
usr.bin/truss/Makefile
usr.bin/gcore/Makefile:
fixed typo: MACHINDE -> MACHINE_ARCH
|
|
|
|
|
|
|
| |
easier for translation teams.
PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>
|
| |
|
| |
|
| |
|
|
|
|
| |
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
|
|
|