Commit Graph

7882 Commits

Author SHA1 Message Date
yamt
6c6dad782f matches_spec: fix a bug so that "+host111,host1" actually matches to host1.
add a simple sanity check.
2006-10-21 09:42:26 +00:00
reinoud
0ce809091d Replace the LIST structure mp->mnt_vnodelist to a TAILQ structure since all
vnodes were synced and processed backwards. This meant that the last
accessed node was processed first and the earlierst last.

An extra benefit is the removal of the ugly hack from the Berkly days on
LFS.

In the proces, i've also replaced the various variations hand written loops
by the TAILQ_FOREACH() macro's.
2006-10-20 18:58:12 +00:00
christos
eed7e5b25b c99 initializer 2006-10-16 03:39:42 +00:00
christos
a3522b311f c99 initializers 2006-10-16 00:11:57 +00:00
christos
9c32e391e9 strlcpy off by one errors (from gdamore) 2006-10-15 01:10:00 +00:00
christos
4ce31f7c8c PR/34818: rad at twig dot com: Recognize solaris door files. 2006-10-14 21:14:02 +00:00
wiz
c7e99862ec "Millisecond" doesn't have a hyphen. New sentence, new line. PostScript
output improvements. Bump date for previous.
2006-10-14 07:39:40 +00:00
wiz
ea31caa73b Remove trailing whitespace. 2006-10-13 21:07:34 +00:00
wiz
b7a8d82a23 Sort options in usage. 2006-10-13 20:43:31 +00:00
wiz
1bce9c8b5d Remove empty line. 2006-10-13 20:35:38 +00:00
peter
dd191f37f3 Merge the peter-altq branch.
(sync with KAME & add support for using ALTQ with pf(4)).
2006-10-12 19:59:07 +00:00
dbj
d0c4ff452b implement -x by pruning fsnodes tree before building filesystem rather
than by skipping nodes while building filesystem
2006-10-10 01:55:45 +00:00
dbj
0e392af953 add implementation of free_fsnodes() which unlinks a node
from the hierarchy and frees it and any of its children
use it to free memory before a normal exit, which helps diagnostics
2006-10-10 01:46:49 +00:00
dbj
2d7375cec3 free specfile structure once it has been applied 2006-10-10 01:41:14 +00:00
dbj
1ca1523d99 use new implementation of link_check which i
implemented for du.c revision 1.25 :

