summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Temporarily disable tagged queueing while I figure out why it broke.sos2003-02-231-1/+2
|
* Fix chipset setup problem on older ALI chips.sos2003-02-231-9/+14
|
* Yesterday just wasn't my day. Remove testing delta that crept into the diff.jlemon2003-02-232-2/+2
| | | | Pointy hat provided by: sam
* Fix timeout when using UDMA speeds, bad chip setup.sos2003-02-231-3/+0
|
* Add an implementation of strdup() to libkern. Allocated memory is ofrwatson2003-02-234-0/+57
| | | | | | | | | type M_STRING, now defined in malloc.h. Useful when string parsing must occur using the kernel strsep() and we want to avoid toasting the source string. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Doh. Forgot to remove _KERNEL version.grehan2003-02-231-7/+0
|
* OK, I was too sleepy there...phk2003-02-231-2/+4
| | | | Pointy hat over here!
* Add NOTES for pc98.nyan2003-02-232-0/+967
|
* Move MD devices to <machine>/conf/NOTES.nyan2003-02-233-184/+370
|
* Merged from sys/dev/syscons/syscons.c revision 1.393.nyan2003-02-231-1/+4
|
* Fix compile error with FB_INSTALL_CDEV option.nyan2003-02-232-16/+28
|
* MFi386: revision 1.554.nyan2003-02-232-2/+2
|
* The ether_ifdetach() function requires only one argument now.nyan2003-02-231-1/+1
|
* Move ar_devclass definition to if_ar.c.nyan2003-02-232-2/+2
|
* Remove unneeded entries and fix indent.nyan2003-02-231-9/+6
|
* Implement CLOCK_MONOTONIC.phk2003-02-232-2/+4
|
* - Added macros PDESHIFT and PTESHIFT, use these instead of magic constantsjake2003-02-239-18/+26
| | | | | | | in locore. - Removed the macros PTESIZE and PDESIZE, use sizeof instead in C. Sponsored by: DARPA, Network Associates Laboratories
* o add a CRYPTO_F_CBIMM flag to symmetric ops to indicate the callbacksam2003-02-236-32/+81
| | | | | | | | | | | | | | | | | | should be done in crypto_done rather than in the callback thread o use this flag to mark operations from /dev/crypto since the callback routine just does a wakeup; this eliminates the last unneeded ctx switch o change CRYPTO_F_NODELAY to CRYPTO_F_BATCH with an inverted meaning so "0" becomes the default/desired setting (needed for user-mode compatibility with openbsd) o change crypto_dispatch to honor CRYPTO_F_BATCH instead of always dispatching immediately o remove uses of CRYPTO_F_NODELAY o define COP_F_BATCH for ops submitted through /dev/crypto and pass this on to the op that is submitted Similar changes and more eventually coming for asymmetric ops. MFC if re gives approval.
* Workaround for compiling LINT. Large kernels (like LINT) can havemarcel2003-02-231-20/+32
| | | | | | | | | | | branch targets that are too far apart for the BRADDR relocation. This is caused by the branch prediction optimizationi in the atomic inlines here, because they jump across sections. The workaround is to suppress jumping to a different section when compiling LINT. To generate correct code in that case, the section directives are replaced by a branch and a label to deal with the fall-through case. Reasonably good C compilers will optimize this away anyway, so the end result isn't really that bad.
* Fix compilation on non-i386 machines. Inconsistent conditionalmarcel2003-02-231-3/+5
| | | | compilation yielded definitions that we're used.
* Drop down Apple Partition Map code that has been in use by somegrehan2003-02-231-84/+168
| | | | | | ppc developers for a while. OK'd by: phk
* Fix compilation on alpha. Pointy hat to Marcel.orion2003-02-231-1/+1
|
* Add a new config option IPSEC_FILTERGIF to control whether or notsam2003-02-233-0/+19
| | | | | | | | | | | | | | | | | packets coming out of a GIF tunnel are re-processed by ipfw, et. al. By default they are not reprocessed. With the option they are. This reverts 1.214. Prior to that change packets were not re-processed. After they were which caused problems because packets do not have distinguishing characteristics (like a special network if) that allows them to be filtered specially. This is really a stopgap measure designed for immediate MFC so that 4.8 has consistent handling to what was in 4.7. PR: 48159 Reviewed by: Guido van Rooij <guido@gvr.org> MFC after: 1 day
* The root of the splay tree maintained within the pm_pteobj always refersalc2003-02-224-52/+18
| | | | | to the last accessed pte page. Thus, the pm_ptphint is redundant and can be removed.
* unsigned -> pt_entry_t.jake2003-02-222-8/+8
| | | | Sponsored by: DARPA, Network Associates Laboratories
* Add a /a modifier to the show ktr ddb command, which prints the whole tracejake2003-02-221-1/+7
| | | | | buffer without stopping. Useful if you just want to capture the output but can't run ktrdump.
* o Add back support for DXS channels.orion2003-02-222-84/+302
| | | | | | | | o Make DXS3 the primary playback channel. It may be the only universally supported channel with the assorted revisions of this chipset. o Add sysctl and handler for enabling s/pdif output from DXS3.
* Expose powerpc_mb() to user-space. Currently needed for atomic.h users,grehan2003-02-221-0/+10
| | | | this may go away in the future.
* Check to see if the TF_DELACK flag is set before returning fromjlemon2003-02-222-16/+14
| | | | | | | | tcp_input(). This unbreaks delack handling, while still preserving correct T/TCP behavior Tested by: maxim Sponsored by: DARPA, NAI Labs
* Don't panic when enumerating SYSCTL_NODE() nodes without any childrenrwatson2003-02-221-1/+2
| | | | | | nodes. Submitted by: green, Hiten Pandya <hiten@unixdaemons.com>
* Make xl use m_getcl() to allocate an mbuf and a cluster in one shot,bmilekic2003-02-221-19/+5
| | | | | | | | | | | | as opposed to one after the other. This is faster in both -CURRENT and -STABLE. Additionally, there is less code duplication for error-checking. One thing to note is that this code seems to return(1) when no buffers are available; perhaps ENOBUFS should be the correct return value? Partially submitted & tested by: Hiten Pandya <hiten@unixdaemons.com> MFC after: 1 week
* It is pretty evident that nobody loves this file anymore, so retire itphk2003-02-221-65/+0
| | | | | to the Attic from where it can be picked up again, should it ever again become fashionable to run an alpha simulator.
* Use DISKFLAG_OPEN rather than maintaining our own flag.phk2003-02-221-23/+2
| | | | Use nullclose() rather than now empty twed_close().
* Use nullclose(), not noclose().phk2003-02-221-1/+1
|
* Don't use mbuf allocator flags for malloc(9).phk2003-02-221-2/+4
|
* Use the standard DISKFLAG_OPEN instead of implementing our own.phk2003-02-222-19/+2
| | | | Use noclose() instead now that our close method is empty.
* Use system noioctl() instead of homerolled.phk2003-02-221-9/+1
|
* NO_GEOM cleanup: unifdef -UNO_GEOMphk2003-02-222-29/+0
|
* NO_GEOM cleanup:phk2003-02-221-68/+16
| | | | | | Move to "struct disk *" centric use of disk_* API. Remove NOOP ioctl, spl*() and some debug printfs.
* Add the ability to limit the number of IP fragments allowed per packet,silby2003-02-222-4/+29
| | | | | | | | | | | and enable it by default, with a limit of 16. At the same time, tweak maxfragpackets downward so that in the worst possible case, IP reassembly can use only 1/2 of all mbuf clusters. MFC after: 3 days Reviewed by: hsu Liked by: bmah
* Remove a comment which hasn't been true since rev. 1.158mtm2003-02-221-1/+0
| | | | Approved by: jhb, markm (mentor)(implicit)
OpenPOWER on IntegriCloud