Commit Graph

80105 Commits

Author SHA1 Message Date
jmc
d47e5c9394 Add a slew of overflow cases around the corner conditions 2001-05-06 06:18:36 +00:00
gmcgarry
a2bcb1b5a1 Fix format, add history and cross references. 2001-05-06 05:16:15 +00:00
christos
b2126f94bb More fixes:
1. use uintptr_t instead of u_long
2. check for overflow in map_pages and malloc_pages
3. bring in fixes from FreeBSD [int -> size_t, and a missing THREAD_UNLOCK]
4. rewrite map_pages to use sbrk() only to grow memory (avoids extra syscall
   and elides bug in brk(2) that ross is fixing)
5. restore the break point to its original value if the mmap(2) for the page
   directory or the alignment sbrk breaks.

reviewed by: chuq and ross
tested by: make build and reboot
Now memtest nearly works; unfortunately there is no way currently to lower
the break point as we free, so memtest keeps trying to reduce memory when
mlock() fails and that does not work.
2001-05-06 04:48:41 +00:00
gmcgarry
8a43d56a88 pmap(9) does exist now 2001-05-06 04:46:54 +00:00
ross
6b9d94cd8c Fix overflow errors in brk(2). 2001-05-06 04:32:08 +00:00
ichiro
16aa429153 sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h 2001-05-06 03:28:57 +00:00
ichiro
8bb5cfe6aa divided into PCMCIA attachment and common code of wi.
since if_wi_ieee.h does not depend for pcmcia,
sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h .
2001-05-06 03:26:38 +00:00
hubertf
b866d429c1 vlan does not belong to group of IPv6 pseudo-devices 2001-05-06 01:54:19 +00:00
kleink
f020111f1c Document l_type usage explicitly; fixes PR misc/10325. 2001-05-05 19:48:04 +00:00
jmc
1f64ac01a4 Add some test cases for overflow detection on +- ops 2001-05-05 19:21:40 +00:00
thorpej
18c5f91b0b Fix a deadlock cause by a lock ordering interaction between pmap_enter()
and pmap_growkernel().
2001-05-05 18:22:04 +00:00
kleink
d493d86cac Shameless hack to reference end when using a.out and _end when using ELF. 2001-05-05 17:56:58 +00:00
jdolecek
3cacf40566 recognize ed as boot device 2001-05-05 17:53:59 +00:00
kleink
f56935aca7 Shameless hack to reference end when using a.out and _end when using ELF. 2001-05-05 17:46:37 +00:00
kleink
dd849fecca Change to use {u,}intmax_t internally (was: (unsigned) long). 2001-05-05 17:29:39 +00:00
jmc
d185860cbb Added 1 * -1 test. 2001-05-05 15:48:44 +00:00
takemura
4cfc3259b6 Add entry for 'PenCentra 130'.
The version number is '1.17.5 2001.05.05'.
2001-05-05 14:42:41 +00:00
bjh21
3fc08cf178 Implement pmap_resident_count() and pmap_wired_count() properly. 2001-05-05 14:20:05 +00:00
kleink
9c7039688b * Replace a couple of cases of u_char and u_short with uint8_t and uint16_t,
respectively.
* Simplify sockaddr_storage calculations a bit by the fact that, per defintion,
  sizeof (char) == 1.
