ad
f8239b2e5b
Deal correctly with mulithreaded processes. Among other problems this mixed
...
up return values for system calls between threads, leading to much confusion.
2007-08-01 21:39:36 +00:00
mrg
dbdbfa2c22
since register_t is sometimes unsigned, cast to (long) to check >= 0.
2006-10-23 04:13:51 +00:00
christos
e71453a117
don't check the wrong variable for being negative!
2006-10-22 16:20:39 +00:00
peter
e263dfd62f
WFORMAT is no more...
2006-10-08 17:52:28 +00:00
martin
a3b5baed42
Fix alignement problems for fhandle_t, exposed by gcc4.1.
...
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
2006-07-13 12:00:24 +00:00
christos
14a515a88b
learn about v1 records.
2005-12-11 11:30:06 +00:00
christos
c4ee9f6d2e
64 bit inode changes
2005-08-19 02:07:18 +00:00
he
a052596ae7
Make misc.h depend on makeerrnos.sh, to ease UPDATE builds after the
...
latest change to support WARNS=3.
2005-07-17 15:48:28 +00:00
he
d36a483f83
Make this build with WARNS=3, and enable it.
...
Renames local variable syscall to syscall_ent to placate -Wshadow,
and adds const to struct field initialized to string literals.
2005-07-17 09:45:50 +00:00
he
7b9dcb30de
Follow up the constification of ioctlname() in ktrace.h.
2005-07-17 08:44:08 +00:00
tron
dc33169c5b
Add prefix "${PROG}-" to filename of automatically created list of
...
ioctl names. This makes sure that each program is built with its own
copy even if object directories are not used. This avoids build
failures when two or more make jobs are used in parallel.
2004-07-10 12:12:49 +00:00
christos
6bd1d6d4db
Replace the statfs() family of system calls with statvfs().
...
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
enami
6a6547d143
We can't access array[sizeof(array) / sizeof(array[0])].
2004-02-27 22:48:56 +00:00
enami
1f8c4c1f20
Rototill for less confusing output, especially when multiple processes
...
are traced and blocking operation is involved (previously, some system
call isn't displayed or displayed as if it is issued by other process).
2004-02-26 22:00:57 +00:00
gson
924d7858aa
Make ktruss compile again after recent change to kdump/setemul.h.
2003-11-19 05:20:50 +00:00
lukem
130ab7336b
Rework how MAKEVERBOSE operates:
...
* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.
* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem
a694177df5
support MAKEVERBOSE and use ${HOST_SH}
2003-10-19 04:25:00 +00:00
matt
8e34a1750e
SYS___sigaction14 -> SYS_compat_16___sigaction14
2003-09-23 18:46:33 +00:00
agc
89aaa1bb64
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
jdolecek
9fe8da698b
we really don't need to print random stack garbage on the end of dump
2003-03-16 09:59:09 +00:00
jdolecek
75f054650f
constify ptrace_ops[]
2003-03-16 09:44:25 +00:00
drochner
2d794f4e34
fix typo in comment
2003-02-11 10:43:29 +00:00
lukem
2c16ea6f7e
use NETBSDSRCDIR as appropriate
2002-09-19 11:31:21 +00:00
lukem
5d4973fe97
makefile delint. use NETBSDSRCDIR as appropriate
2002-09-18 14:00:33 +00:00
lukem
ed401558f2
Implement MKDYNAMICROOT, which currently defaults to "no", but will
...
be changed in the future to "yes".
If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).
If MKDYNAMICROOT == "yes", the following changes occur:
in <bsd.own.mk>:
SHLIBDIR?= /lib
SHLINKDIR?= /lib
in various Makefiles, the following entry is DISABLED.
LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
enami
dc6d9ea1fb
Add more syscalls which has pathname as its first argument.
2002-06-06 10:48:49 +00:00
jmc
720f41ede6
Force makeerrnos.sh to be run with sh instead of depending on it being
...
executable
2001-12-02 08:41:14 +00:00
kim
4a22726eab
Use the errno.h and signal.h passed in on the command line.
2001-02-18 18:38:18 +00:00
cgd
fb3e326ed2
Pass CPP and CPPFLAGS to makerrnos.sh, and use them. Default to cpp and
...
empty, respectively, if not provided.
2001-01-16 02:46:25 +00:00
enami
2422c40349
Add dummy dependency so that parallel make won't to make misc.c and misc.h
...
at the same time.
2001-01-11 14:25:27 +00:00
sommerfeld
64cf1af58d
Let src/usr.bin build with recursive parallel make..
...
- add .WAIT and .NOTPARALLEL in a few places
- change ${MAKE} print-objdir to ${PRINTOBJDIR}
- convert other ad-hoc forms to use ${PRINTOBJDIR}
2000-12-30 14:54:39 +00:00
jdolecek
53b6556eda
back out previous change - this needs to be discussed first at least
2000-11-14 00:10:16 +00:00
jdolecek
dfc9af3212
don't link these static; if shared libraries are hosed, these utilities would
...
surely not save the situation, not help to recover from it
2000-11-13 21:48:33 +00:00
jdolecek
90afd0dc9d
constify, remove redundant dumpfile() prototype
2000-11-13 21:36:22 +00:00
is
3b5e0e52e8
Format string cleanups
2000-10-12 19:02:17 +00:00
is
135600f947
More format string cleanup by sommerfeld.
2000-10-11 14:46:00 +00:00
jdolecek
98359af3d1
Convert to use setemul() stuff from kdump. This also fixes mapping to
...
syscalls names in dump when programs of different emulations are executed.
While here, convert to malloc/realloc power of 2 quantities.
2000-04-10 09:42:37 +00:00
kleink
a3c6c197a2
Cast timeval members to types we know the printf conversions of.
2000-03-27 17:03:25 +00:00
sommerfeld
48e4d07088
Fix some obvious bogons; still doesn't seem to work quite right, though.
2000-01-26 14:23:41 +00:00
thorpej
2d720e5ff0
Don't truncate syscall return values on LP64 platforms.
1999-08-06 00:11:02 +00:00
enami
095b98a6ab
call clearerr for the right file pointer.
1999-07-29 01:53:26 +00:00
darrenr
57c66d8b8b
fix an error where we attempt to bcopy to a long's value rather than address
1999-07-28 15:38:46 +00:00
enami
4191a1e6d4
- remove duplicated setting for LDSTATIC in ktruss/Makefile.
...
- fix command name in SYNOPSIS section of man page.
- link ktrace man page to ktruss man page.
- add executable and man page for ktruss in distrib sets.
1999-07-28 01:56:03 +00:00
itohy
17cd5b4ec1
Fix memory-related problems.
...
Other problems remain, though....
1999-07-23 03:12:31 +00:00
mrg
9abab6de8b
- build with obj dirs.
...
- use .PATH not broken links
- share the make fragment to build "ioctl.c"
- general clean up, RCSID, etc.
this is all happy now AFAICT.
1999-07-12 04:13:34 +00:00
darrenr
c0090d81bf
import Makefile and dump.c required for building ktruss.
1999-07-12 03:20:17 +00:00