Commit Graph

160711 Commits

Author SHA1 Message Date
pooka 1aba0dbed1 Track memory mappings. Close file handles already in close() if there
are no active mappings, otherwise do the standard inactive() run.
2007-07-27 09:46:27 +00:00
yamt 828aae6ba6 remove a debug printf. 2007-07-27 09:33:58 +00:00
pooka 8b45aab0cf include <uvm/uvm_prot.h> 2007-07-27 09:18:54 +00:00
pooka 91f15f1760 whoops, forgot to commit this a while back: initialize new vnode size 2007-07-27 08:38:39 +00:00
pooka c59e414d23 vop_mmap parameter change 2007-07-27 08:32:44 +00:00
pooka 1f1ebcb118 VOP_MMAP fflags -> prot 2007-07-27 08:31:30 +00:00
pooka e4b63c41f0 implement node_mmap and allow to specify accepted mappings on command line 2007-07-27 08:29:10 +00:00
pooka 8631cf4e2b mmap fflags -> prot 2007-07-27 08:28:16 +00:00
pooka 90f58074b5 regen: VOP_MMAP fflags -> prot 2007-07-27 08:27:38 +00:00
pooka 1ce406a846 Change unused fflags parameter in VOP_MMAP to prot and pass in
desired vm protection.
2007-07-27 08:26:38 +00:00
pooka d9970c8066 Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter. 2007-07-26 22:57:36 +00:00
pooka daeb749df5 ntfs_unmount:
* panic if flushing system nodes fails: we have released too many
  resources and would die anyway the next time unmount is attempted
* KASSERT that VOP_CLOSE succeeds, but always return 0.  once again
  we have released too many resources

XXX: maybe rewrite to be a bit more robust
2007-07-26 18:43:14 +00:00
pooka 53a9d4abfa Don't do nfs server consistency checks in readdir, especially since
the check depended on the nfs server implementation.
2007-07-26 18:15:42 +00:00
plunky 55e2ff23b1 fix build for the "USE_INET6=no" case, the two variables 'nxt' and 'len32'
are only used in the inet6 code.
2007-07-26 18:15:12 +00:00
pavel 4195ecc3d2 Make the port-specific changelog ($MACHINE/whatis) optional by using .pso
to call a shell script which outputs nothing if the file is not present.

Remove the "whatis" file for ports where it does not contain anything
useful and hasn't been updated for years. OK tsutsui@, hubertf@.
2007-07-26 15:26:35 +00:00
he 40db4f866e Move the include of <machine/intr.h> into the _KERNEL / _LOCORE #ifdefs.
Fixes build problem with the extent regression test.
2007-07-26 14:54:09 +00:00
nonaka a3f23fba88 use WSDISPLAY_TYPE_PXALCD. 2007-07-26 12:17:37 +00:00
nonaka 2462aff88e add WSDISPLAY_TYPE_PXALCD for PXA2x0 LCD controller. 2007-07-26 12:17:14 +00:00
jnemeth dfb7eb763c update portmaster list 2007-07-26 11:43:57 +00:00
jnemeth 3660047b6b match website re-org 2007-07-26 11:38:29 +00:00
jnemeth 34e8853023 add some details about upgrading from NetBSD 3.x 2007-07-26 11:29:05 +00:00
pooka c1d612fca8 <machine/stdarg.h> is needed for va_lists 2007-07-26 10:00:21 +00:00
pooka 0abd6d25d4 missed a few due to the blinding effects of underlining 2007-07-26 08:43:52 +00:00
pooka 9cb446adae include variable names in synopsis 2007-07-26 08:42:17 +00:00
jnemeth 30e313efcf add a missing .bullet) 2007-07-26 05:02:18 +00:00
jnemeth a88ed58dd8 fixup fdc entry 2007-07-26 03:27:16 +00:00
macallan 0904724e1a - move register definitions to crmfbreg.h
- identify as WSDISPLAY_TYPE_CRIME
- always claim we're 32bit
- switch to 32bit colour in WSDISPLAYIO_MODE_MAPPED, switch back to 8bit
  in WSDISPLAYIO_MODE_EMUL
- restore palette, turn off the cursor when switching back to console mode
- add a few delay()s, hopefully that will deal with occasional messed up
  video timings *fingers crossed*
2007-07-26 02:25:14 +00:00
jnemeth db8aed423d revert previous, it will be added as a new section 2007-07-26 02:19:00 +00:00
macallan 6b4ea0adbe add WSDISPLAY_TYPE_CRIME for the SGI O2's graphics hardware 2007-07-26 01:59:07 +00:00
jnemeth da9b49b6eb - make the upgrade notes mention issues from 3.1 and earlier
- note additional users and groups that need to be added or updated

