summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Don't defer the removal of an 802.1q header for no real reason.yar2006-12-301-25/+16
| | | | | | - Micro-optimize the addition of an 802.1q header to match the removal code. - Consistently check for interfaces being up and running. - Consistently use NULL instead of 0 with pointers.
* now that MFS_IMAGE is in the FULLKERNEL section, use FULLKERNEL instead ofjmg2006-12-301-4/+4
| | | | | | KERNEL_KO, this fixes MFS_IMAGE on a debugging kernel... Submitted by: Neelkanth Natu
* Remove alpha-specific stuff from the hardware notes (these are mostlybmah2006-12-303-84/+64
| | | | | | | in attributes for generating MD hardware, as well as a few alpha-only paragraphs here and there). While here, bump copyright date in dev.archlist.txt.
* Whitespace fix and remove an extra cast.jhb2006-12-302-2/+4
|
* Be consistent with the spelling of "dependent" in user-visible places.ceri2006-12-301-1/+1
| | | | | PR: kern/27429 Submitted by: T. William Wells
* MFC:danger2006-12-290-0/+0
| | | | | | | - add some files to FILES section and provide their description - reference devfs.conf and devfs.rules in SEE ALSO section Approved by: keramida (mentor), trhodes (mentor)
* Some how the d slipped out in the last commit, add it back...jmg2006-12-291-1/+1
| | | | Pointed out by: mdoc-police (ru)
* Summer of Code 2005: improve libalias - part 2 of 2piso2006-12-298-11/+1651
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With the second (and last) part of my previous Summer of Code work, we get: -ipfw's in kernel nat -redirect_* and LSNAT support General information about nat syntax and some examples are available in the ipfw (8) man page. The redirect and LSNAT syntax are identical to natd, so please refer to natd (8) man page. To enable in kernel nat in rc.conf, two options were added: o firewall_nat_enable: equivalent to natd_enable o firewall_nat_interface: equivalent to natd_interface Remember to set net.inet.ip.fw.one_pass to 0, if you want the packet to continue being checked by the firewall ruleset after being (de)aliased. NOTA BENE: due to some problems with libalias architecture, in kernel nat won't work with TSO enabled nic, thus you have to disable TSO via ifconfig (ifconfig foo0 -tso). Approved by: glebius (mentor)
* a) macro-ization of all mbuf and random numberrrs2006-12-2917-1341/+1222
| | | | | | | | | | | | | | | | | | access plus timers. This makes the code more portable and able to change out the mbuf or timer system used more easily ;-) b) removal of all use of pkt-hdr's until only the places we need them (before ip_output routines). c) remove a bunch of code not needed due to <b> aka worrying about pkthdr's :-) d) There was one last reorder problem it looks where if a restart occur's and we release and relock (at the point where we setup our alias vtag) we would end up possibly getting the wrong TSN in place. The code that fixed the TSN's just needed to be shifted around BEFORE the release of the lock.. also code that set the state (since this also could contribute). Approved by: gnn
* Slightly resort functions in file so that no forward function prototypesrwatson2006-12-291-49/+46
| | | | | | are required. Obtained from: TrustedBSD Project
* Re-add include of opt_mac.h in mac_framework.c, which was improperlyrwatson2006-12-291-0/+2
| | | | | removed from this file. It is required to pick up the definition of MAC_STATIC.
* Re-connect snmp_bridge to the build. It survived a make universebz2006-12-291-0/+1
| | | | (apart from powerpc where the build broke earlier).
* bridge_snmp.hbz2006-12-293-75/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | * Change the API of bridge_get_basemac to take a maximum buffer length. bridge_if.c * Adopt to new API. * In bridge_attach_newif() remove an additional pointer to the buffer by shuffling the code a bit. Also makes the code more readable. bridge_sys.c * bridge_get_basemac(): - Adopt to the new API. - Change check for error code of getifaddrs(). - First check for sa_family != AF_LINK. - Copy sockaddr_dl * to get around alignment constraints on some platforms. - Use strcmp instead of strncmp so that "foo11" != "foo1". * other functions: - Allocate n times of the struct we need instead of arbitrary len, cast to the type we want it to be and pass around struct *s instead of char *s. This gets us around alignment restrictions on some platforms and in addition it is more clear what data is passed around. - Name variables for same types consistently. Reviewed by: syrinx
* Fix an off-by-one which could mean writing beyond the end of the arraybz2006-12-291-2/+2
| | | | | when copying the interface name. This code part should probably be rewritten.
* Fix fat-fingering in previous commit.jhb2006-12-294-5/+5
| | | | Pointy hat to: jhb
* - Fix markup.ru2006-12-291-42/+44
| | | | | | | | | - Somewhat improve wording. - Change the layout of the EXAMPLES section so that descriptions come before example, as in most other manpages. - Fix a bad example that edits a label using a `c' partition.
* Add "nojail" keyword to prevent spurious error messages.hrs2006-12-291-0/+1
| | | | | Spotted by: Keve Nagy PR: conf/107083
* Fix oops in previous commit.bde2006-12-291-1/+1
|
* Fixed some style bugs (mainly assorted errors in comments, and inconsistentbde2006-12-292-49/+49
| | | | spelling of `result').
* Some whitespace nits and remove a few casts.jhb2006-12-294-7/+11
|
* Fixed some style bugs (whitespace only).bde2006-12-292-61/+65
|
* Various bpf(4) related fixes to catch places up to the new bpf(4)jhb2006-12-2913-37/+33
| | | | | | | | | | | | | semantics. - Stop testing bpf pointers for NULL. In some cases use bpf_peers_present() and then call the function directly inside the conditional block instead of the macro. - For places where the entire conditional block is the macro, remove the test and make the macro unconditional. - Use BPF_MTAP() in if_pfsync on FreeBSD instead of an expanded version of the old semantics. Reviewed by: csjp (older version)
* Work around a long standing LOR with user/group rules by doing the socketmlaier2006-12-293-0/+17
| | | | | | | | | | lookup early. This has some performance implications and should not be enabled by default, but might help greatly in certain setups. After some more testing this could be turned into a sysctl. Tested by: avatar LOR ids: 17, 24, 32, 46, 191 (conceptual) MFC after: 6 weeks
* Try harder to garbage-collect the "LOCORE" (really asm) version ofbde2006-12-292-11/+11
| | | | | | | | | | MPLOCKED. The cleaning in rev.1.25 was supposed to have been undone by rev.1.26, but 1.26 could never have actually affected asm files since atomic.h is full of C declarations so including it in asm files would just give syntax errors. The asm MPLOCKED is even less needed than when misplaced definitions of it were first removed, and is now unused in any asm file in the src tree except in anachronismns in sys/i386/i386/support.s.
* Build bits for ng_deflate(4) and ng_pred1(4).glebius2006-12-297-0/+22
|
* Fix a group of typos:yar2006-12-296-6/+6
| | | | | | | | preceed -> precede, preceeded -> preceded, preceeding -> preceding. Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
* - More search and replace prettying.jeff2006-12-291-12/+12
|
* Fix SUSv3 compliance: Use a single comma instead of comma and space to separatestefanf2006-12-291-1/+1
| | | | | | | additional group entries. PR: 107298 Submitted by: Joost Bekkers
* Remove two XXX comments that no longer apply.rwatson2006-12-291-5/+0
| | | | Obtained from: TrustedBSD Project
* Use p_cansee() to check that a target process for an audit staterwatson2006-12-291-3/+9
| | | | | | | | | | manipulation is visible to the subject process. Remove XXX comments suggesting this. Convert one XXX on a difference from Darwin into a note: it's not a bug, it's a feature. Obtained from: TrustedBSD Project
* Manual page for Predictor-1 PPP compression netgraph node.glebius2006-12-291-0/+145
| | | | Submitted by: Alexander Motin <mav alkar.net>
* Manual page for Deflate PPP compression netgraph node.glebius2006-12-291-0/+159
| | | | Submitted by: Alexander Motin <mav alkar.net>
* Add a witness sleep warning to canon_path(), which invokes vput() and hencerwatson2006-12-292-3/+3
| | | | | | | may perform an unbounded sleep. Remove an XXX comment suggesting that one be added. Obtained from: TrustedBSD Project
* - Clean up a bit after the most recent KSE restructuring.jeff2006-12-291-206/+201
|
* A node that implements Predictor-1 compression for PPP.glebius2006-12-292-0/+781
| | | | Submitted by: Alexander Motin <mav alkar.net>
* Fix tab lossage.ru2006-12-291-1/+1
|
* Remove extraneous whitespace.ru2006-12-294-7/+7
|
* The Christmas holidays were not showing up due to missing <tab>.ru2006-12-291-3/+3
|
* -mdoc knows about FreeBSD 7.0 as well.ru2006-12-291-1/+0
| | | | Reminded by: ceri
* Piggyback watchdog timer handling with msk_tick which is called everyyongari2006-12-292-13/+9
| | | | | hz. This will result in slightly faster Tx processing as it does not need lock operations for callouts in msk_start/msk_txeof.
* Fix interrupt handling on a dual port card. Previously it ignoredyongari2006-12-291-10/+6
| | | | | | | the second port interrupt if the first port was in down state. Since I don't have a dual port card it's just guess work. Noticed by: jhb
* Fix MSI support. Now it correctly allocates SYS_RES_IRQ resourcesyongari2006-12-292-27/+55
| | | | | | | on Yukon II which reports it can handle two messages. Submitted by: jhb Tested by: bms
* Regenerate.rwatson2006-12-293-17/+17
|
* Assign or clean up audit identifiers for a number of additional Linuxrwatson2006-12-291-18/+19
| | | | | | | | | system calls on the amd64 architecture. Some minor white space tweaks for consistency with other syscalls.master files. Obtained from: TrustedBSD Project
* In cpu_reset(), call OF_reboot() instead of OF_exit(). The lattermarcel2006-12-282-2/+4
| | | | | doesn't do a reboot and has been observed to reset the NVRAM to its default values.
* Add missing include guards to mac_internal.h, update include guards inrwatson2006-12-282-3/+8
| | | | | | mac_policy.h following move to new location in src/sys/security/mac. Obtained from: TrustedBSD Project
* bump doc date and fix spelling...jmg2006-12-281-2/+2
| | | | Pointed out by: mdoc-police (ru)
* Update a number of comments:rwatson2006-12-284-23/+22
| | | | | | | | | | | | - Replace XXX with Note: in several cases where observations are made about future functionality rather than problems or bugs. - Remove an XXX comment about byte order and au_to_ip() -- IP headers must be submitted in network byte order. Add a comment to this effect. - Mention that we don't implement select/poll for /dev/audit. Obtained from: TrustedBSD Project
* Remove XXX comments about EA transaction support and provide a morerwatson2006-12-281-6/+11
| | | | | | | general and detailed comment on the topic of EA transactions and kernel warnings. Obtained from: TrustedBSD Project
* Remove an inaccurate comment I added regarding storage for mbuf tagrwatson2006-12-281-7/+0
| | | | | | labels: they are in fact stored in the tag directly. Obtained from: TrustedBSD Project
OpenPOWER on IntegriCloud