Commit Graph

163760 Commits

Author SHA1 Message Date
xtraeme c2fd0702f1 Move entry for ticket #990 into CHANGES.prev, because it has been
pulled up into netbsd-4.
2007-11-25 09:23:47 +00:00
kiyohara e18f7bdc36 Regen. 2007-11-25 09:17:56 +00:00
kiyohara b18c0cc551 Add COREGA CG-WLUSB2GL. 2007-11-25 09:16:49 +00:00
elad c1ae8fe49c Kill a KAUTH_REQ_SYSTEM_TIME_SYSTEM request that's no longer needed. 2007-11-25 08:43:11 +00:00
xtraeme 69c8e45340 Do not run the get_powstat callback in apm_attach(), this has a bad
effect with coretemp(4) where it tries to run xc_unicast() before
the xc_thread is ready. Anyway the get_powstat callback was there only
for APM_POWER_PRINT, which will print the correct info if requested
later.
2007-11-25 07:55:21 +00:00
dsainty e92d81422b Minor typos in comments, no functional change. 2007-11-25 02:46:54 +00:00
elad abb7851f4d Refactor time modification checks and place them in the secmodel code.
okay christos@
2007-11-25 00:35:26 +00:00
christos 3714528495 - move the save context before the signal reset (Arto Huusko)
- set the sigcontext cr2
2007-11-24 23:52:56 +00:00
christos b6740bf65c preserve cr2 on pcb for the benefit of linux emulation. 2007-11-24 23:51:23 +00:00
elad b242e18ba4 Fix a long time issue where the securelevel secmodel would explicitly
allow certain operations.

The suser module of the bsd44 secmodel code was made aware of the missing
operations that were explicitly allowed in the securelevel module, and
the logic in the latter was modified to a default defer, deny where not
allowed.

This concept, which is the correct way to write secmodel code, was first
brought up by pavel@ a long time ago.

