Commit Graph

12285 Commits

Author SHA1 Message Date
wiz 0eb3a654b0 Better document eval, mentioning optional second and third arguments.
Requested by martin.
Bump date.
2014-01-07 13:32:21 +00:00
joerg d9c7ee5b63 Annotate functions using format strings. 2014-01-07 02:07:08 +00:00
christos 5eb5e1c36d - use just the basename for program name
- quote variables
- use mktemp to create directories (from jtc)
- exit on errors
2014-01-06 22:43:15 +00:00
wiz cefc4c9359 Remove second copy for RCS Id. 2014-01-04 15:43:27 +00:00
martin 65dddd35c0 Remove .note.netbsd.mcmodel and .note.netbsd.pax from the chrunched binaries.
We don't know wether the former would make sense (as currently used, it never
makes sense for static binaries) and we can not conclude safe PAX flags from
combined binaries.
2014-01-04 08:58:51 +00:00
sjg 7a951eee59 Treat '~' as a meta char requiring a shell.
Patch from Steve McIntyre 93sam at debian.org

Reviewed by: christos
2014-01-03 00:02:01 +00:00
pooka 4b870e3771 Use signal.h instead of sys/signal.h. The latter is not standard
and does not exist at least on systems with musl libc.

from Justin Cormack
2013-12-31 00:23:56 +00:00
rjs d63e9ca599 Only build shmif_dumpbus when rump is available. 2013-12-28 02:32:01 +00:00
wiz d95f5d3fd5 Revert previous, it was wrong.
From David H. Gutteridge in PR bin/48460.
2013-12-20 17:01:39 +00:00
wiz dc3127b204 Document what ngen 0 does.
From David Gutteridge in PR 48460.
2013-12-20 10:14:25 +00:00
pooka aab6639102 make portable 2013-12-20 10:04:33 +00:00
pooka ef64361cbb Allow overriding LIBCRT0 in mk.conf 2013-12-20 09:44:16 +00:00
pooka 84de6be8b7 RCS Id police stings again! 2013-12-20 09:36:03 +00:00
pooka 26ef2cc943 If creating a pcap dump to stdout, print metainfo to stderr. 2013-12-20 09:32:13 +00:00
rmind 4aae4db7db Add shm_open(3) and shm_unlink(3) to support POSIX shared memory objects.
They are implemented using tmpfs (mounted at /var/shm).

Discussed on tech-{kern,userlevel} (quite a while ago).
2013-12-19 19:11:50 +00:00
pooka a1ee0e7eea Actually, nevermind with the whole LD_DYNAMIC_WEAK business, forgot
to unset it from the shell before testing.
2013-12-18 20:56:32 +00:00
pooka e51a22a59b Set LD_DYNAMIC_WEAK, required by glibc ld.so for -l params.
(this accidentally slipped in the previous commit already, but
I'm recommitting it to get cvs annotate right)
2013-12-18 20:50:30 +00:00
pooka 57d34ab9b0 Use rumperr to print correct error strings on !NetBSD. 2013-12-18 20:48:31 +00:00
apb 81b1fb1df7 In all man pages that say:
The -H, -L and -P options are ignored unless the -R option is
    specified.  In addition, these options override each other and the
    command's actions are determined by the last one specified.

Add:

    The default is as if the -P option had been specified.
2013-12-17 09:54:08 +00:00
bad a88c18e5e2 Don't hold back, tell us how you really feel when dlopen() fails. 2013-12-16 23:27:33 +00:00
mlelstv 9a7a6e815f Fix output for -A -f ... 2013-12-15 18:56:59 +00:00
wiz 82c52eb924 sync usage with man page 2013-12-15 09:21:03 +00:00
wiz 73135dc321 Sort SYNOPSIS and option descriptions. Bump date for previous. 2013-12-15 09:20:48 +00:00
wiz 95452ff947 Sync usage and option descriptions with manpage. 2013-12-15 09:18:31 +00:00
wiz 4b6a96229a Standardize SYNOPSIS. Sort option descriptions and remove duplicates. 2013-12-15 09:18:14 +00:00
mlelstv b3d56b5ecb New -A option. Add an output column with the address of the
kernel object (vnode or file) that can be matched with prstat(8) output.
2013-12-15 08:16:24 +00:00
christos 7f1aab93ea Put back the extra prototype for main(); some programs #define main to
something else, so we need the extra prototype.
2013-12-15 06:07:39 +00:00
christos a54bed1665 downgrade illegal bitfield from error to warning so we can ignore it. 2013-12-15 03:43:37 +00:00
christos 0213edf018 - remove support for pre-ansi output
- add -B (BSD) support for c++ output macros
- group functions to make output better looking
2013-12-15 00:40:17 +00:00
wiz d860f590d4 Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
pettai 515a14aba7 fix == compatibility problem 2013-12-06 13:33:15 +00:00
mbalmer 4675096298 Nelson Mandela died today, aged 95. I whish farewell to a great statesman. 2013-12-05 22:06:13 +00:00
christos f95f074778 we have moved. 2013-11-28 22:39:29 +00:00
christos f7ce1bf0d8 PR/48413: Inappropriate sign extension in kdump output 2013-11-27 20:27:58 +00:00
apb f45f136e10 Use LIST_FOREACH, LIST_NEXT, etc., instead of direct access to
the internals of queue.h structs.
2013-11-27 17:38:11 +00:00
joerg f9d128e05f Include signal.h early for MiNT and Linux. From pkgsrc. 2013-11-26 13:44:41 +00:00
rmind df64447ca6 Remove cpu_queue (and thus eleminate another use of CIRCLEQ) by replacing
its uses with cpu_infos array.  Extra testing by christos@.
2013-11-24 21:58:38 +00:00
dholland a32d5d5201 Fix documentation of how to expire old messages. For some reason the
expiration period must be given as a negative number, indicating how
many days ago to place the expire threshold.

PR 48404 from Martin Neitzel.
2013-11-24 19:49:22 +00:00
mlelstv ffb41b3a17 Fix fallout from circleq->tailq transition. 2013-11-24 13:13:12 +00:00
christos 30107bf0d8 Update for new pcb tailq's.
While here fix ipv6 pcb printing by making tcp6_dump with tcp.
XXX: Merge the inet and the inet6 code. It is silly to need to specify
-p tcp6 to print a tcp6 pcb, we already know what it is.
2013-11-23 22:01:12 +00:00
christos e675354f1e switch to the nv in external/bsd 2013-11-22 16:10:25 +00:00
kleink 7f9d164c04 Explicitly include <stdint.h> for uintmax_t; from Eitan Adler. 2013-11-20 17:19:14 +00:00
joerg eb3bd1d5f0 Spell NULL pointer as NULL. 2013-11-18 19:55:59 +00:00
sjg ca96724fac Don't SEGV when Hash_Table is uninitialized 2013-11-14 00:27:05 +00:00
sjg d959c16735 Don't SEGV when passed NULL for list. 2013-11-14 00:01:28 +00:00
pooka cbdf0ef490 Support disklabel partitions on all platforms.
also addresses buildrump.sh issue #41 (github)
2013-11-13 17:47:27 +00:00
pooka 8b205e8660 make -m available on all platforms 2013-11-13 16:43:38 +00:00
pettai 67f944d13d Add zfgrep that fell off from last update 2013-11-13 11:12:24 +00:00
pettai 54844dd551 Added zless(1) - comes in the lastest version of zmore(1) from OpenBSD
(OKed by tron@)
2013-11-12 21:58:37 +00:00
pooka b82822977b Handle static rump kernel base correctly. 2013-11-11 15:53:56 +00:00