summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* NO_GEOM cleanup:phk2003-02-243-35/+13
| | | | | | Move to new "struct disk *" centered API". OK'ed by: emoore
* - Removed UMAXPTDI and UMAXPTEOFF.jake2003-02-244-6/+2
| | | | | | | | | - Changed VM_MAXUSER_ADDRESS to be defined in terms of PTDPTDI. In order for assumptions about the recursive page table map to work it must be the base of the recursive map. Any pte offset that's not NPTEPG will break these assumptions. Sponsored by: DARPA, Network Associates Laboratories
* In vm_page_dirty(), assert that the page is not in the free queue(s).alc2003-02-241-0/+2
|
* Correctly map SIGSYS signal to/from Linux.kan2003-02-242-3/+3
| | | | Submitted by: "Georg-W. Koltermann" <g.w.k@web.de>
* The mpbiosreason variable does not used for pc98.nyan2003-02-246-0/+12
|
* Fix printf format error.nyan2003-02-241-6/+6
|
* Expand the reference count on struct dquot to 32 bits.das2003-02-241-2/+1
| | | | | | | | This fixes a panic on large systems where a single user may have more than 64K active or inactive vnodes. PR: 48234 Reviewed by: mike (mentor)
* When removing the last item from a non-empty worklist, the worklistmckusick2003-02-241-2/+15
| | | | | | | tail pointer must be updated. Reported by: Kris Kennaway <kris@obsecurity.org> Sponsored by: DARPA & NAI Labs.
* <machine/vmparam.h> is the right place to get KERNBASE, so don't specialobrien2003-02-241-1/+1
| | | | platform case it (or use alternate spellings).
* o instead of applying arbitrary tunables, just honor the COP_F_BATCHsam2003-02-241-73/+46
| | | | | | | | flag that can be marked on each symmetric op o eliminate hw.ubsec.maxbatch and hw.ubsec.maxaggr since they are not needed anymore o change ubsec_feed to return void instead of int since zero is always returned and noone ever looked at the return value
* Don't NULL out p_fd until after closefd() has been called. This isn'tscottl2003-02-241-4/+6
| | | | | totally correct, but it has caused breakage for too long. I welcome someone with more fd fu to fix it correctly.
* pst(4) should be portable across all our platforms.obrien2003-02-242-3/+3
|
* Revert to old (broken for over 1.5Tb filesystems) version of cgbasemckusick2003-02-241-0/+2
| | | | | | so that boot loader once again will fit. Sponsored by: DARPA & NAI Labs.
* Wrap the static endian functions to shutup GCC.obrien2003-02-241-0/+2
|
* Fix a comment which didn't match the new cookie behavior.silby2003-02-241-1/+1
| | | | | Submitted by: Scott Renfro <scott@renfro.org> MFC after: 1 day
* Catch up with ATAng changesgrehan2003-02-242-18/+23
|
* Fix another case for timewait.jlemon2003-02-241-0/+3
|
* Update to work with the new timewait state.jlemon2003-02-241-21/+5
| | | | Reviewed by: sam
* Remove a XXXKSE. kg_completed now needs proc lock.davidxu2003-02-242-2/+0
|
* tcp_twstart() need to be called with the TCP protocol lock held to avoidhsu2003-02-242-12/+16
| | | | a race condition with the TCP timer routines.
* Backout last surplus commit. That day just wasn't my day.davidxu2003-02-242-10/+0
|
* Pass the right function to callout_reset() for a compressedhsu2003-02-242-2/+2
| | | | TIME-WAIT control block.
* Use the direct mapping of IdlePTD setup in locore for proc0's page directory,jake2003-02-242-16/+4
| | | | | | | | instead of allocating another page of kva and mapping it in again. This was likely an oversight in revision 1.174 (cut and paste from pmap_pinit). Discussed with: peter, tegge Sponsored by: DARPA, Network Associates Laboratories
* Add apple partition map GEOM modulegrehan2003-02-241-0/+1
|
* Make the 'a' parameter of bus_space_write_multi_stream_*() a const pointer.obrien2003-02-241-3/+3
|
* Allow machines with one CPU and a valid mp table to boot an SMP kernel.tegge2003-02-236-0/+12
|
* Add support for Peppercon ROL-F Card.dan2003-02-232-0/+10
| | | | | Submitted by: Sascha Holzeiter <sascha@root-login.org> PR: 48559
* Use the correct size for reading and writing the PCI config space.marcel2003-02-231-5/+5
| | | | | | | | Reading the PCI config space with the wrong (larger) size is not a problem in this case, but writing can be as it clobbers unrelated registers. In this case the clobbering is for reserved fields, which too is mostly harmless... for now. Hence, this change is mostly preventive in nature.
* Sync new socket nonblocking/async state with file flags in accept().tegge2003-02-231-0/+7
| | | | | PR: 1775 Reviewed by: mbr
* There is no reason to be cute with ntohl(). Just call it directly ratherobrien2003-02-235-22/+8
| | | | | | than use a macro that tries to do conversions in place. Compile tested on: sparc64
* Previous commit missed a 1 that should be NGPTD, and an NPDEPG that shouldjake2003-02-237-5/+7
| | | | | | be NPDEPTD. Grumble. Sponsored by: DARPA, Network Associates Laboratories
* This commit was generated by cvs2svn to compensate for changes in r111368,obrien2003-02-231-0/+248
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Linux's linux/include/asm-sparc64/bitopts.h.obrien2003-02-231-0/+248
| | | | | | | | This is taken from the 2.4.3 Linux sources as shipped on Red Hat 7.1 Alpha.
| * Update the vendor branch of ext2fs to Linux 2.3.35. This is neededbde2000-01-018-686/+1123
| | | | | | | | | | | | | | | | | | | | mainly to get control over new features. E.g., ext2fs filesystems may now have a type field in directory entries (like ufs has had for 20 years or so). Current versions of FreeBSD ext2fs panic on this. ext2fs filesystem code is supposed to check the feature flags in the superblock and take appropriate actions for unsupported features. The other new features are sparse superblocks, large file support, and btree'd directories.
| * Finish (?) importing the Linux ext2fs files that our GPL'ed ext2fsbde2000-01-011-34/+10
| | | | | | | | | | | | | | | | | | files seem to be based on. Don't bother importing <asm-i386/string.h> just to get the Linux implementation of memscan() which is appended to our i386-bitops.h. The BSD skpc() should have been used instead of memscan(). Obtained from: Linux 1.2.2 distribution
* | Import Linux's linux/include/asm-sparc64/bitopts.h.obrien2003-02-231-0/+248
| | | | | | | | This is taken from the 2.4.3 Linux sources as shipped on Red Hat 7.1 Alpha.
* | - Added macros NPGPTD, NBPTD, and NPDEPTD, for dealing with the size of thejake2003-02-2312-29/+37
| | | | | | | | | | | | | | | | | | page directory. - Use these instead of the magic constants 1 or PAGE_SIZE where appropriate. There are still numerous assumptions that the page directory is exactly 1 page. Sponsored by: DARPA, Network Associates Laboratories
* | It seems that sound(4)'s feeder routines don't need to allocate memorygreen2003-02-233-11/+8
| | | | | | | | | | | | | | | | without waiting, since they are called from a system-call context only. This appears to fix all sorts of problems with open("/dev/dsp", O_WRONLY) randomly returning ENXIO. Found by: cognet
* | The rest of our platforms make bus_space_write_multi_stream_2's 'a' aobrien2003-02-231-1/+1
| | | | | | | | const pointer.
* | Add an empty bus_space_unmap() like Alpha has. puc(4) uses it.obrien2003-02-231-0/+11
| |
* | PAGE_SIZE is unsigned on all our platforms, and is a long on some.obrien2003-02-231-2/+2
| | | | | | | | | | | | So cast to u_long before printing out and use a matching specifier. Tested on: sparc64
* | Pass 'nodevice' onto the final output.obrien2003-02-231-1/+1
| |
* | Add adv_adj_endian_qdone_info() & adv_adj_scsiq_endian()obrien2003-02-231-0/+18
| | | | | | | | so this at least compiles on big-endian machines.
* | NO_GEOM cleanup:phk2003-02-232-92/+28
| | | | | | | | | | | | Move to "struct disk *" centered API. Fix some minor nits.
* | Improve the security and performance of syncookies:silby2003-02-231-26/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Security improvements: - Increase the size of each syncookie secret from 32 to 128 bits in order to make brute force attacks on the secrets much more difficult. - Always return the lowest order dword from the MD5 hash; this allows us to expose 2 more bits of the cookie and makes ACK floods which seek to guess the cookie value more difficult. Performance improvements: - Increase the lifetime of each syncookie from 4 seconds to 16 seconds. This increases the usefulness of syncookies during an attack. - From Yahoo!: Reduce the number of calls to MD5Update; this results in a ~17% increase in cookie generation time here. Reviewed by: hsu, jayanth, jlemon, nectar MFC After: 15 seconds
* | NO_GEOM cleanup:phk2003-02-235-67/+19
| | | | | | | | | | | | Move ida driver to "struct disk *" centric api. Retire major number 109.
* | Fix the detach code to actually detach the disk instance createdphk2003-02-231-5/+1
| | | | | | | | during attach.
* | Remove a goto the very next statement.phk2003-02-231-3/+0
| |
* | Mark major 102 unused now that the fla driver no longer needs a major number.phk2003-02-231-1/+1
| |
* | Bracket the kern.vnode sysctl in #ifdef notyet because it resultsphk2003-02-231-0/+2
| | | | | | | | | | | | | | in massive locking issues on diskless systems. It is also not clear that this sysctl is non-dangerous in its requirements for locked down memory on large RAM systems.
OpenPOWER on IntegriCloud