summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* we don't need to make fake sockaddr_in6 to compare subject address.ume2005-01-211-13/+2
| | | | MFC after: 1 week
* Bring in MemGuard, a very simple and small replacement allocatorbmilekic2005-01-216-0/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | designed to help detect tamper-after-free scenarios, a problem more and more common and likely with multithreaded kernels where race conditions are more prevalent. Currently MemGuard can only take over malloc()/realloc()/free() for particular (a) malloc type(s) and the code brought in with this change manually instruments it to take over M_SUBPROC allocations as an example. If you are planning to use it, for now you must: 1) Put "options DEBUG_MEMGUARD" in your kernel config. 2) Edit src/sys/kern/kern_malloc.c manually, look for "XXX CHANGEME" and replace the M_SUBPROC comparison with the appropriate malloc type (this might require additional but small/simple code modification if, say, the malloc type is declared out of scope). 3) Build and install your kernel. Tune vm.memguard_divisor boot-time tunable which is used to scale how much of kmem_map you want to allott for MemGuard's use. The default is 10, so kmem_size/10. ToDo: 1) Bring in a memguard(9) man page. 2) Better instrumentation (e.g., boot-time) of MemGuard taking over malloc types. 3) Teach UMA about MemGuard to allow MemGuard to override zone allocations too. 4) Improve MemGuard if necessary. This work is partly based on some old patches from Ian Dowse.
* Catch up with NO_MAN->NOMAN change.bms2005-01-211-1/+1
|
* If a device resides in physical slot 0, report it as being on-board asbms2005-01-211-2/+5
| | | | | per PIR specification. Add the VIA VT82C686 PCI interrupt routing function as a known chipset.
* Fix a masking error. Update copyright.bms2005-01-211-2/+2
|
* Do not treat an invalid PIR table checksum as a fatal error condition, butbms2005-01-211-4/+5
| | | | | | | | do print a warning about it. Correct a stupid logic error. Update copyrights. Fix whitespace bug. MFC after: 1 week
* Fix handling of providers with / in them (e.g. mirror/foo).pjd2005-01-211-1/+2
| | | | | Submitted by: Attila Nagy <bra@fsn.hu> MFC after: 1 week
* Whitespace/style tweaking of prev. commit.ache2005-01-216-24/+18
| | | | Noted by: bde
* Reflect the reality; only crypt(3) uses /etc/auth.confru2005-01-211-1/+1
| | | | for the time being.
* Fixed xref.ru2005-01-212-3/+5
|
* Removed remnants of Kerberos support.ru2005-01-212-24/+6
|
* Removed Kerberos remnants.ru2005-01-212-39/+2
|
* Fixed xref.ru2005-01-2113-15/+15
|
* Fixed macro abuse.ru2005-01-211-1/+1
|
* Fixed xrefs.ru2005-01-219-16/+16
|
* Remove prototype of undefined function so this compiles again.phk2005-01-211-2/+0
|
* Fixed xref.ru2005-01-212-2/+2
|
* De-kerberize the manpage.ru2005-01-211-24/+3
|
* Fixed .Xr call.ru2005-01-211-1/+2
|
* Sort sections.ru2005-01-21150-1167/+1167
|
* Fixes to previous revision:ru2005-01-211-4/+5
| | | | | | - bump document date - break hard sentence break - remove whitespace at EOL
* Add two more pipe regression tests. Not yet hooked into the test framework.silby2005-01-212-0/+116
|
* JumboMFi386: use bitmapped IPI handler. Update elcr and default mptablepeter2005-01-2113-138/+298
| | | | config handler. Tidy up various local apic initialization.
* MFi386: handle PSL_T properly across fork. Typo fix.peter2005-01-211-1/+13
|
* MFi386: whitespace, copyright header, etc updatespeter2005-01-216-7/+3
|
* MFi386: use %rip - 1 for the symbol search address (for noreturn funcs)peter2005-01-211-2/+8
|
* Document the shiny new WITHOUT_MODULES knob in make.conf.wes2005-01-212-0/+12
| | | | | | PR: kern/76225 Prodded by: ru@, brueffer@ MFC after: 2 weeks
* Rework pccard attachment a little. Now both of my fe based ethernetimp2005-01-211-26/+22
| | | | | | | | | | | | cards work. These changes depend on the expanded funce parsing that just was committed to pccard_cis.c. In NetBSD the ethernet address was read out of attr memory directly. We rely on the kernel pccard parser to pulll this information out of what appears to be an obsolete funce with the information in it. # I'm still getting the no rx interrupt sometimes with some hub/switches # for reasons unknown... But usually only one and only when dhclient # runs.
* Some older PC Cards have a weird format for FUNCE tuples. They appearimp2005-01-212-2/+15
| | | | | | | | | as type 0, rather than the usualy type 4. Assume that this format is from an old standard and go with it. The Fujitsu FMV-186A and Silicom Ethernet cards I have both have tuples with this format, and they are both pretty old cards. # if somebody knows for sure, please let me know.
* Fix (accidental?) lock order reversal in pmap_remove. Found whengrehan2005-01-213-3/+3
| | | | a process that has mmap'd device mem exits.
* POSIX says that 0[xX] prefix is _optional_ even in base 16 case, make itache2005-01-216-6/+30
| | | | | | | | | | really so. "If the value of base is 16, the characters 0x or 0X may optionally precede the sequence of letters and digits, following the sign if present." Found by: joerg
* Remove 6422, V100 and add the P600.ps2005-01-201-2/+1
| | | | Submitted by: John Cagle
* Remove references to non-existing symbols DO_corb and got_mmu.cognet2005-01-201-7/+0
| | | | While I'm there, remove dead code.
* Protect against recursive slices creation in simlar way as it is donepjd2005-01-201-7/+33
| | | | | | | | | | in BSD class, ie. if provider below us uses the same metadata, don't create slices based on the metadata. This allows to create slices on geoms with rank != 1 without hacks. Discussed with: phk Approved by: phk MFC after: 2 weeks
* Don't print 'unknown id' in the ep_pccard_identify routine. It isimp2005-01-201-2/+1
| | | | | expected to be unknown in some cases, and printing it clutters up things too much.
* Remove now-stale commentimp2005-01-201-10/+2
|
* Only attach to network functions. This should be a nop since I'm notimp2005-01-201-0/+10
| | | | | | aware of any fe based cards that do anything except network (well, maybe the fujitsu scsi/lan card, but I've only seen two of those on ebay in the last 3 years).
* Include necessary declarationsimp2005-01-201-0/+3
|
* Only match ethernet functions. I've not seen any multifunction cardsimp2005-01-201-0/+7
| | | | | | (from a PC Card sense), so this should be a nop. The pseudo-multifunction cards (eg Silicom ones) need a special driver anyway..
* Only attach to network functions. I'm not aware of any multifunctionimp2005-01-201-0/+10
| | | | | (pccard sense) sn based cards, but this won't hurt. The pseudo-multifunction cards need a special driver anyway...
* Only attach to network functions (unlikely to matter since I'm notimp2005-01-201-0/+10
| | | | aware of any multi-function cs cards, but it doesn't hurt).
* u_intXX_t -> uintXX_t while I'm here.imp2005-01-206-33/+33
|
* Only attach to network functions.imp2005-01-202-0/+20
|
* u_intXX_t -> uintXX_timp2005-01-201-9/+9
| | | | Fix a comment
* Use Intersil chip names for the symbols, since many makers use theimp2005-01-202-5/+6
| | | | intersil IDs but their own name in the CIS.
* Add intersil chip names we know we support since some OEMs use themimp2005-01-201-0/+3
| | | | very transparently.
* Use the packet's address family instead of the rule's when selecting adhartmei2005-01-201-1/+1
| | | | | | | | | replacement address for an rdr rule. Some rdr rules have no address family (when the replacement is a table and no other criterion implies one AF). In this case, pf would fail to select a replacement address and drop the packet due to translation failure. Found by: Gustavo A. Baratto
* Note SENAO SL-2511CD supportimp2005-01-201-0/+1
|
* Add support for SENAO SL-2511CDimp2005-01-201-1/+2
| | | | Info submitted by: Paulo Fragoso
* Minor tweaks to properly order things.imp2005-01-201-4/+4
|
OpenPOWER on IntegriCloud