ad
5d2a6ba964
Add -x: summarize events, and do not report on lock types.
2009-03-21 13:02:19 +00:00
mike
c7f073e0ff
Fix check for duplicate gid when '-g =uid' is specified to usermod.
...
Closes PR bin/40391
2009-03-20 02:53:47 +00:00
pooka
61260da885
In case the portal provider fails, do not try to pass an
...
uninitialized fd value. Also, propagate errno to the caller.
2009-03-18 09:10:16 +00:00
mike
0779b10efc
Do not allow duplicate group id in groupmod unless -o is specified.
...
Closes PR bin/40393
2009-03-18 04:59:45 +00:00
tsutsui
38357705f9
Increase size of buffer for humanize_number(3) to print cache sizes
...
so that it can return 128KB, 256KB and 512KB properly instead of
truncated 0MB or rounded 1MB.
Problem reported by nisimura@ on port-amd64 and port-i386.
2009-03-16 12:25:40 +00:00
wiz
2f43aa5f3a
Fix Xref, prepare for HTML output.
2009-03-15 21:43:28 +00:00
joerg
7ec31b06bd
Fix markup, making it symmetrical between filter6_values and
...
filter_values.
2009-03-15 12:30:09 +00:00
joerg
70f96e3d54
Fix markup.
2009-03-15 10:09:29 +00:00
joerg
6c62880d49
Remove .Pp as it breaks visible context.
2009-03-15 10:04:27 +00:00
yamt
538489ba39
print some SVM info if available.
2009-03-12 09:10:15 +00:00
martin
7d53797861
Switch the default value (if no options DDB_ONPANIC is defined) for
...
ddb.onpanic to 1, change it back to 0 in sysctl.conf and make sure
postinstall installs this setting.
This avoids us trying to dump while booting from install CD, but keeps
the default the same once we are far enough through /etc/rc.d. Failing
earlier is unlikely to be recovered by an automatic reboot.
OK: core.
2009-03-11 23:22:57 +00:00
joerg
4945fc29a8
Simplify markup by not using .Xo/.Xc.
2009-03-11 18:52:54 +00:00
joerg
d6f49c1ea9
Improve and fix markup.
2009-03-11 18:47:52 +00:00
joerg
9ae0c77a07
Don't use .Xo/.Xc to avoid ancient macro argument limit.
...
Replace .Sm off / .Sm on with .Ns.
2009-03-11 18:23:38 +00:00
joerg
284c3410b6
Don't use .Xo/.Xc. Replace use of .Sm off / .Sm on with .Ns.
2009-03-11 18:10:05 +00:00
joerg
e4e7c43459
Don't workaround ancient macro argument limit with .Xo/.Xc.
2009-03-11 18:02:00 +00:00
dyoung
8bd55ddc61
Delete misplaced period and line ending.
2009-03-11 17:54:03 +00:00
christos
7022cb2a8d
bin/40994: Michael van Elst: usermod -l change password so user is unable to
...
login. User getpwnam_r to avoid trashing result of previous call to getpwnam().
2009-03-11 14:18:03 +00:00
joerg
0bdacf5008
Fix markup
2009-03-11 14:00:29 +00:00
joerg
afe5a26320
Fix preamble
2009-03-11 13:59:33 +00:00
mrg
01a13dba2c
convert getfiles() to use KERN_FILE2 sysctl.
...
now it can survive "struct file" changing, as is upcoming.
2009-03-11 06:00:11 +00:00
plunky
7a71a8c7db
use the generic SIOCALIFADDR to add an active link layer address
...
instead of the (soon to be) deprecated SIOCSIFPHYADDR
2009-03-10 22:12:17 +00:00
joerg
c33b9a443e
Remove redundant .Xo / .Xc scope.
2009-03-10 13:34:45 +00:00
jakllsch
46fa0abcaf
sizeof(time_t) is no longer the same as the sizeof(uint32_t)
...
that RFC 868 specifies.
no functional change intended.
2009-03-10 00:26:20 +00:00
joerg
997634fe14
Fix preamble to match order set out by mdoc(7). Discussed with wiz.
2009-03-09 19:24:26 +00:00
ad
69f9e17075
Don't bother with file_t::f_iflags any more, as it's not used.
...
Noted by mrg@.
2009-03-08 12:52:08 +00:00
ad
101a9782a2
Add crash(8), a utility to diagnose kernel crashes. This is basically
...
ddb running on crash dumps, but with two notable changes:
- Breakpoints, watches, etc are obviously never going to work so they
are not handled.
- You can pipe output to the shell, e.g. ps | grep foo
Items remaining to be done:
- Port it to architectures other than i386. This isn't difficult, just
a case of making db_disasm.c/db_trace.c or their equivalent compile
and work.
- Make more of the "show" commands work, e.g "show uvmexp".
2009-03-07 22:08:07 +00:00
apb
09ba0a6ca8
Replace local swap16, swap32, and swap64 inline functions with the
...
NetBSD conventional bswap16, bswap32, and bswap64 functions or macros.
In a non-tools build, include <sys/types.h> and <machine/bswap.h> to
get definitions of these functions. In a tools build, rely on the
functions or macros being provided by nbtool_config.h, but don't incluce
<machine/bswap.h> (which might not exist in a cross build).
This should address a problem building on OpenBSD, which has swap16,
swap32, and swap64 macros that conflicted with the local definitions.
The problem was reported by Alexander Bluhm, but this patch is quite
different from the one he suggested.
2009-03-06 19:05:11 +00:00
christos
41802a0069
fix horrible memory trashing.
2009-03-04 18:22:14 +00:00
nonaka
674f8b31d6
do WSMOUSEIO_SETVERSION when WSMOUSEIO_SETVERSION is defined.
2009-03-03 18:43:15 +00:00
apb
c163e7100a
As long as we don't yet have a working TOOL_GREP,
...
fgrep is more portable than grep -F.
2009-02-26 10:32:43 +00:00
apb
b56c1a749f
In file_exists_exact(), fix an incorrect test of "1" instead of "$1",
...
and improve the comment explaining what this function does.
2009-02-26 08:25:50 +00:00
apb
6eefb4e5ea
"grep -q" is not portable; use "grep >/dev/null" instead. Also add a
...
comment saying that postinstal is invoked during a cross build.
2009-02-26 08:05:09 +00:00
wiz
2dba01f8d6
Make "sftp" a link.
2009-02-26 07:14:36 +00:00
sketch
bb0a3b607e
Use awk and grep host tools where required. 'build.sh release' now works
...
on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).
2009-02-25 20:38:30 +00:00
pooka
928c35bfce
add caveat about info displayed by df(1)
2009-02-25 18:05:32 +00:00
dyoung
ac7c88b5d2
Look for MAKEDEV.local in both ${SRC_DIR}/dev/ and ${SRC_DIR}/etc/,
...
so that 'postinstall check makedev' works whether the sources told
by the -s argument are a NetBSD source tree, etc.tgz, or a DESTDIR.
2009-02-25 01:11:50 +00:00
sketch
7ce9d1c8ea
Make 'build.sh tools' work with the Sun Studio compiler, although bugs in
...
some of the generated tools still prevent building a full release using them.
2009-02-24 22:25:24 +00:00
pooka
72d8b8b617
Support statvfs@openssh.com extension where available. Makes df(1)
...
return something other than just 0.
caveat: statvfs is done for the mountpoint path, so might not give
the truth about a directory inside the mountpoint.
2009-02-23 18:43:46 +00:00
yamt
9287e91c00
do_makedev: look at a correct directory for MAKEDEV.local
2009-02-22 15:27:44 +00:00
ad
33774d3216
Report LB_MISC events, for one-off instrumentation.
2009-02-22 15:08:58 +00:00
christos
b86f9ffb61
CID 4393: plug memory leak.
2009-02-18 20:06:27 +00:00
is
11927f0b16
synchronize error flags with own comment and with traceroute, as discussed
...
on tech-net.
2009-02-16 20:36:11 +00:00
reinoud
9277c1a831
Remove idd `tag' left over from importing this file into NetBSD.
...
Thanks Soren :)
2009-02-16 06:46:54 +00:00
pooka
501138e80e
regen: putter in synopsis and note about experimental status
2009-02-15 18:01:26 +00:00
pooka
0838b02036
* include "pseudo-device putter" in synopsis as requested by hubertf
...
* note that rump p2k utilities are currently experimental (noted
already on the rump manpages, but better note it here also)
2009-02-15 18:00:16 +00:00
wiz
845915475d
New sentence, new line. Bump date for previous.
2009-02-15 00:01:19 +00:00
ahoka
4f97e87b0c
Add support for showing temperatures in Kelvin.
2009-02-14 16:08:22 +00:00
abs
515e52158b
Convert more MACHINE tests to MACHINE_ARCH
2009-02-14 13:50:50 +00:00
uebayasi
a6f7a3d986
Disable debug.
2009-02-13 16:16:26 +00:00