Commit Graph

186131 Commits

Author SHA1 Message Date
uebayasi
bf65171399 Switch to new style only if is explicitly set. 2009-12-09 06:20:13 +00:00
uebayasi
311d76439d Don't put intermediate data. Prompted by mrg@. 2009-12-09 06:08:26 +00:00
christos
67de10fc57 Add netbsd32_oifreq and fix issue in copying the interface name. With this
patch OSIOC{G,S}IFFLAGS is supposed to work, but unfortunately getifaddrs
seems to be the next problem getting the 4.99.x i386 ifconfig working on an
amd64 current machine.
2009-12-09 04:50:47 +00:00
dyoung
802b1236af Remove superfluous cast of a pointer to void *.
Compare a pointer with NULL, not 0.

No functional change intended.
2009-12-09 00:45:25 +00:00
dyoung
a439206784 KNF. 2009-12-09 00:44:26 +00:00
haad
303ed12957 Add RUMP_SYS_OPEN define to replace open calls with their RUMP version. 2009-12-09 00:23:28 +00:00
haad
ff3b5e1b34 Add support for building libdevmapper against RUMP. 2009-12-09 00:17:23 +00:00
haad
40681c67fa Add support for building RUMP_ACTION libdevmapper which will build and link
libdevmapper with RUMP kernel and libdm(RUMP based device-mapper library).
This enables testing of dmsetup and libdevmapper with RUMP.
2009-12-09 00:15:51 +00:00
pooka
7f79b0fadd Get rid of useless stubs. 2009-12-09 00:11:21 +00:00
kardel
4d317f0eab note import of ntp 4.2.4p8 2009-12-08 21:54:22 +00:00
kardel
142d831562 Merge ntp 4.2.4p8 2009-12-08 21:52:05 +00:00
kardel
8d09e35dad Import ntp 4.2.4p8 2009-12-08 20:41:03 +00:00
jakllsch
a52500257f It's not an error for a Ethernet interface to have a link-layer address.
hi cube
2009-12-08 20:38:16 +00:00
tsutsui
5f1f616644 Remove unused M68K_SEG_SIZE macro. All sources use NBSEG directly.
XXX: It looks NBSEG definitions in <machine/param.h>
XXX: for all m68k port are incorrect, since 1997 or 2002.
2009-12-08 15:32:01 +00:00
uebayasi
75fe826dc9 CPPFLAGS.* is per *.c, not per ${PROG} or ${LIB}. 2009-12-08 15:20:20 +00:00
uebayasi
cf4c152485 When PROGS / LIBS are used, you can pass each PROG / LIB specific parameters
to ${LD} via:

	${LDADD.${PROG}}
	${LDFLAGS.${PROG}}
	${LDSTATIC.${PROG}}
	${LDADD.${LIB}}
	${LDFLAGS.${LIB}}

OTOH you can't pass parameters to ${CC}, because in suffix rules make(1) only
knows the name of ${.IMPSRC} and ${.TARGET}; it's users' responsivility to
define ${CC} parameters to all the sources of a given ${PROG} / ${LIB}.

Should address bin/42381.