Fixes PR standards/10791.
2001-05-05 12:47:58 +00:00
takemura
a44e218942 Fix Makefile to generate dummy pbsdboot/opt_spec_platform.h, which will
be created by config(8) when you compile kernel. And update binary files.
The version number is '1.17.4 2001.05.05'.
2001-05-05 08:26:11 +00:00
takemura
83a1287ab0 Add wrapper header files. 2001-05-05 08:14:21 +00:00
jmc
a7755cce7c Various changes to fix bugs in PR bin/12838.
Make sure all precendence is spelled out correctly (comparison does not
have the same level as the arithmetic operators..)
Break the arithemtic operators into 2 classes (+- are lower than */%)
Restructure the arithmetic code into a function either class above can call.
Finally, add a whole suite of regression tests (checked in separately) which
the previous code failed on 3 of them.
2001-05-05 06:57:57 +00:00
jmc
9a7530f23a Redo to call external test script 2001-05-05 06:52:57 +00:00
jmc
f5e59e5bed Add a suite of expr tests.
The main goal here is to test all the operators and precedence.
Also throw in any known failure cases from the past.
2001-05-05 06:52:40 +00:00
takemura
58a528e2f3 Add entries of Fujitsu PenCentra series. 2001-05-05 05:45:29 +00:00
shin
66ff05bcae change maxusers 8 -> 10.
without this change, 'make build' will fail.
2001-05-05 05:04:27 +00:00
thorpej
18639a81be No need to have code we don't use anymore. 2001-05-05 02:20:53 +00:00
minoura
e4db0897cf Update for audio(4) from ancient okiadpcm. 2001-05-05 02:08:51 +00:00
minoura
c9c82d303a Use cdev_decl for prototype declarations (port-x68k/12829, thanks to scw
for suggestion).
Add static to some non-external functions.
2001-05-05 01:52:56 +00:00
hubertf
1cefc73ed6 Mention 802.1Q is an IEEE norm 2001-05-05 00:19:45 +00:00
hubertf
8093ee4bba vlan does not belong to the IPv6 devices (gif, stf, ...), so seperate it
visually.
2001-05-05 00:11:48 +00:00
wiz
a3cd8f7069 Explain '-c' option. 2001-05-04 23:42:23 +00:00
ross
d9b63622be xref fpgetmask(3) and fpsetmask(3) 2001-05-04 21:02:27 +00:00
thorpej
da1f26d65f Add pool_cache_destruct_object(), used to force destruction of
an object and release back into the pool.
2001-05-04 19:41:25 +00:00
bouyer
bef8b534cc Now that we can do it, print "HPT366" or "HPT370" depending on PCI revision. 2001-05-04 18:38:36 +00:00
simonb
cc25d71c5e Fix current KERN_MAXID - it was one too many. 2001-05-04 15:50:13 +00:00
bouyer
7e9f9eaaa1 Better support for VIA chipsets: look at the product/rev ID of the ISA bridge
to guess the pciide capabilities, rather than trying to guess it by ourselve.
Add preliminary support for the 686b (Ultra/100) guessed from FreeBSD/linux
driver (datasheet not publically available,  I contacted via).
Let chip-specific map routine do the autoconf printf if ide_name is NULL
(they may have more details about the controller than we have in pciide_attach)
2001-05-04 15:25:05 +00:00
bouyer
956a71c1c5 Add pci bus number to pci_attach_args, as suggested by Jason on tech-kern
(needed for pciide)
2001-05-04 15:13:17 +00:00
simonb
6a511e05e2 Be consistent with limit constants:
- use "U" suffix for unsigned constants
 - use "L" suffix for long constants
 - use "UL" suffix for unsigned long constants
 - use hexadecimal instead of decimal

Fixes build problems with vi (now that warnings/errors are enabled) on
mips, powerpc and arm platforms.
2001-05-04 15:12:32 +00:00
simonb
7b6081672a If a function takes two string arguments and a printf-type printing
function uses both those arguments, then why don't we use two "%s"s
in the printf-style format string too?
2001-05-04 14:45:08 +00:00
ragge
f0870603cb Remove forgotten VAX_BTYP_690. From Michael Kukat. 2001-05-04 14:13:50 +00:00
joda
ba3d920481 fix argument number test 2001-05-04 13:09:43 +00:00
jdolecek
5b3932d176 Implement polled command mode, and use it for writing system dump
and for initial autoconf probes; the latter eliminates need for
deferred configuration (and makes dmesg a bit nicer).

g/c EDF_IODONE flag - protect against interrupt by calling tsleep()
at splbio in worker thread

g/c unneeded stuff, improve some autoconf messages
2001-05-04 12:58:34 +00:00
drochner
63ee3f7941 wscons keymap file added 2001-05-04 12:13:27 +00:00
drochner
c8febad9e7 describe the new "encoding" and "mapfile" keywords. 2001-05-04 12:00:20 +00:00
wiz
b8f7007ccd Whitespace and punctuation nits. 2001-05-04 10:51:57 +00:00
wiz
fe296233cb Formatting improvements. 2001-05-04 10:51:47 +00:00
minoura
72793ac82e Correct a typo, closing port-x68k/12827. 2001-05-04 10:48:18 +00:00
bouyer
27155d9a6d Add an ATAPI front-end to the st driver. Completely untested for now,
but st at scsi should still work :)
2001-05-04 07:48:56 +00:00
jdolecek
97500f67b8 print the model numbers slighly different way 2001-05-04 07:22:07 +00:00