okay christos@.
2007-11-24 20:47:14 +00:00
elad 1d139a3075 Modify hpux_sys_stime_6x() to call settime(), like everyone else do.
okay christos@.
2007-11-24 20:43:34 +00:00
bouyer f76460d92e Make Xen profiling kernels work.
XXX assembly still needs to be fixed for non-Xen kernels.
2007-11-24 18:55:41 +00:00
christos dff27399c2 $HOST_SH does not necessarily contains the absolute path to sh. Fix it if
it does not.
2007-11-24 18:44:00 +00:00
christos 496f9be3e8 support %z 2007-11-24 18:32:26 +00:00
bouyer 7ede1be847 Xen loads the symbol table 4 bytes after _end, not eight.
Now the kernel properly finds the symbol table.
2007-11-24 17:57:53 +00:00
jmmv ffc43e2cd8 Fix a typo in a comment, and while here also drop trailing whitespace. 2007-11-24 15:49:32 +00:00
elad 2e04c96736 Improve chances of having this file compiled.
Should IPKDBSECURE be in ALL?
2007-11-24 14:20:41 +00:00
isaki 1c038e6834 style, indent, and ANSI-fy. 2007-11-24 13:20:53 +00:00
jmmv 9ce1f92af7 Add some more details to the regress entry per joerg@'s request. 2007-11-24 12:25:17 +00:00
pavel 990a4b27aa Source /etc/shrc only if it exists. Inspired by PR install/37209. 2007-11-24 11:14:41 +00:00
dyoung b6c284d2c6 Use TAILQ_FOREACH() to search window lists. Do not insert/remove
windows inside the loop.
2007-11-24 07:59:21 +00:00
dyoung f8fd941eed Use the PCI #define for the secondary bridge reset instead of using
the duplicate Cardbus #define.  Write a note to self: pccbb interrupts
need more work.  No functional change intended.
2007-11-24 07:53:52 +00:00
dyoung 42e892e3d8 Pass the mbuf type (e.g., MT_SONAME, MT_SOOPTS) as the second
argument to getsockmbuf().
2007-11-24 07:49:03 +00:00
dyoung 7229fb02af Eliminate common subexpressions, creating variables 'atomic' and
'dom'.
2007-11-24 07:46:11 +00:00
dyoung 8fd9837dcc Fix a bunch of locking bugs ("Mutex error: lockdebug_barrier: spin
lock held"): only hold a mutex briefly at the top and bottom of
gre_ioctl().  Use splnet() to synchronize reconfiguration with
network interrupts.
2007-11-24 07:43:32 +00:00
markd 769813d901 Add agp support for Intel Q35/G33/Q33. 2007-11-24 02:19:37 +00:00
markd 80601465c6 Add Intel Q35/G33/Q33 bridges. 2007-11-24 02:18:48 +00:00
gavan 33bf6486d0 Be paranoid about disabling interrupts and acknowledging any pending
interrupts while attaching uhci. Fixes recent problems with uvm_fault
during uhci attach, which appear to be caused by a pending interrupt
left over from the device while it was operating in legacy support mode
under the control of the BIOS.

Patch by joerg@ because his was better than mine.
2007-11-24 02:13:49 +00:00
markd b79e2bcb32 regen. 2007-11-24 01:45:38 +00:00
markd 5579145ce1 Add INTEL Q33 and Q35 chipsets 2007-11-24 01:44:55 +00:00
markd 8ddb7f418e s/product\tINTEL/product INTEL/ 2007-11-24 01:42:09 +00:00
dyoung 50906e3486 Delete state GRE_S_DOCONF, I no longer use it. 2007-11-23 22:58:54 +00:00
plunky 1abda57e11 when using CFATTACH_DECL_NEW(), we must remember to record the
device_t if we wish to use it.

	sc->sc_dev = self;
2007-11-23 22:27:02 +00:00
dsl d8e8042c1c Add a note about the difficulty of actually looking at the return value
of __syscall() caused by ABIs (eg sparc) that don't pass the low bits of
a 64 bit result in the same register as a 32 bit result.
2007-11-23 20:29:40 +00:00
macallan 9d020f5bdb make this compile on sparc64 2007-11-23 20:12:54 +00:00
elad ea96710831 Fix typo. 2007-11-23 20:09:30 +00:00
xtraeme b2bb4b77b8 regen 2007-11-23 20:08:47 +00:00
xtraeme 96fc53aa48 Add some Intel 5000 Series Chipset devices. 2007-11-23 20:08:24 +00:00
joerg a35b5f81a4 If memory for the firmware image couldn't be allocated, print only
one error message.
2007-11-23 19:47:27 +00:00
joerg 8c65b9a8ce Share code between callout_schedule and callout_reset. 2007-11-23 19:43:32 +00:00
jnemeth b38a821a97 Delete mention of 'iso-dir=cdextras'. This was a leftover from
the original implementation of cdextra as an operation instead of
a being paramater.
2007-11-23 19:38:43 +00:00
dholland 9c31b45f5e Change the fs_clean member of the ffs superblock to be unsigned
(uint8_t instead of int8_t) - this prevents an ugly sign-extension
printing bug as well as formally undefined behavior when you mount an
unclean fs enough times.

From (my own) PR kern/28134; I've been carrying this patch for three
years, long enough to forget about it, and it's had no ill effects in
that time.

reviewed: pooka
2007-11-23 18:00:46 +00:00
pooka e490f118e2 Fix a race condition: in case two source paths hardlinked to the
same file were renamed simultaneously, there was a window where
directory entry cached in the vnode during lookup would be replaced
before calling rename.  This lead to one directory entry getting
renamed twice and the other one getting zero renames.  Do a relookup
in rename to make sure we have the correct directory entry.

Thanks go to Greg Oster for reporting the problem, helping with
debugging and thoroughly testing the patch.
2007-11-23 17:16:22 +00:00
sborrill 0a5849baa0 Note that a boot menu has been added to the i386 install CD.
Change my previous entry to reflect that it works on x86, not just i386.
2007-11-23 16:41:09 +00:00
uebayasi 22274752ee s, , , 2007-11-23 16:37:47 +00:00
bouyer 62b95d1250 Put back part of revision 1.1.4.8: the L4 page has to be pinned as L4
before before being mapped by APDP_PDE.
2007-11-23 16:33:25 +00:00
sborrill 1a550c9b7b Add boot menu and welcome banner to installation CD allowing the user to
choose between the normal and non-ACPI kernel.
2007-11-23 16:21:22 +00:00
sborrill 14df52fe64 Add support for CDBUILDEXTRA which acts like CDEXTRA to add extra items
to the CD-ROM image.
Make CDEXTRA and CDBUILDEXTRA be able to contain lists of files and directories
which are added in turn.
Add support for CDEXTRA_SKIP which contains a list of fnmatch(3) items to
skip during the copy. This is _very_ useful for skipping CVS dirs for example.
CDBUILDEXTRA and CDEXTRA_SKIP are to be used in Makefiles creating the images,
CDEXTRA remains to be used from build.sh.
Update documentation and build.sh help text to show that -C can be used to
specify a list of files and directories rather than just a single dir.
2007-11-23 16:19:28 +00:00
elad 18558073a1 Kill another instance of KAUTH_GENERIC_ISSUSER. 2007-11-23 16:03:47 +00:00
dholland d08cb6cf65 Handle non-trivial NIS compat entries (like +joe:::::::::) in the password
file. Fixes (my own) PR bin/33138.

reviewed: christos
2007-11-23 15:51:27 +00:00