XXX should say something about sendmail and other removed subsystems
2007-07-25 23:19:48 +00:00
pavel 74ec406cca merge rev. 1.278.2.12: update the upgrade section. We now have the
documentation about upgrading from NetBSD 2.x to 3.0, which is better
than from 1.6 to 2.0 which is what used to be here previously.

XXX someone write documentation about upgrade to 4.0 please.
2007-07-25 22:25:14 +00:00
pavel 06b1b03579 organisations -> organizations (from rev. 1.278.2.16) 2007-07-25 22:10:14 +00:00
pavel 915fece3a5 merge rev. 1.58.2.2 - fix ".end-preformat" problem. 2007-07-25 22:01:13 +00:00
christos 9520b5d744 mention new bind. 2007-07-25 16:55:33 +00:00
tsutsui 49773e5f60 Flush all cache data at the beginning of the bootloader.
Fixes silent hangs after loading 4.0_BETA2 GENERIC kernel
on Qube2 (and RaQ2) with 256MB RAM, reported and tested
by James Hartley on port-cobalt.

Obviously this should be pulled up to netbsd-4.
2007-07-25 14:11:06 +00:00
xtraeme bd8aee308c There's no need to check for cpu_vendor before calling est_init(), just
pass cpu_vendor to it.
2007-07-25 13:41:53 +00:00
xtraeme 66c5665356 - Ignore lines with desc at start/stop time, this target must be used
manually.
- Ignore lines with rfact at stop time, they cannot be stopped.

Reported by wiz@.
2007-07-25 12:47:44 +00:00
njoly b7a7f31e43 Add missing STOP conditions at the end of I2C operations. 2007-07-25 11:18:15 +00:00
pooka 924961206f pool_init: wchan is const 2007-07-25 09:14:18 +00:00
pooka b2a631b1fe * add missing credential handle to fsync args
* and now with more cosmetic attack
2007-07-25 09:10:26 +00:00
tron 10d31a27d1 Note import of BIND 9.4.1-P1. 2007-07-25 09:07:27 +00:00
pooka 9825955cc2 pure cosmetics: minor facelift 2007-07-25 08:31:19 +00:00
dogcow 1ad9ad78c6 fix compilation on 64-bit platforms by avoiding spurious EXTRACT_32BITS 2007-07-25 06:31:32 +00:00
christos 5b94024b59 Import bind 9.4.1-P1
2206.   [security]      "allow-query-cache" and "allow-recursion" now
                        cross inherit from each other.

                        If allow-query-cache is not set in named.conf then
                        allow-recursion is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        If allow-recursion is not set in named.conf then
                        allow-query-cache is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        [RT #16987]

2203.   [security]      Query id generation was cryptographically weak.
                        [RT # 16915]

2202.   [security]      The default acls for allow-query-cache and
                        allow-recursion were not being applied. [RT #16960]

2193.   [port]          win32: BINDInstall.exe is now linked statically.
                        [RT #16906]

2192.   [port]          win32: use vcredist_x86.exe to install Visual
                        Studio's redistributable dlls if building with
                        Visual Stdio 2005 or later.
2007-07-24 23:52:54 +00:00
christos 92b1ea3abe Import bind 9.4.1-P1 2007-07-24 23:32:11 +00:00
macallan fbbad8fbc0 add support for ioctl(WSDISPLAYIO_LINEBYTES) so XFree86/wsfb should work now.
Doh.
2007-07-24 20:09:57 +00:00
ad 615eff98fc In order to pacify assertions, make uao_list_lock + uvm_swap_data_lock
spinlocks for the time being.
2007-07-24 19:59:35 +00:00
hannken 40135c9d50 Handle IST_LEVEL interrupts better. Disable interrupt while it is
processed and enable afterwards.  Up to now IST_LEVEL interrupts always
fired again during processing leaving unnecessary pending interrupts.

Tested on EXPLORA451.

Ok: Simon Burge <simonb@netbsd.org>
2007-07-24 15:22:18 +00:00
hannken 6409dfa660 Use PR_NOWAIT in in pmap_enter_pv() and take care of PMAP_CANFAIL. Built
after powerpc/oea/pmap.c.  Now a LOCKDEBUG kernel runs on EXPLORA451.

Ok: Simon Burge <simonb@netbsd.org>
2007-07-24 15:19:09 +00:00
pooka ac9042f5ce remove TNF advertising clause from file copyrighted to me 2007-07-24 14:41:29 +00:00