Commit Graph

162867 Commits

Author SHA1 Message Date
dyoung
d072fd0fb9 Replace rote sockaddr_in6 initializations (memset(), set sa6_family,
sa6_len, and sa6_add) with sockaddr_in6_init() calls.

De-__P().  Constify.  KNF.  Shorten a staircase.  Change bcmp() to
memcmp().

Extract subroutine in6_setzoneid() from in6_setscope(), for re-use
soon.
2007-10-24 06:37:20 +00:00
joerg
05911100fa cpufunc.S depends on assym.h. 2007-10-24 06:26:56 +00:00
joerg
25f1319b9a Before faking up a state table, make sure that neither frequency nor
voltage difference is 0. This avoids a divide by zero.
2007-10-24 06:21:32 +00:00
xtraeme
03ececeaba Use a flag for see_flags to know when the sensor has been refreshed
rather than using a boolean. Suggested by rmind.
2007-10-23 21:36:03 +00:00
dyoung
28f88dda1b Borrow a clue from the vmlocking branch, and consolidate all of
the vput(9)ing in tmpfs_rmdir() in one place.  No functional change
intended.
2007-10-23 19:49:01 +00:00
dyoung
b0281cfdf3 Fix typo: I'm pretty sure that in tmpfs_done(), both of the malloc(9)
types are supposed to be detached, not attached.
2007-10-23 19:45:29 +00:00
dyoung
f6f0161f95 Put _tmpfs_ in the name of the pools instead of _pool_. Obviously
they're pools; it's not so obvious that they come from tmpfs. :-)
2007-10-23 19:43:54 +00:00
ad
2d1592ce20 Clear VV_LOCKSWORK from the correct field. 2007-10-23 19:40:53 +00:00
pooka
17cfaf2828 The kernel (genfs, uvm) can't deal with strategy returning an error
when vclean()ing.  Pending an adventure to the genfs/vm labyrinth
to fix this properly, compensate here by not allowing unstrategic
(no pun) return values.  They are always due to the userspace server
crashing anyway, so it's no big deal if we lie about the final
resting place of the pages.
2007-10-23 18:27:10 +00:00
pooka
e955e253d7 revert 1.77, MULTITHREADED_REFUSE has problems 2007-10-23 17:19:19 +00:00
pooka
85f641f339 Don't take a reference to the vfsops structure in mount_domount().
It is now taken when the vfs structure is received instead of having
to randomly add references in random places.  Fixes at least vfs
lkm unload.
2007-10-23 16:16:26 +00:00
tnozaki
561e0bd51b remove invalid range check. 2007-10-23 15:28:25 +00:00
pooka
ea84bd1c76 vfs_getopsbyname("ngs") -> vfs_getopsbyname("nfs"). 'nuff said 2007-10-23 15:21:31 +00:00
christos
d727506fb5 From Anon Ymous:
- Introduce date_to_tm() and hl_date_to_tm() to parse the date and
  headline date a bit more efficiently.
- If 'tm_isdst' is determined, let strftime(3) handle the '%Z' and
  '%z' formats.  Otherwise, output "-0000" and "???", respectively, to
  help preserve with alignment; strftime(3) will output an empty
  string in these case.
- Change fail() to use the '-d' flag (which sets the 'debug' variable)
  rather than the "debug" _environment_ variable.  This is more
  consistent with other warnings.
- Don't use gcc C extensions, e.g., "case LOW ... HIGH:".
- Define is_WSP() in def.h to be an inline function that for checks
  whitespace (WSP = ' ' or '\t'), as defined in RFC 2822.  Use it
  consistently in place of isblank().
