Commit Graph

170913 Commits

Author SHA1 Message Date
pooka 77fa4c0e46 Use -3 for wizardmode credentials instead of -1. Technically we
shouldn't have to do this, but some pieces of kernel code still
make direct comparisons like cred == NOCRED (which, incidentally,
is defined as -1).
2008-06-06 10:46:35 +00:00
yamt 4f6334de3c fix a typo 2008-06-06 05:51:46 +00:00
cegger c96e6fabc0 make this build for xen 2008-06-06 05:45:16 +00:00
uwe 421349f332 Bah, got tf_ubc = 0 logic wrong in previous. Revert that part, it's bogus. 2008-06-06 04:24:19 +00:00
uwe 2cef892cf9 Support single-stepping in DDB for sh3 too, it has different format of
UBC registers.
2008-06-06 04:16:22 +00:00
uwe db245f3eb5 Provide defines for bits we use. 2008-06-06 03:17:28 +00:00
ad 271002f500 Back out previous because it breaks the build. 2008-06-05 23:38:51 +00:00
cegger 6e390579fc make this build 2008-06-05 21:55:51 +00:00
ad e876d01fea Leave interrupts on for the shutdownhooks. Should fix the panics on
shutdown.
2008-06-05 21:44:31 +00:00
ad b4ad7b01a5 glibc compatibile PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, requested by
rafal@.
2008-06-05 21:40:17 +00:00
ad 1f3c2824c9 Make it build again. 2008-06-05 21:27:50 +00:00
aymeric afab0934cb rename ru_SU to ru_RU, as was done in the previous vi 7 years ago 2008-06-05 21:16:15 +00:00
ad d1b2ddc725 pmap_remove_all() for x86. Also, always defer freeing ptps to pmap_update().
There may be a better way to do this, but for now this is simple and avoids
potential bugs.

Proposed on tech-kern and discussed with chs@.
2008-06-05 21:09:12 +00:00
uwe b0aa5b3112 aprint_naive("\n") in attach. 2008-06-05 20:34:00 +00:00
aymeric 9c8d0a73f9 these files are for diagnosing catalog files, they can even be generated by our
Makefiles if necessary
2008-06-05 20:09:37 +00:00
aymeric 3544edc560 remove all the other generated catalogs, too 2008-06-05 20:02:12 +00:00
aymeric 6905204bec the english catalog is automatically generated 2008-06-05 19:58:45 +00:00
aymeric b0288bde97 fix a "typo" which prevented %ls from working in printf() (NARROW case).
Among other things, nvi displays options correctly now.
2008-06-05 19:55:47 +00:00
bouyer 33a062486a Call ahci_intr() with the device's softc, not the device_t.
Should fix kern/38742
2008-06-05 18:22:02 +00:00
tonnerre 31197b7671 Fix two Denial of Service vulnerabilities in OpenSSL:
- Fix flaw if server key exchange message is omitted from a TLS handshake
   which could lead to a silent crash.
 - Fix double free in TLS server name extensions which could lead to a
   remote crash.

Fixes CVE-2008-1672.
2008-06-05 15:30:10 +00:00
ad f8e053bde9 Make it build again. 2008-06-05 12:43:52 +00:00
ad b91062326d Avoid "free vnode isn't" assertion. 2008-06-05 12:32:57 +00:00
hans 63a0db2661 add myself to the list of developers 2008-06-05 12:02:51 +00:00
njoly 80639b2f02 Add missing cv_destroy in futex_sleep. 2008-06-05 10:58:16 +00:00
cegger fe079230ef add pckbc at acpi
add pcppi at acpi
2008-06-05 09:37:21 +00:00
hannken a618b33b8c ufs_blkatoff: Update comment. 2008-06-05 09:32:29 +00:00
cegger 7536e3b43b add aiboost at acpi 2008-06-05 09:27:11 +00:00
he 7151c31712 Delete what appears to be a spurious assignment to an undeclared
'cpu' variable added in revision 1.133.  Restores buildability for this file.
2008-06-05 08:16:01 +00:00
ad f72be5d816 Shut up lint XXX 2008-06-05 00:33:07 +00:00
ad 88261d4ead Check to see if MALLOC_OPTIONS is actually set in the environment before
doing issetugid().
2008-06-05 00:16:34 +00:00
ad 156176be13 Fix error in previous. From nakayama@. 2008-06-05 00:03:20 +00:00
jmcneill 976a12aad4 Fix a mis-tabbed brace, no functional change. 2008-06-04 21:37:03 +00:00
matt 9bf92c7f8f #include <stdbool.h> if not kernel or standalone 2008-06-04 17:54:17 +00:00
ad 5d66fa5745 - Switch off the map evcnts by default.
- SAVE_HINT() doesn't need to be atomic.
2008-06-04 17:47:40 +00:00
ad e89db9644e When setting DONE on the buffer, assert that there are no waiters in
biowait().
2008-06-04 17:46:21 +00:00
drochner 54ccefda99 Reduce polling of the keyboard controller status by a factor of 1000.
While on real hardware hardware a poll cycle takes time in the
microsecond order of magnitude, a "legacy-free" system which emulates
the KBC in BIOS code takes milliseconds -- I'm seeing a multi-minute
delay in booting where the KBC is probed. So poll less and use delay()
to compensate so that the total wait time stays about the same.
2008-06-04 16:29:14 +00:00
ad 7a34cb95f0 Replace the global vm_page hash with a per vm_object rbtree.
Proposed on tech-kern@.
2008-06-04 15:06:04 +00:00
ad 61464a76be Forgot to add this yesterday. 2008-06-04 14:59:39 +00:00
ad f260c01a7f Add /usr/include/sys/rb.h. 2008-06-04 14:31:53 +00:00
ad 13c7f6ff40 Move lib/libkern/rb.h to sys/rb.h, so it can be used by kernel header
files.
2008-06-04 14:31:15 +00:00
ad 4f702c0ce1 udv_fault: pmap_update before releasing locks. 2008-06-04 13:35:24 +00:00
ad 83828e8d22 listq -> listq.queue 2008-06-04 13:23:30 +00:00
ginsbach 2624ccf202 The hi_IN.ISCII-dev locales shouldn't be installed as there is no support
for this code set in LC_CTYPE nor iconv(3).
2008-06-04 13:19:31 +00:00
ad 75e0baf4da Make it build. 2008-06-04 13:10:06 +00:00
ad 7671b6093f Revert unintentional change. 2008-06-04 13:08:30 +00:00
rmind af4e8e9ea7 Check the result of allocation in the cases where size is passed by user. 2008-06-04 13:02:41 +00:00
ad e7fbdbbaf0 vmstat -s: report cpu pagealloc hits/misses. 2008-06-04 12:47:47 +00:00
ad cbbf514e2c - vm_page: put listq, pageq into a union alongside a LIST_ENTRY, so we can
use both types of list.

- Make page coloring and idle zero state per-CPU.

- Maintain per-CPU page freelists. When freeing, put pages onto the local
  CPU's lists and the global lists. When allocating, prefer to take pages
  from the local CPU. If none are available take from the global list as
  done now. Proposed on tech-kern@.
2008-06-04 12:45:28 +00:00
ad 06c343ac94 vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both. 2008-06-04 12:41:40 +00:00
nonaka 0591571b21 Added missing splx() at ohci_resume(). 2008-06-04 12:38:58 +00:00