Use open address hashtable with multiplicative double hash probing
and exponential hashtable growth for tracking previously seen inodes.
This replaces the O(n^2) behavior of linkchk() with an implementation
that should be O(n*logn)
2006-10-10 01:39:10 +00:00
dbj
daab9400b9 use strtoll instead of strsuftoll to parse -d so it can be specified
in hex with a 0x prefix
2006-10-10 01:32:42 +00:00
wiz
7927d9d5f0 Fix a typo. 2006-10-09 21:36:18 +00:00
elad
4967fa3f06 PR/20875: Robert Elz: Incorrect facts in rtsol(8) man page
Patch applied, thanks! (yes, I've read the audit-trail. This is correct.)
2006-10-08 19:36:05 +00:00
martin
a073765d4a Apply patch from Peter Bex to fix PR bin/31922. 2006-10-08 18:09:47 +00:00
apb
eaa27e0a0c Make this compile again. Reported by Steven Bellovin. 2006-10-08 18:00:30 +00:00
peter
e263dfd62f WFORMAT is no more... 2006-10-08 17:52:28 +00:00
riz
6833444ffd Note which interface caused a resolv.conf to be created. From
Robert Elz in PR#21109, tested by Rivo Nurges.
2006-10-08 17:09:32 +00:00
apb
4db4ce3a05 Document the -network=netname/prefixlength syntax. Requested in
PR 26891 by Arto Selonen.

Also some mdoc improvements.
2006-10-08 16:35:19 +00:00
dbj
e10e76d4c6 make -t cd9660 obey -x option similarly to ffs 2006-10-08 16:25:18 +00:00
elad
0bc9c7b601 PR/10429: Takahiro Kambe: bad144(8) dosen't show disk device.
Patch adapted to -current, thanks!
2006-10-08 14:52:14 +00:00
elad
1232ea27c4 PR/18906: roskens at elfin dot net: misc. select() to poll() updates.
Adapted to -current by myself, thanks for the patch!
2006-10-07 17:27:57 +00:00
elad
a754c75075 PR/31956: Andrew Daugherity: Makefile.yp: shadow.byname map should respect
MINUID

Patch applied and verified by francisg@#NetBSD-code, thanks!
2006-10-07 16:54:38 +00:00
rpaulo
e3c4f7c039 PR 34692: wpa_supplicant script.
By Jukka Salmi.
2006-10-07 16:50:34 +00:00
elad
d71fc8765e PR/28786: Jukka Salmi: mtree bug (in verify.c)
Apply patch from Peter Bex, thanks!
2006-10-07 15:35:51 +00:00
elad
e35f123530 PR/19069: Jun-ichiro itojun Hagino: traceroute(8) and traceroute6(8) can
send packet to udp port 0, which is illegal
2006-10-07 10:23:33 +00:00
elad
5e188d0b70 PR/30351: Hubert Feyrer: useradd(8) doesn't allow setting permissions of
new home [patch]

Adapted to current code and some nits from myself. Thanks for the patch!
2006-10-07 09:20:07 +00:00
elad
13ad340578 PR/23774: Jorge Acereda: wiconfig exits on non-critical errors
Patch (with some style nits) applied, thanks!
2006-10-07 00:47:18 +00:00
tron
886853e55b Ensure alignment of the structure used for RPC requests. This stop
"ypbind" from segfaulting under NetBSD-sparc64 when "ypwhich" is
used to display the current NIS server.
2006-10-05 09:18:11 +00:00
wiz
de593fa02d New sentence, new line. 2006-10-03 02:08:16 +00:00
wiz
96227bfb22 Bump date for previous. 2006-10-03 02:04:42 +00:00
wiz
caf900a58e Sync usage with man page (correct program name, sort options). 2006-10-03 02:03:33 +00:00
wiz
c0cd11cf40 Some minor fixes. 2006-10-03 02:02:02 +00:00
elad
c443814068 Fix misleading error message (from PR/32519). 2006-10-01 19:43:15 +00:00
hubertf
fe81bd2f72 Add "list -n" to print ID and class numerical, instead of resolving to strings:
miyu% pcictl /dev/pci1 list
	001:00:0: ATI Technologies Rage Fury MAXX AGP 4x (TMDS) (VGA display)
	miyu% pcictl /dev/pci1 list -n
	001:00:0: 0x50461002 (0x3000000)

OK'd by thorpej@
2006-10-01 00:13:27 +00:00
pavel
338033d1c7 revert change of default shell, reguested by agc@. 2006-09-30 11:47:00 +00:00
pavel
4d8dbf3bf0 Change the default shell to /bin/ksh, which is our best interactive
shell at the moment. Proposed on tech-userlevel and approved by hubertf@.
2006-09-30 10:50:32 +00:00
pavel
3b850c18c8 in userinfo, initialize buf (the buffer which will hold group names)
to be a null-terminated string. Otherwise, if the user is not a member
of any secondary groups, buf is completely uninitialized and userinfo
adds garbage to the list of groups printed.
2006-09-30 10:44:55 +00:00
macallan
e4bbe76d49 fix typo 2006-09-29 20:12:01 +00:00
plunky
a9ed4719e4 Fix it so that PINs are single use only.
This is important when you generate a random PIN and can't remember it.
2006-09-29 20:06:11 +00:00
macallan
8c774caf8c Add gimpy's OF device tree dumping tool.
Tested on macppc and sparc64
2006-09-29 19:03:11 +00:00
plunky
ebb327f7cd back off previous changes since the 'memory leak' fix - we dont need any of
that, just use the _nocopy version of the function.
2006-09-29 18:48:17 +00:00
christos
e02941da8f Coverity CID 2714: Fix reversed test (from Arnaud Lacombe) 2006-09-29 18:40:57 +00:00
manu
3c09e24ba2 Add the dependendy on libutil 2006-09-29 05:06:34 +00:00
he
06658349aa Back out previous, <stdlib.h> was the right include. 2006-09-28 09:13:56 +00:00
he
e189b3cc42 Now that we use free(), we also need <malloc.h>. 2006-09-28 09:11:04 +00:00