summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug whereby the physical endpoints of a gre(4) tunnel would notbms2003-11-142-2/+12
| | | | | | | | | | | | | be printed, if the module were loaded into a kernel which had INET6 enabled. The gre(4) driver does not use INET6, nor is it specified for IPv6. The tunnel_status() function in ifconfig(8) is somewhat overzealous and assumes that all tunnel interfaces speak KAME ifioctls. This fix follows the path of least resistance, by teaching gre(4) about the two KAME ifioctls concerned. PR: bin/56341
* University of Michigan's Citi NFSv4 kernel client code.alfred2003-11-1437-22/+11249
| | | | Submitted by: Jim Rees <rees@umich.edu>
* basemem is in K, not bytes. I think I tricked jhb into making the samepeter2003-11-142-2/+2
| | | | mistake I did and then committing it to cvs.
* Fix more spammage with local changes. Didn't look at the diffs beforejake2003-11-141-10/+10
| | | | | | committing. Pointy hat to: jake
* Add a manual page for the IDT NICStAR driver, and hook it up to the build.bms2003-11-142-0/+61
|
* Fixed some style bugs (English errors and poor wording in comments,bde2003-11-141-11/+10
| | | | tab lossage, and missing comment on idempotency #endif).
* "opt_auto_eoi.h" is not used here anymore. See atpic.c.peter2003-11-142-4/+0
|
* Replace magic numbers with macros for i8259A register constants. Stilljhb2003-11-142-18/+20
| | | | need the ICW4 bits for PC98 though.
* - Bring in constants for 8259A registers from amd64 with some updatedjhb2003-11-141-2/+57
| | | | | | comments from NetBSD's dev/ic/i8259A.h. These bits really belong in a file of the same name as well, but this will do for now. - Axe unused HWI_MASK.
* Shuffle the APIC interrupt vectors around a bit:jhb2003-11-148-38/+54
| | | | | | | | | | | | | | | - Move the IPI and local APIC interrupt vectors up into the 0xf0 - 0xff range. The pmap lazyfix IPI was reordered down next to the TLB shootdowns to avoid conflicting with the spurious interrupt vector. - Move the base of APIC interrupts up 16 so that the first 16 APIC interrupts do not overlap the vectors used by the ATPIC. - Remove bogus interrupt vector reservations for LINT[01]. - Now that 0xc0 - 0xef are available, use them for device interrupts. This increases the number of APIC device interrupts to 191. - Increase the system-wide number of global interrupts to 191 to catch up to more APIC interrupts. Requested by: peter (2)
* Drop the driver lock around calls to if_input to avoid a LOR whensam2003-11-1442-2/+123
| | | | | | | | the packets are immediately returned for sending (e.g. when bridging or packet forwarding). There are more efficient ways to do this but for now use the least intrusive approach. Reviewed by: imp, rwatson
* Fix a typo. We need opt_acpi.h not opt_apic.h for DEV_ACPI.jhb2003-11-141-1/+1
|
* Add the userland part of the NET_RT_IFMALIST sysctl MIB. A new function,bms2003-11-144-2/+331
| | | | | | getifmaddrs(), is added to retrieve current multicast group memberships. Reviewed by: harti
* Better fix than my previous commit:cognet2003-11-142-8/+9
| | | | | | | | | | | in exit1(), make sure the p_klist is empty after sending NOTE_EXIT. The process won't report fork() or execve() and won't be able to handle NOTE_SIGNAL knotes anyway. This fixes some race conditions with do_tdsignal() calling knote() while the process is exiting. Reported by: Stefan Farfeleder <stefan@fafoe.narf.at> MFC after: 1 week
* Add a sysctl MIB, NET_RT_IFMALIST, to retrieve multicast group membershipsbms2003-11-142-1/+68
| | | | | | in a protocol-independent way. Submitted by: harti
* Fix up the control word 3 bits. jhb discovered how much I screwed thispeter2003-11-141-4/+4
| | | | up. :-]
* fix comments.ume2003-11-141-5/+3
| | | | Obtained from: KAME
* u_int8_t cannot carry a number greater than 255.ume2003-11-141-3/+1
| | | | Reported by: nectar
* - Code cleanuppdeuskar2003-11-144-105/+48
| | | | | | | | - In the receive routine handle the case where last descriptor could have less than 4 bytes of data. - Handle race between detach/ioctl routine. MFC after: 3 days
* - Remove use of Giant from uma_zone_set_obj().alc2003-11-141-7/+1
|
* - poll(2) support.ume2003-11-1410-757/+439
| | | | | | | | | | | | | - simplify by strdup. - set ai_protocol in hints to TCP. - g/c FAITH_NS (no description, not maintained for years) - warn if connection from IPv4 mapped is reached. - IPV6_V6ONLY if possible. - unifdef -UFAITH4. - drop rsh/rlogin support. - deal with negative return value from wait3. Obtained from: KAME
* Remove duplicate FBSDID's, move others to their right place.obrien2003-11-1422-78/+48
|
* - need_trigger/idx should be u_int, not ssize_t.ume2003-11-141-30/+34
| | | | | | | | | | | - realloc pedant. - set sin6_scope_id before sending (link-local/multicast) packets - removed an incorrect comment - don't age non-gateway host routes. - not remove global addresses on loopback interface from routing table by route aging. Obtained from: KAME
* - interface minimum MTU = 1280 in IPv6.ume2003-11-141-8/+3
| | | | | | - simplify. Obtained from: KAME
* our netstat is installed in /usr/bin.ume2003-11-141-1/+1
|
* Amplify the reboot requirementimp2003-11-141-5/+6
|
* Add a WITNESS_WARN() check to _STOPEVENT() since any _STOPEVENT() canjhb2003-11-141-0/+2
| | | | potentially sleep. This should help find some bogus locking.
* Include opt_global.h in the modules build, when building from a normalgreen2003-11-142-0/+4
| | | | | | | | kernel build. This makes it possible for me not to get pissed off that random.ko crashes the system trying to rdtsc() when the i386/cpu.h support code decides it's okay to call that op when neither I386_CPU or I486_CPU is defined. I guess it also makes WITNESS/INVARIANTS defines get picked up by the modules.
* Make this WARNS=2 clean byjohan2003-11-142-20/+22
| | | | | | - using (intmax_t) and %j instead of %q Tested by: make universe
* Make this WARNS=2 clean byjohan2003-11-143-5/+5
| | | | | | | | | | - using (intmax_t) and %j - giving a non-empty format string to msg() Include <stdint.h> directly instead of depending on <inttypes.h> to do it. Tested by: make universe
* Sync comment with code's reality.tobez2003-11-141-1/+1
| | | | MFC after: 1 week
* Add sbp_targ(4).simokawa2003-11-141-0/+1
|
* Fixed spurious syntax errors for including files that don't begin withbde2003-11-141-3/+4
| | | | | | | | | | a SEMICOLON token (a newline or semicolon, or one of these preceded by a comment and/or whitespace). The input stream was switched too early and the parser was expecting a SEMICOLON in the included file instead of after the filename in the include directive. Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Kept alive by: Adam C. Migus <adam@migus.org>
* Remove duplicatejohan2003-11-145-15/+0
| | | | | | | #include <sys/cdefs.h> __FBSDID(...); Leave the one matching the other files in this directory.
* - A sanity check in unionfs verifies that lookups of '.' return thedas2003-11-141-27/+21
| | | | | | | | | | | | | vnode of the parent. However, this check should not be performed if the lookup failed. This change should fix "union_lookup returning . not same as startdir" panics people were seeing. The bug was introduced by an incomplete import of a NetBSD delta in rev 1.38. - Move the aforementioned check out from DIAGNOSTIC. Performance is the least of our unionfs worries. - Minor reorganization. PR: 53004 MFC after: 1 week
* - Remove long dead code.alc2003-11-141-15/+0
|
* Fix ${LOCAL_PATCHES} (chdir was ignored).kuriyama2003-11-141-2/+1
|
* Use the new defines that include the trailing '\0' in the code.harti2003-11-144-21/+27
| | | | | | | Replace occurences of the magic constant 2 with an offsetof macro call that computes the size of the leading members of the sockaddr. Use strlcpy instead of sprintf where appropriate. Document the new changes in the man page.
* Note to update cfsd (ports/security/cfs) after installing themckusick2003-11-141-1/+3
| | | | | | statfs changes. Submitted by: Marco Wertejuk <wertejuk@mwcis.com>
* - Add documentation for EBUSY.alc2003-11-141-2/+4
| | | | | - Remove EIO. - Add a cross reference to mlock(2).
* Changes to msync(2)alc2003-11-142-4/+4
| | | | | | | | | | - Return EBUSY if the region was wired by mlock(2) and MS_INVALIDATE is specified to msync(2). This is required by the Open Group Base Specifications Issue 6. - vm_map_sync() doesn't return KERN_FAILURE. Thus, msync(2) can't possibly return EIO. - The second major loop in vm_map_sync() handles sub maps. Thus, failing on sub maps in the first major loop isn't necessary.
* Add required reboot into single-user mode step.imp2003-11-141-0/+1
| | | | | | # mdoc janitors should make sure I did the markup right Inspired by: recent problems in this area
* Despam the const poisoningimp2003-11-141-5/+5
| | | | Despam the u_->u change
* reconst poisonimp2003-11-142-20/+20
| | | | re-de u_intXX_t
* Reconst-poison crc routine that was renamed to mchash.imp2003-11-141-5/+5
| | | | re-remove the _ in u_intXX_t
* Rev 1.61 accidentily added makeoptions NO_MODULES=yes. Funny that I add thisjake2003-11-141-11/+10
| | | | | | to all my kernel configs. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Fix a number of style(9) bugs introduced in r1.113 by me.kan2003-11-141-47/+46
| | | | Suggested by: bde
* fix broken _IOR usagemjacob2003-11-141-1/+1
|
* - Drop the process lock before we call into ptrace_{read|write}_int orjeff2003-11-141-4/+7
| | | | | | any functions that call them. Calling proc_rwmem() with the proc lock held is not safe. Currently, we're protected from any races by Giant. Eventually proc_rwmem() should require the proc lock and not Giant.
* - regen.jeff2003-11-145-6/+6
|
OpenPOWER on IntegriCloud