208025 Commits

Author SHA1 Message Date
dholland
e15d192c7f Bump minor version of libquota.so. 2012-01-09 15:24:37 +00:00
dholland
bb96a16625 Add stub entry points of the entire new quota interface. These fail or
do nothing for the time being; however, putting them all in up front
avoids the need to do multiple bumps of the libquota.so version.
2012-01-09 15:22:38 +00:00
dholland
0d7dfe62fa Add <quota.h> with the new libquota API.
This is the user/application API and does not include the kernel
interface. Definitions shared with the kernel are found in
<sys/quota.h>.

Since I've been working on a local branch I have taken the liberty of
moving the latest-so-far version of <quota.h> to the front of the
patch queue. This loses (a small amount of) history but has the
advantage of avoiding unnecessary version bumps of libquota.so.
2012-01-09 15:19:44 +00:00
drochner
d107562abc Make FAST_IPSEC the default IPSEC implementation which is built
into the kernel if the "IPSEC" kernel option is given.
The old implementation is still available as KAME_IPSEC.
Do some minimal manpage adjustment -- kame_ipsec(4) is a copy
of the old ipsec(4) and the latter is now a copy of fast_ipsec(4).
2012-01-09 15:16:30 +00:00
martin
0474452cbc Avoid a warning in kernels w/o LCD support 2012-01-09 15:15:40 +00:00
reinoud
c31558fc48 As ppn is a uintptr_t, it can never be negative so the check is invalid. 2012-01-09 14:58:15 +00:00
reinoud
453f61bbf1 sizeof_t is allways >=0 and the check for >=0 thus allways is true and amd64
complains about this. This might explain the odd write errors that could
sometimes be reported. Those are/were probably a side effect of this.
2012-01-09 14:56:35 +00:00
liamjfoy
24612de5fe check against NULL 2012-01-09 14:31:21 +00:00
phx
62c0bf5b60 Changed description for sandpoint to reflect the focus on consumer NAS. 2012-01-09 13:51:54 +00:00
cherry
92e3d6b9c9 Remove redundant use of curcpu(). 2012-01-09 13:35:42 +00:00
cherry
c6e7b43873 Remove obsolete comment. 2012-01-09 13:33:38 +00:00
cherry
66e35f7978 Make cross-cpu pte access MP safe.
XXX: review cases of use of pmap_set_pte() vs direct use of xpq_queue_pte_update()
2012-01-09 13:04:13 +00:00
cherry
0e1fd236aa Harden cross-cpu L3 sync - avoid optimisations that may race.
Update ci->ci_kpm_pdir from user pmap, not global pmap_kernel() entry which may get clobbered by other CPUs.
XXX: Look into why we use pmap_kernel() userspace entries at all.
2012-01-09 12:58:49 +00:00
sborrill
513c5af341 Add /sbin/dkctl. This allows you to drop to a command prompt and enable
writecaches before installing, if necessary.
2012-01-09 11:52:43 +00:00
skrll
ccf87b9e24 Error if the root partition exceeds the PDC 2GB limit. The check now
catches invalid "existing" partitions. PR/45742

Thanks to martin for the German translation. The others are all my fault.

Thanks to mrg for comments
2012-01-09 11:51:41 +00:00
skrll
008d551992 Make it an error for the partition to exceed the PDC limit.
Inspired by PR/45742
2012-01-09 11:44:53 +00:00
martin
853c5aadac When aggregate-allocating an index structure make sure to provide at least
natural alignement for pointers.
This makes firefox 3.6 work again on sparc64.
2012-01-09 11:20:20 +00:00
jmcneill
e4d4169543 make sure kernel lock is held when calling into usb stack 2012-01-09 10:57:34 +00:00
kiyohara
0624d9b350 Move spl from ppc4xx_tlb_enter() to pmap_enter(). Don't call splx() on
I/DTLBMISS.
2012-01-09 06:49:25 +00:00
kiyohara
82862d915a Reenable interrupt before was call pic_do_pending_int() by splx(), or KASSERT(). 2012-01-09 06:25:55 +00:00
cherry
36295c300b While freeing ptps, remove stale L3 frame entries on all CPUS the pmap is loaded on, not just the current one. 2012-01-09 04:55:35 +00:00
cherry
d515295709 revert previous commit. DIAGNOSTIC should only do strict checks, not muffle current ones 2012-01-09 04:39:14 +00:00
riz
9dc21a478b Copy resolv.conf into target even if it was created by DHCP, since in
that case, it will be replaced on next boot anyway.
2012-01-09 02:52:50 +00:00
riz
a457d440cf Use the "doingwhat" message for the multiple disks case, not just the
single-disk case.

