summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename struct softc to struct mn_softc.phk2002-10-161-27/+31
|
* Fix comments and one resulting code confusion about the type of thephk2002-10-169-9/+10
| | | | | | "command" argument to VOP_IOCTL. Spotted by: FlexeLint.
* Be consistent about functions being static.phk2002-10-162-2/+2
| | | | Spotted by: FlexeLint
* A better solution to avoiding variable sized structs in DEVFS.phk2002-10-162-3/+5
|
* #include "opt_devfs.h" to protect against variable sized structures.phk2002-10-161-0/+2
| | | | Spotted by: FlexeLint
* Fixed style bug near $FreeBSD$. VCS ids in copyrights should not bebde2002-10-161-1/+0
| | | | separated by a blank line.
* Add support for building sparc64 releases.jake2002-10-161-1/+19
| | | | Reviewed by: murray
* s/clear/cleared/ for consistency (sigh)rwatson2002-10-161-2/+2
| | | | Reported by: dd
* Add a Bugs section and note that fmtcheck() is out of sync with printf();tjr2002-10-161-1/+7
| | | | it does not recognise any of the conversions or modifiers added in C99.
* Add support for the XSI %C and %S formats, which are the same as %lctjr2002-10-162-0/+24
| | | | and %ls.
* Never allow memory mapped I/O in PCI-X mode on controllers thatgibbs2002-10-161-2/+4
| | | | | do not support that configuration. This should fix problems with embedded 7902 controllers running in PCI-X mode.
* correct PCB locking in broadcast/multicast case that was exposed by changesam2002-10-161-1/+1
| | | | | | to use udp_append Reviewed by: hsu
* Last commit to add FAST_IPSEC support also rearranged udp_input so thatsam2002-10-160-0/+0
| | | | | | | all input packets are stored in the socket using udp_append. This was done so that all IPsec- and MAC-related checking is now consolidated in udp_append. Note that this can lead to an extra packet copy being done before a packet is discarded because of one of these checks.
* Tie new "Fast IPsec" code into the build. This involves the usualsam2002-10-1625-96/+605
| | | | | | | | | | | | configuration stuff as well as conditional code in the IPv4 and IPv6 areas. Everything is conditional on FAST_IPSEC which is mutually exclusive with IPSEC (KAME IPsec implmentation). As noted previously, don't use FAST_IPSEC with INET6 at the moment. Reviewed by: KAME, rwatson Approved by: silence Supported by: Vernier Networks
* add definitions for RIPEMD-160 HMAC and Skipjack encryption algorithms,sam2002-10-161-0/+2
| | | | for use by "Fast IPsec"
* "Fast IPsec": this is an experimental IPsec implementation that is derivedsam2002-10-1626-0/+17530
| | | | | | | | | | | | | | | | | | | | | | | from the KAME IPsec implementation, but with heavy borrowing and influence of openbsd. A key feature of this implementation is that it uses the kernel crypto framework to do all crypto work so when h/w crypto support is present IPsec operation is automatically accelerated. Otherwise the protocol implementations are rather differet while the SADB and policy management code is very similar to KAME (for the moment). Note that this implementation is enabled with a FAST_IPSEC option. With this you get all protocols; i.e. there is no FAST_IPSEC_ESP option. FAST_IPSEC and IPSEC are mutually exclusive; you cannot build both into a single system. This software is well tested with IPv4 but should be considered very experimental (i.e. do not deploy in production environments). This software does NOT currently support IPv6. In fact do not configure FAST_IPSEC and INET6 in the same system. Obtained from: KAME + openbsd Supported by: Vernier Networks
* Merge from vendor tzdata2002d.wollman2002-10-163-15/+110
| | | | | PR: 44004 MFC after: 3 days
* Re-sort to reflect change of East Timor from TP to TL.wollman2002-10-161-2/+2
|
* Replace aux mbufs with packet tags:sam2002-10-1643-474/+370
| | | | | | | | | | | | | | | | | | | o instead of a list of mbufs use a list of m_tag structures a la openbsd o for netgraph et. al. extend the stock openbsd m_tag to include a 32-bit ABI/module number cookie o for openbsd compatibility define a well-known cookie MTAG_ABI_COMPAT and use this in defining openbsd-compatible m_tag_find and m_tag_get routines o rewrite KAME use of aux mbufs in terms of packet tags o eliminate the most heavily used aux mbufs by adding an additional struct inpcb parameter to ip_output and ip6_output to allow the IPsec code to locate the security policy to apply to outbound packets o bump __FreeBSD_version so code can be conditionalized o fixup ipfilter's call to ip_output based on __FreeBSD_version Reviewed by: julian, luigi (silent), -arch, -net, darren Approved by: julian, silence from everyone else Obtained from: openbsd (mostly) MFC after: 1 month
* Change locking so that all snapshots on a particular filesystem sharemckusick2002-10-161-42/+91
| | | | | | | | | | | | | | | a common lock. This change avoids a deadlock between snapshots when separate requests cause them to deadlock checking each other for a need to copy blocks that are close enough together that they fall into the same indirect block. Although I had anticipated a slowdown from contention for the single lock, my filesystem benchmarks show no measurable change in throughput on a uniprocessor system with three active snapshots. I conjecture that this result is because every copy-on-write fault must check all the active snapshots, so the process was inherently serial already. This change removes the last of the deadlocks of which I am aware in snapshots. Sponsored by: DARPA & NAI Labs.
* missed additional callout that can run w/o Giant lockedsam2002-10-151-1/+2
|
* Use kqueue(2) instead of poll(2) to wait for replies and timeoutsiedowse2002-10-151-158/+90
| | | | | | | in the UDP RPC client code. As a side-effect, this fixes some bugs that might prevent the RPC call from ever timing out for example if the server keeps responding with the wrong xid. This could probably be simplified further by using the EVFILT_TIMER filter.
* Add HP ScanJet 2200Cfjoe2002-10-151-0/+1
| | | | | PR: 41375 Approved by: joe
* Include "opt_kbd.h" since certain structures size depend on the valuephk2002-10-152-0/+4
| | | | | | | | | | | | | | of KBDIO_DEBUG which may be defined in the kernel config (as it is in NOTES). This kind of bug is a _really_ horribly thing as we end up with one bit of code thinking a particular structure is 136 bytes and another that it is only 112 bytes. Ideally all places would remember to #include the right "opt_foo.h" file, but I think in practice file containing the variable sized struct should #include it explicitly as a precaution. Detected by: FlexeLint
* Return an error if the drive reports heads/sectors that do not make sense.njl2002-10-151-0/+8
| | | | | | This fixes a divide by zero in fdisk(8) Reviewed by: phk
* Push most UFS ACL behavior behind a check for MNT_ACLS, permitting ACLsrwatson2002-10-152-101/+129
| | | | | | | | | | | | to be administratively disabled as needed on UFS/UFS2 file systems. This also has the effect of preventing the slightly more expensive ACL code from running on non-ACL file systems, avoiding storage allocation for ACLs that may be read from disk. MNT_ACLS may be set at mount-time using mount -o acls, or implicitly by setting the FS_ACLS flag using tunefs. On UFS1, you may also have to configure ACL store. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Bump __FreeBSD_version for the Binutils 2.13 upgrade, which includes theobrien2002-10-151-1/+1
| | | | new FreeBSD emulation, vec, and output format.
* Spell 'set' as 'cleared' where appropriate.rwatson2002-10-151-2/+2
|
* Correct the definitions of SADB_* to be compatible withume2002-10-151-15/+15
| | | | | | RFC2407/IANA assignment. This change breaks binary compatibility. So, you need to recompile IPsec related applications.
* The matcd(4) driver is gone, so eliminate the quasi-FAQ entry in thebmah2002-10-151-28/+0
| | | | installation guide that refers to it.
* Update "Distribution Format" section for reality; XFree86 is installedbmah2002-10-151-14/+8
| | | | | | | | as a regular package, not as a bunch of tarballs in a special directory on the CDs. PR: 43977 Submitted by: Brian Candler <B.Candler@pobox.com>
* Don't show the command line when doing "make lint".phk2002-10-151-1/+1
|
* Be consistent about marking functions static.phk2002-10-157-30/+31
| | | | Found by: FlexeLint.
* If the FS_MULTILABEL flag is set in a UFS or UFS2 superblock,rwatson2002-10-151-0/+17
| | | | | | | | | | | | | | automatically set MNT_MULTILABEL in the mount flags. If FS_ACLS is set in a UFS or UFS2 superblock, automatically set MNT_ACLS in the mount flags. If either of these flags is set, but the appropriate kernel option to support the features associated with the flag isn't available, then print a warning at mount-time. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Plug a memory-leak.phk2002-10-151-0/+1
| | | | "I think you're right" by: jake
* Use ; not , as statement separator in PDEBUG() macro.phk2002-10-151-5/+4
| | | | | | | | | | | Ignoring a NULL dev in device_set_ivars() sounds wrong, KASSERT it to non-NULL instead. Do the same for device_get_ivars() for reasons of symmetry, though it probably would have yielded a panic anyway, this gives more precise diagnostics. Absentmindedly nodded OK to by: jhb
* Plug an infrequent (I think) memory leak.phk2002-10-151-1/+3
| | | | Spotted by: FlexeLint
* Be consistent about functions being static.phk2002-10-151-4/+4
| | | | Spotted by: FlexeLint
* Constification ? Yes, out that door, row on the left, one patch each.phk2002-10-152-10/+10
| | | | Sponsored by: DARPA & NAI Labs
* Teach tunefs to print the ACL and multilabel flag information whenrwatson2002-10-151-0/+4
| | | | | | | inspecting a superblock. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Argh. Put back setting of P_ADVLOCK for the F_WRLCK case that wasjhb2002-10-151-0/+3
| | | | | | | accidentally lost in the previous revision. Submitted by: bde Pointy hat to: jhb
* fix typo in comments (in preparation for MFC)fjoe2002-10-151-1/+1
| | | | Approved by: deischen
* Add missing .Nm. Add FBSDID. fprintf -> warnx. Lowercase first letter insidecharnier2002-10-152-9/+8
| | | | err().
* Correct some of the style problems in this file:rwatson2002-10-152-10/+10
| | | | | | | | | I introduced a style problem when I sorted 'a' before 'A'; our preferred order sorts 'A' first. Correct. Use .Cm instead of .Ar. Submitted by: bde
* Add information about the SDLT density codes.joerg2002-10-152-0/+7
| | | | | Submitted by: "Stewart MacLund" <sundie@lunaticfringe.org> MFC after: 1 week
* This commit was generated by cvs2svn to compensate for changes in r105151,ru2002-10-151-5/+8
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * From ChangeLog:ru2002-10-151-5/+8
| | | | | | | | | | | | | | | | | | | | | | : 2002-10-14 Werner LEMBERG <wl@gnu.org> : : * src/roff/troff/node.cc (troff_output_file::put_char_width, : troff_output_file::put_char, troff_output_file::fill_color, : troff_output_file::glyph_color): Handle case where color pointer : is null. This paniced troff(1) attempting to format the vinum(4) manpage.
* | Add cross-references to the wide character counterparts of these functions.tjr2002-10-154-4/+8
| |
* | Eliminate superfluous memory access in memcpy(3)/memmove(3).sobomax2002-10-151-13/+8
| | | | | | | | | | Obtained from: NetBSD MFC after: 1 week
* | Remove stray comma at the end of the See Also list.tjr2002-10-151-1/+1
| |
OpenPOWER on IntegriCloud