| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
be determined.
PR: bin/34698
Submitted by: (in part) Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 weeks
|
| |
|
|
|
|
| |
Use __FBSDID().
|
|
|
|
|
|
| |
Submitted by: Vitezslav Novy <vita@fio.cz>
PR: 32036
MFC after: 1 week
|
|
|
|
|
|
|
| |
Make sockaddr printing code unbad.
Always copy in sizeof(sockaddr_un) bytes for an AF_UNIX sockaddr,
despite what the length may be.
|
| |
|
|
|
|
| |
reorder includes everywhere to conform to style(9).
|
|
|
|
|
|
|
|
|
| |
AF_INET6 and AF_UNIX sockaddrs, and will recognize accept(), bind(),
connect(), getpeername() and getsockname() as syscalls taking sockaddr
arguments. Some enterprising soul might want to add (and test) support
for the send() / recv() family of syscalls as well.
MFC after: 1 week
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|