XXX Native speakers of .fr, .es, .de, and .pl please make sure the
replacement makes sense.  Thanks!
2012-01-09 01:51:47 +00:00
rmind
ee48c623f2 npfctl_ncgen_putptr: use correct format for size_t. 2012-01-09 01:47:09 +00:00
jakllsch
abc09c9d3d Instead of assume that 'features' is 0 in wdccommandext(),
pass it as an argument, as is done for wdccommand().
2012-01-09 01:01:48 +00:00
christos
058e423965 update. 2012-01-08 22:14:55 +00:00
rmind
d3c56566f0 Full rewrite of npfctl(8) parser and rework of n-code generation part.
Fixes most of the known bugs and issues with the utility.  Note: rule
procedures are not yet (as we want to make them fully modular).

Huge thanks to Martin Husemann who wrote the parser and Christos Zoulas
who wrote intermediate structures and helped to complete the work.
2012-01-08 21:34:21 +00:00
riz
1bfc197123 Add defs.h to DPSRCS. 2012-01-08 21:20:40 +00:00
agc
44733b269e enable nullfs in usermode configs 2012-01-08 19:23:37 +00:00
dholland
8879f685e9 grumble. 2012-01-08 18:17:41 +00:00
dholland
158b740733 Oops, I forgot to actually implement the checksumming code for the new
savefile format, so any savefiles generated yesterday can be tampered
with. Oh well. While here, tidy up the crc code.
2012-01-08 18:16:00 +00:00
jmcneill
cdbdbc76a5 define __HAVE_OLD_DISKLABEL on i386 2012-01-08 18:06:00 +00:00
jmcneill
4623508cab regen 2012-01-08 18:05:43 +00:00
jmcneill
9e1caf3a2d disklabel.h: handle __HAVE_OLD_DISKLABEL. while here, I noticed someone changed param.h without updating genheaders.h, so catch up. 2012-01-08 18:05:02 +00:00
phx
f66849eb53 Set the extclk for NH230 to 33000000Hz.
Prepare a synosetup() function which should set a different extclk for
the 400MHz models, as soon as we find a method to check for them.
2012-01-08 14:53:54 +00:00
tron
f834547595 Revert last change. The extra while loop intruced by the macro changes
causes an end-less loop in ci(1) which uses "break" inside one of the
macros.

"/etc/security" will now no longer fill up "/" (or "/var" depending on
file-system layout).
2012-01-08 13:57:31 +00:00
dholland
eb3306a822 Sentences should verbs. From Snader_LB 2012-01-08 04:01:12 +00:00
christos
ecad436e9c work for both X11R6 and X11R7 2012-01-08 02:32:00 +00:00
christos
56ed22796c this is only valid for X11R6; we never had a.out X11R7 2012-01-08 02:24:32 +00:00
dholland
baa108c64c Note adventure(6)'s new save format and (the important bit) recommend
loading and re-saving any extant save files.
2012-01-07 22:31:07 +00:00
dholland
c99eaa0a43 Redo save file handling. The old save files were unportable, had no
magic number or versioning, relied on random(3) never changing to a
different implementation, and were also saving pointers to disk and
reading them back again. It *looks* as if the pointers thus loaded
were reset before being used, but it's not particularly clear as the
main loop of this thing is goto-based FORTRAN translated lightly to C.
I've changed the logic to null these pointers instead of saving and
loading them, and things seem to still work.

The new save files have a header, support versioning, write only sized
types in network byte order, and for the toy encryption to discourage
cheating do something self-contained instead of using random(3) as a
stream cipher.

Because between the original import from 4.4 until earlier today
trying to save would result in SIGSEGV on most platforms, it's
unlikely anyone has a save file, but just in case (since the pointer
issue appears to be nonlethal) I've kept compat code for old save
files.
2012-01-07 22:23:16 +00:00
phx
7f7d4934d7 Configure pcf8563rtc for nhnas models. 2012-01-07 21:03:05 +00:00
phx
3828823874 Add direct config support. 2012-01-07 21:02:15 +00:00
phx
57fa1ff5e0 Disable flash device unless nor(4) is not finished.
Add pcf8563rtc(4) for NH230/231.
2012-01-07 20:51:23 +00:00
reinoud
92531faa53 Move target/${USERMODE_CPU} to target/${MACHINE_CPU} to more clearly
distinguish between CPU specific ones and machine specific ones.
2012-01-07 20:44:41 +00:00
christos
7c206e7387 make standalone 2012-01-07 20:20:22 +00:00
christos
ba21b5b920 u_intN -> uintN
make standalone
2012-01-07 20:20:12 +00:00
reinoud
ec74fc0746 Remove unused thunk_sdl.c file 2012-01-07 20:12:07 +00:00
reinoud
a1d9faf5ca Add AMD64 target for NetBSD/usermode next to i386 and reorganize source tree
to have port specific stuff in arch/usermode/target/<port>/
2012-01-07 20:07:00 +00:00