njoly
420fe75a02
Delay emulation record output, to be processed after the current
...
syscall; to avoid picking syscall name from the wrong emulation table.
2009-07-24 11:34:03 +00:00
christos
434ce22684
fix dependencies.
2009-05-16 21:37:48 +00:00
mlelstv
0a0ecc0e52
make flushpendq drop only entries for the current thread.
2009-05-02 21:01:01 +00:00
christos
24132af2b3
PR/41338: Michael van Elst: ktruss mixes filename arguments
...
Restore call to dumppendq.
2009-05-02 18:26:53 +00:00
lukem
c1ceae17f0
Enable WARNS=4 by default for usr.bin, except for:
...
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
2009-04-14 22:15:16 +00:00
lukem
e72a1356ea
fix sign-compare issues
2009-04-12 11:23:12 +00:00
christos
50728e7823
merge christos-time_t
2009-01-11 02:57:17 +00:00
christos
6469dc948c
revert previous. it was meant for the branch.
2008-12-29 21:30:51 +00:00
christos
4266eb20ef
fixes for version 2.
2008-12-29 16:05:01 +00:00
apb
cd5c0f944d
In shell scripts invoked during a build, and in crunchgen, use ${AWK}
...
instead of plain "awk". The Makefiles that invoke these scripts
or programs will pass AWK=${HOST_AWK:Q}.
2008-10-19 22:10:04 +00:00
apb
f3f295c281
Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
...
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:23 +00:00
lukem
98e5374ccb
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
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