summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of unnecessary use of m4(1) by using cpp(1) instead.ru2004-02-119-1925/+53
| | | | | | | | (John tells me there were problems when trying this before, but it appears to be safe these day.) OK'ed by: jhb Repocopied by: joe
* - fix compile warningsgrehan2004-02-112-52/+10
| | | | - removed obsolete NetBSD-derived ADB conditionals
* - fixed trailing whitespace and indentationgrehan2004-02-111-11/+10
| | | | - removed unused variable to fix compile warning
* Fix compile warninggrehan2004-02-111-0/+1
|
* - remove trailing whitespacegrehan2004-02-111-11/+13
| | | | - fix compile warnings. badaddr() will go to a header file soon.
* Cleaned up param.h:grehan2004-02-1112-30/+28
| | | | | | | | | | | - culled long-dead #define's - segment register defs moved to sr.h - NPMAPS moved to pmap.h - KERNBASE moved to vmparam.h - removed include of <machine/cpu.h> and fixed src files that relied on this. Modifying segment register code no longer causes gcc rebuilds :-)
* Invalide pcb's fpu cpu # by setting it to INT_MAX, not NULL.grehan2004-02-111-4/+5
|
* GNU tar in the base system is now called "gtar"kientzle2004-02-111-1/+11
| | | | | | | | | | | | "tar" is now just a link to "gtar". This lays the groundwork for an orderly migration from GNU tar to some other tar. (First, we introduce the new tar program, then we migrate the 'tar' name, then we remove gtar, with intervals of months between these steps.) Approved by: gordon
* Add sysctl hw.uma_mdpages to track how many pages have been allocatedgrehan2004-02-112-0/+18
| | | | by UMA_MD_SMALL_ALLOC
* Initial import of RFC 2385 (TCP-MD5) digest support.bms2004-02-1110-9/+64
| | | | | | | | | | | | | | This is the second of two commits; bring in the userland support to finish. Teach libipsec and setkey about the tcp-md5 class of security associations, thus allowing administrators to add per-host keys to the SADB for use by the tcpsignature_compute() function. Document that a single SPI must be used until such time as the code which adds support to the SPD to specify flows for tcp-md5 treatment is suitable for production. Sponsored by: sentex.net
* Initial import of RFC 2385 (TCP-MD5) digest support.bms2004-02-1118-6/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first of two commits; bringing in the kernel support first. This can be enabled by compiling a kernel with options TCP_SIGNATURE and FAST_IPSEC. For the uninitiated, this is a TCP option which provides for a means of authenticating TCP sessions which came into being before IPSEC. It is still relevant today, however, as it is used by many commercial router vendors, particularly with BGP, and as such has become a requirement for interconnect at many major Internet points of presence. Several parts of the TCP and IP headers, including the segment payload, are digested with MD5, including a shared secret. The PF_KEY interface is used to manage the secrets using security associations in the SADB. There is a limitation here in that as there is no way to map a TCP flow per-port back to an SPI without polluting tcpcb or using the SPD; the code to do the latter is unstable at this time. Therefore this code only supports per-host keying granularity. Whilst FAST_IPSEC is mutually exclusive with KAME IPSEC (and thus IPv6), TCP_SIGNATURE applies only to IPv4. For the vast majority of prospective users of this feature, this will not pose any problem. This implementation is output-only; that is, the option is honoured when responding to a host initiating a TCP session, but no effort is made [yet] to authenticate inbound traffic. This is, however, sufficient to interwork with Cisco equipment. Tested with a Cisco 2501 running IOS 12.0(27), and Quagga 0.96.4 with local patches. Patches for tcpdump to validate TCP-MD5 sessions are also available from me upon request. Sponsored by: sentex.net
* Prefer buttons defined in the AML over the ones in the FADT. Somenjl2004-02-113-24/+42
| | | | | | | | | | | | | | systems define power/sleep buttons in both places but only deliver notifies to the ones defined in the AML. Also, reduce length of various function handler names. PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after:
* Document the functions m_apply() and m_getptr().bms2004-02-111-0/+42
| | | | Requested by: Maxim Konovalov
* Correctly create interrupt key for PCI, which is the OpenFirmwaregrehan2004-02-101-11/+17
| | | | | | | pci-hi/med/lo + node 'interrupts' property. This worked by accident until recent notebooks required correct operation. Tested by: Suleiman Souhlal <refugee@segfaulted.com>
* Add some bulletproofing: don't allow the ndis_get_info() or ndis_set_info()wpaul2004-02-101-0/+7
| | | | | | | | | | routines to do anything except return error if the miniport adapter context is not set (meaning we either having init'ed the driver yet, or the initialization failed). Also, be sure to NULL out the adapter context along with the miniport characteristics pointers if calling the MiniportInitialize() method fails.
* Flush stdout when -A option is used.sumikawa2004-02-101-0/+1
| | | | | Obtained from: KAME MFC after: 1 week
* Since loader(8) on SPARC64 is a pure ELF executable (as opposedru2004-02-101-1/+0
| | | | | | to other architectures), there is no reason not to strip(1) it. Tested by: kensmith
* Only reset the phy when it is absolutely required.pdeuskar2004-02-103-59/+113
| | | | | | | This should fix the issues with long *init* times when you do ifconfig em0 alias. MFC after: 3 days
* Fix a panic in pseudofs(9) that could occur when doing an I/Onectar2004-02-101-0/+5
| | | | | | | operation with a large request or large offset. Reported by: Joel Ray Holveck <joelh@piquan.org> Submitted by: des
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-109-27/+0
| | | | | | | | These files had tags after the copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor)
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-105-10/+0
| | | | | | | | These files had tags after teh copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor)
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-107-15/+1
| | | | | | | | These files had tags after the copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor)
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-104-5/+0
| | | | | | | | These files had tags at the start of the file (incorrect, removed), and after the copyright notices (correct). Approved by: rwatson (mentor)
* add verbage about how once BUS_TEARDOWN_INTR returns, the interrupt willjmg2004-02-101-0/+6
| | | | | | | | | no longer be active or called.. Also document requirement that no mutexes be held across calls to these functions.. Reviewed by: jhb, rwatson
* Official patches 001-005ache2004-02-101-2/+6
| | | | PR: 62555
* Run /etc/rc.d/routing at the appropriate time.des2004-02-101-0/+1
| | | | Spotted by: mat
* Add some presidential birthdays.wes2004-02-101-8/+23
|
* Correct a long-standing race condition in the inactive queue scan. (Seealc2004-02-101-0/+15
| | | | | | | | the added comment for low-level details.) The effect of this race condition is a panic "vm_page_cache: caching a dirty page, ..." Reviewed by: tegge MFC after: 7 days
* Add my birthday (for those interested)mlaier2004-02-101-0/+1
| | | | Approved by: bms (mentor)
* Spelling.bms2004-02-101-2/+2
|
* Now we have g_topology_assert_not(), so use it to detect deadlocks.pjd2004-02-101-1/+1
| | | | Approved by: phk, scottl (mentor)
* Added macro which will be used to assert, that the topology lock is not held.pjd2004-02-101-0/+6
| | | | Approved by: phk, scottl (mentor)
* Change the kernels definition of NODEV from ((dev_t)-1) to NULL.phk2004-02-101-1/+3
|
* Document the '-h hostname' option, which seems to have been presentroam2004-02-101-7/+14
| | | | | | | | | ever since rev. 1.1 of bootpd.c. While I'm here, rearrange the synopsis a bit: sort the options and clarify that -i and -s are mutually exclusive. Reported by: Atanas Buchvarov <nasko@nove.bg> MFC after: 3 days
* don't call sbuf_clear() right after sbuf_new(), it is not necessary.phk2004-02-103-6/+0
|
* Fix numerous constness and aliasing issues.des2004-02-106-19/+18
|
* This commit was generated by cvs2svn to compensate for changes in r125647,des2004-02-1060-1032/+2005
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of OpenPAM Eelgrass.des2004-02-1060-1032/+2005
| |
* | Remove a redundant command. No MFC, this was removed in STABLE.trhodes2004-02-101-4/+1
| | | | | | | | Update the date.
* | Remove 'broken in some cases' Xref to Kerberos.trhodes2004-02-101-1/+0
| | | | | | | | | | PR: 30443 Cool with: markm (who approved this ages ago)
* | Reorder Xrefs in SEE ALSO.trhodes2004-02-101-5/+5
| |
* | Update to inform users of acls and multilabel options. Add Xrefs to thetrhodes2004-02-101-1/+20
| | | | | | | | | | | | | | more relevant manual pages. PR: 62394 Submitted by: Marc Silver <marcs@draenor.org>
* | Fixes problems that occurred when a file was removed and a directorytjr2004-02-103-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | created with the same name, and vice versa: - Immediately recycle vnodes of files & directories that have been deleted or renamed. - When looking an entry in the VFS name cache or smbfs's private cache, make sure the vnode type is consistent with the type of file the server thinks it is, and re-create the vnode if it isn't. The alternative to this is to recycle vnodes unconditionally when their use count drops to 0, but this would make all the caching we do mostly useless. PR: 62342 MFC after: 2 weeks
* | Add sem_timedwait to the symbol map, otherwise the libc version willdeischen2004-02-101-0/+2
| | | | | | | | get used.
* | Initial import of libarchive.kientzle2004-02-0945-0/+11942
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | What it is: A library for reading and writing various streaming archive formats, especially tar and cpio. Being a library, it should be easy to incorporate into pkg_* tools, sysinstall, and any other place that needs to read or write such archives. Features: * Full automatic detection of both compression and archive format. * Extensible internal architecture to make it easy to add new formats. * Support for "pax interchange format," a new POSIX-standard tar format that eliminates essentially all of the restrictions of historic formats. * BSD license Thanks to: jkh for pushing me to start this work, gordon for encouraging me to commit it, bde for answering endless style questions, and many others for feedback and encouragement. Status: Pretty good overall, though there are still a few rough edges and the library could always use more testing. Feedback eagerly solicited.
* | Loader makefile cleanup.grehan2004-02-092-92/+38
| | | | | | | | Submitted by: ru
* | Added an option -ldi<N> to control indentation of local variable names.bde2004-02-094-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | The default is to be backwards compatible and non-KNF (use the same indentation for locals as for globals; -ldi0 gives KNF indentation for locals (none)). The indentation for globals also applies to struct member names in local declatations. The indentation of variable names in multi-line declarations is broken in various ways and this commit gives some new variations. indent.1: Also clarified the description of -di<N>.
* | Only use tabs to indent variable names if the declaration indent isbde2004-02-091-8/+8
| | | | | | | | | | | | | | | | nonzero (so that the 1-char indentation given by -di0 is never rendered by a tab). Removed garbage commented out code for setting the indentation of variable names.
* | Remove VFS_STATFS() call which violated the lock order and wasn'tdes2004-02-091-4/+0
| | | | | | | | | | | | | | really required anyway. PR: kern/61994 Submitted by: Bjoern Groenvall <bg@sics.se>
* | Backed out a part of previous commit that wasn;t mentioned in the logbde2004-02-091-2/+1
| | | | | | | | | | message and wasn't quite ready (it avoided indenting the names of local variables).
OpenPOWER on IntegriCloud