- For consistency, rename skip_blank() to skip_WSP().
- Add inline skip_space() to complement skip_blank() (now skip_WSP).
- Check all ctype(3) calls for argument range issues.
- Whitespace and comment cleanup/changes.
2007-10-23 14:58:43 +00:00
yamt
1b559b4c2c proc0_init: change lwp0's priority from PRIBIO to PUSER so that
init and its children has a user priority.  uvm_scheduler adjusts
its own priority later.
2007-10-23 14:15:48 +00:00
martin
4c5676b9c4 Translate oldsendmail message. 2007-10-23 13:26:09 +00:00
yamt
1ea0b1c177 vmem_rehash_all: remove no longer unnecessary splvm/splx pairs. 2007-10-23 11:29:06 +00:00
macallan
f09600843e fix bus_spacification fallout
from KIYOHARA Takashi
2007-10-22 19:29:13 +00:00
sjg
401ecd47f5 Allow .PATH<suffix> to be used for .include "". 2007-10-22 15:36:13 +00:00
joerg
2f9fa522b8 Also convert detach function. 2007-10-22 15:31:46 +00:00
joerg
2136a42b1e Convert to device_t/softc split and aprint usage. 2007-10-22 15:28:48 +00:00
pooka
1d8cbeebb1 Note that CIRCLEQ_LOOP first appeared in NetBSD 4.0. 2007-10-22 15:01:18 +00:00
manu
95269f5829 Regen 2007-10-22 15:01:16 +00:00
manu
818aeac0ff Add support for Marvell 88CO55. Newer iMacs come with that chip. 2007-10-22 14:59:37 +00:00
joerg
dcf90eeb82 Correctly initialise sc_insert_ch and switch to
callout_setfunc/callout_schedule.
2007-10-22 14:03:51 +00:00
wiz
f480a18fd3 postfix-2.4.6 out. 2007-10-22 11:26:55 +00:00
nisimura
26c6496de9 regen 2007-10-22 10:35:15 +00:00
nisimura
2f67a49066 PCI ID 10b5.9030 and 10b5.5201 are for PLX I/O accelerator product
model 9030 and 9050/9052.  They work a functional bridge to host
any kind of I/O devices.  The exact product type can be identified
via VPD (vital product ID) PCI configuration registers if they are
programmed by the particular PLX I/O accelerator applications.
Otherwise, it's not possible to distinguish which kind of function
is implemented inside.
2007-10-22 10:33:03 +00:00
nisimura
2839aa3fd4 dismiss GENERIC.X2 kernel to build as the conf file has gone. 2007-10-22 06:46:14 +00:00
simonb
e19457f411 Add a reference to RFC 2783. Requested by joerg@ 2007-10-22 05:35:37 +00:00
simonb
0057724763 Adjust the comment about "10 msec" to say that the time period is 1/HZ.
Requested by joerg@
2007-10-22 05:26:42 +00:00
simonb
46de085339 Revert the CSE parts of the previous change. "run" is calculated with
a different value for "pageind" each time through the loop, so we can't
precalculate it.

Fixes awk core dump issues on powerpc 405.
2007-10-22 04:16:48 +00:00
martin
18a5eb2b2a Remove an unused .globl declaration 2007-10-22 01:43:39 +00:00
martin
bb436049fc Pacify some gcc uninitialized warnings at -O3 2007-10-22 00:36:28 +00:00
martin
7f15a337b2 Fix vm.bufmem* sysctl nodes for 64bit archs by making them uint64_t,
as discussed on tech-kern. No requests for binary compat - so don't
bother to version them.
2007-10-21 23:27:16 +00:00
degroote
868baf8f75 Translate in french the new oldsendmail message 2007-10-21 21:20:16 +00:00
adrianp
c9951c135d Fix for CVE-2007-4995 from OpenSSL CVS 2007-10-21 20:34:14 +00:00
pavel
7af5b3f24d When upgrading, check (using postinstall) if /etc/mailer.conf selects the
old, now removed sendmail. If yes, display a warning menu that offers to
replace it by a current version that selects postfix.

Thank much to Martin Husemann for extensive testing and suggestions.

XXX translations need updating.
2007-10-21 20:21:01 +00:00
pooka
0fbd24007f * release pathname buffer in link
* some variable massage
2007-10-21 19:43:52 +00:00
pooka
afe4c2ed02 Use puffs_cc_schedule() (which is an exported interface) instead of
plugging directly to puffs_goto().
2007-10-21 19:27:12 +00:00
pooka
753b7cae6e Add puffs_cc_schedule() which marks a pcc runnable and will pass
execution to it when in the main loop the next time.
2007-10-21 19:25:58 +00:00
degroote
0e9691e3e3 Fix a number of driver which doesn't check wep flag in *_tx_mgt.
It is incorrect because we need to encrypt some management frame in case of
shared authentification.
2007-10-21 17:03:37 +00:00
degroote
a409673bc7 802.11 header may have different sizes. Deals correctly with this. 2007-10-21 16:47:27 +00:00
pooka
c683f6f6b5 Get rid of MULTITHREADED_REFUSE for context queries. We can simply
use the pthread codepaths always.
2007-10-21 16:46:52 +00:00
wiz
07d197d99e openssl-0.9.8g is out. 2007-10-21 16:41:12 +00:00
he
71a133879f To work around lint problems, add a LINTED comment on pooka's request. 2007-10-21 16:29:40 +00:00
he
028d83d78b Move declaration of kd_later() up before the first use. 2007-10-21 16:18:33 +00:00
simonb
e7d1e5e9ea Adjust a comment. In NetBSD the time-related kernel function prototypes
are in <sys/timevar.h>, not <sys/time.h> like they are in FreeBSD.
2007-10-21 14:55:09 +00:00
pooka
a3e1355fe5 Use new puffs features to provide correct caller info instead of
sometimes returning stale data.
2007-10-21 14:36:35 +00:00
pooka
be98071c8c Always provide caller information from the kernel based on curlwp.
(but don't deprecate the old puffs_cid interface just yet)
2007-10-21 14:28:05 +00:00