(Bug in this commit log was pointed out by mrg@.)
2009-12-08 15:18:42 +00:00
wiz
3d8b25a8ff Fix problem of reporting wrong matches noted in PR 41945 by using a patch
provided by Robert Elz in that PR.
2009-12-08 13:49:08 +00:00
tsutsui
7a77e181aa Use PGSHIFT from <machine/param.h> for PAGE_SHIFT.
We can assume PGSHIFT is always constant on current
m68k pmap_motorola implementation.
Also fix some leftover HP300 comments on some ports.
2009-12-08 13:47:26 +00:00
wiz
9a261cfdbd was disappointed that someone wrote disappointed with one 'p', so I fixed it. 2009-12-08 10:13:39 +00:00
mbalmer
0a83daaf24 I was disappointed that someone wrote disappointed with two 's', so I fixed it. 2009-12-08 10:04:27 +00:00
skrll
83752b8340 Remove stray {
ETOOMANYTREES
2009-12-08 09:56:42 +00:00
mbalmer
74f49bc48d s/the the/the/ 2009-12-08 09:46:01 +00:00
mbalmer
559e4d0905 make sense, s/the the/with the/ 2009-12-08 09:45:15 +00:00
mbalmer
ea9e4b3733 Fix typographics errors. 2009-12-08 09:23:06 +00:00
stacktic
4d23b928bc Whitespace. 2009-12-08 08:18:24 +00:00
stacktic
f3098800b6 Fixed build without module bootstrap 2009-12-08 08:12:49 +00:00
skrll
04f5bdc2c5 io / mem space access fixes. Mostly from OpenBSD. 2009-12-08 07:32:45 +00:00
skrll
ba52bf79ae Simplify and improve dino_intr_map by checking for 0xff as error value.
Inspired by OpenBSD.
2009-12-08 06:56:54 +00:00
uebayasi
f5321e7bbf Put back the dependency of dump.c agaist misc.h. This is needed because
dump.c includes misc.h but misc.h is generated on-the-fly.

Note that dump.c is out of the makeerrnos.sh -> misc.[ch] generation rule
now.  This prevents ktruss from being unnecessarily rebuilt in rescue/.

Pointed out by enami@, thanks!
2009-12-08 02:56:37 +00:00
joerg
8c11e3845e Fix typo. From Brad Tilley. 2009-12-08 02:40:04 +00:00
dyoung
8f3647df11 Don't mention the activate interface, since config_activate() has been
gone for a while, now.
2009-12-07 23:50:39 +00:00
wiz
103bd24819 Bump date for new sysctl. 2009-12-07 23:48:01 +00:00
roy
c9c21f1ecc Test against SSIZE_MAX as pointed out by enami tsugutomo. 2009-12-07 21:31:43 +00:00
pooka
4d6a407bdd Process flush requests from the file server in a separate thread
context.  This fixes a long-standing but seldomly seen deadlock,
where the kernel was holding pages busy (due to e.g. readahead
request) while waiting for the server to respond, and the server
made a callback into the kernel asking to invalidate those pages.
... or, well, theoretically fixes, since I didn't have any reliable
way of repeating the deadlock and I think I saw it only twice.
2009-12-07 20:57:55 +00:00
nakayama
c2c5d365aa Print the warning message if extent_free fails. 2009-12-07 19:57:34 +00:00
dyoung
124a629265 Poison future uses of DVACT_ACTIVATE by deleting it. I deleted the last
"use" of DVACT_ACTIVATE in a driver, yesterday.
2009-12-07 19:45:13 +00:00
christos
8f7e9f408c PR/42243: Yasuoka Masahiko: Add support for "net.inet.icmp.bmcastecho" support.
Print the current status.
2009-12-07 18:48:45 +00:00
christos
adf7e47145 PR/42243: Yasuoka Masahiko: Add "net.inet.icmp.bmcastecho" sysctl support,
to disable icmp replies to the broadcast address.
2009-12-07 18:47:24 +00:00
dyoung
04489f616a Initialize/compare pointers with NULL instead of 0. 2009-12-07 18:38:55 +00:00
pooka
32a3b13698 add comment 2009-12-07 17:38:16 +00:00
agc
5674064867 Add a prototype for netpgp_match_list_keys() 2009-12-07 16:56:03 +00:00
martin
071ab236f8 size_t %z police 2009-12-07 16:55:37 +00:00
uebayasi
58b17edd41 Define dependencies of arith.[ch] on arith.y. 2009-12-07 16:22:41 +00:00
agc
93d262f9d5 + The internal variable "sshetcdir" has been renamed to "sshkeydir"
+ Take advantage of the new regular expression searching methods
2009-12-07 16:18:44 +00:00
agc
99e2a61b78 The internal variable "sshetcdir" has been renamed to "sshkeydir" 2009-12-07 16:17:57 +00:00
agc
183e04eb84 + When using ssh keys, use the first key as the default userid, unless
specified.

+ The internal variable "sshetcdir" has been renamed to "sshkeydir"

+ When matching the text fields in the username, use an ICASE, NOSUB, EXTENDED
regular expression. This allows more advanced ways of searching, such as:

% netpgpkeys --list-keys '\.de\>'

to find all the keys in the default keyring which have an email address
in Germany. This is actually surprisingly useful.
2009-12-07 16:17:17 +00:00
pooka
0ff1ef75c2 Need to send protocol layer response instead of transport layer
return value.  While there, just collapse all non-supported types
into one entry.
2009-12-07 15:51:52 +00:00
tsutsui
127e92aba6 Remove "#if defined(amiga) || defined(atari)" for PG_SHIFT.
Use PGSHIFT from <machine/param.h> instead.
2009-12-07 14:23:45 +00:00
pooka
20f444ae36 Mark putter as MODULE_CLASS_DRIVER to make it autoloadable. This
fixes autoloading of puffs upon mount.
2009-12-07 13:41:44 +00:00
nakayama
7ef930a8ee - fix corner case bugs around the segment offsets.
- make sure that on error condition we return "no valid mappings".
2009-12-07 11:28:37 +00:00