summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Summer of Code 2005: improve libalias - part 1 of 2piso2006-09-2647-318/+2245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the first part of my previous Summer of Code work, we get: -made libalias modular: -support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime -modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*) -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia -added logging support for kernel side -cleanup After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it. During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load. User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference. The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp). General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'. NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit. Approved by: glebius Reviewed by: glebius, ru
* The need to run a filter also implies that bouncing could be possible, soscottl2006-09-261-5/+4
| | | | | | just use the COULD_BOUNCE flag for both and retire the USE_FILTER flag. This fixes the problem that rev 1.81 introduced with the if_bfe driver (and possibly others).
* Add a -a option as a no-op for Solaris compatibility, as brieflyceri2006-09-262-2/+8
| | | | | | | | discussed on src-committers. This is intentionally not included in the usage() function as it would confuse the output too much. Approved by: jhb MFC after: 1 week
* Remove bogus casts of valid integer ioctl() arguments.ru2006-09-262-6/+6
|
* Remove second person from the sentece and rephrase a bit.danger2006-09-261-8/+6
| | | | Approved by: trhodes (mentor), keramida (mentor)
* Behave as documented when reading fields saying "X/Y" where X != *brian2006-09-261-1/+3
| | | | | | rather than mis-parsing them as "X". MFC after: 1 day
* Fix a memory leak in ipmi_unload().jhb2006-09-261-1/+3
| | | | | CID: 1542 Found by: Coverity Prevent
* Oops. Catch up on the last couple of releases and prepare for the nextkensmith2006-09-261-0/+3
| | | | one.
* Only support the SMB_OLD_BREAD ioctl if one of COMPAT_FREEBSD[456] isjhb2006-09-261-0/+6
| | | | defined.
* PC98 would also like a trademark.rwatson2006-09-261-1/+2
| | | | | | | | Who would have thought that getting a kernel printf right would be so tricky? MFC after: 3 days Submitted by: Gavin Atkinson <gavin dot atkinson at ury dot york dot ac dot uk>
* Add a value to the define I forgot, for the purity's sake.ru2006-09-261-1/+1
|
* Now that we have COMPAT_FREEBSD6 officially, use it from opt_compat.h.ru2006-09-262-2/+6
|
* Added COMPAT_FREEBSD6 option.ru2006-09-268-1/+11
|
* Fix typovd2006-09-261-2/+1
| | | | | | PR: docs/103666 Submitted by: vd Approved by: maxim
* Fix both arguments to err().ru2006-09-261-1/+1
|
* Begin the process of moving info to sysctl stuff for FreeBSDmjacob2006-09-262-1/+47
| | | | by providing OIDs for WWNN/WWPN and Initiator ID.
* Protect change to bo_flag by holding the bufobj mutex.tegge2006-09-261-0/+2
|
* Reduce fluctuations of mnt_flag to allow unlocked readers to get ategge2006-09-262-8/+7
| | | | slightly more consistent view.
* Don't restore MNT_QUOTA bit in mnt_flag after snapshot creation,tegge2006-09-261-1/+1
| | | | closing a race between nmount() and quotactl().
* Don't restore MNT_QUOTA bit in mnt_flag after a failed mount withtegge2006-09-261-1/+2
| | | | MNT_UPDATE flag, closing a race between nmount() and quotactl().
* Increase mnt_noasync once in softdep_mount() to disallow async io,tegge2006-09-262-0/+6
| | | | | | | closing a window where a file system using softupdates could be async for a short while if both MNT_UPDATE and MNT_ASYNC were passed as flags to nmount(). Add MNTK_SOFTDEP flag to ensure that softdep_mount() doesn't increase mnt_noasync multiple times.
* Add mnt_noasync counter to better handle interleaved calls to nmount(),tegge2006-09-2610-18/+40
| | | | | | sync() and sync_fsync() without losing MNT_ASYNC. Add MNTK_ASYNC flag which is set only when MNT_ASYNC is set and mnt_noasync is zero, and check that flag instead of MNT_ASYNC before initiating async io.
* Don't restore mnt_kern_flag on failed MNT_UPDATE mount, it can racetegge2006-09-261-5/+2
| | | | with dounmount(), causing loss of MNTK_UNMOUNT flag.
* Use mount interlock to protect all changes to mnt_flag and mnt_kern_flag.tegge2006-09-2627-22/+174
| | | | | This eliminates a race where MNT_UPDATE flag could be lost when nmount() raced against sync(), sync_fsync() or quotactl().
* Catch up with share/mk/bsd.sys.mk rev. 1.38.obrien2006-09-261-1/+0
|
* fix calculating to_tsecr... This prevents the rtt calculations fromjmg2006-09-262-2/+2
| | | | going all wonky...
* It is possible for bpf to return a length such that:brooks2006-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | length != BPF_WORDALIGN(length) This meeans that it is possible for this to be true: interface->rbuf_offset > interface->rbuf_len Handle this case in the test for running out of packets. While OpenBSD's solution of setting interface->rbuf_len to BPF_WORDALIGN(length) is safe due to the size of the buffer, I think this solution results in less hidden assumptions. This should fix the problem of dhclient running away and consuming 100% CPU. PR: bin/102226 Submitted by: Joost Bekkers <joost at jodocus.org> MFC after: 3 days
* SI_ORDER_THIRD + 2, not SI_ORDER_FOURTH + 2.rwatson2006-09-261-1/+1
| | | | | MFC after: 3 days Submitted by: mlaier
* Add "FreeBSD" trademark statement to copyright section of boot messages.rwatson2006-09-252-3/+9
| | | | | MFC after: 3 days Approved by: core, board at FreeBSDFoundation dot org
* Document config_intrhook.imp2006-09-252-0/+105
| | | | MFC After: 250 millifortnights
* Fix a typo in af_inet6.c such that IPv6 addresses may be deletedbms2006-09-251-1/+1
| | | | | | | | from interfaces. PR: bin/102701 Submitted by: George Mitchell MFC after: 3 days
* Fix bug introduced in rev 1.23:marck2006-09-251-1/+6
| | | | | | | | pw_equal does not check crypted password field, so one cannot change crypted password keeping other fields intact. Approved by: des MCF after: 3 days
* Merge OpenBSM 1.0 alpha 12 import changes into src/sys/bsm. New eventsrwatson2006-09-251-1/+5
| | | | | | | for the Linuxulator. MFC after: 3 days Obtained from: TrustedBSD Project
* auditreduce now requires OpenBSM's config/config.h, so add that to therwatson2006-09-251-0/+2
| | | | | | | build include path. MFC after: 3 days Obtained from: TrustedBSD Project
* Hook up additional OpenBSM man page aliases following OpenBSM 1.0 alpha 12rwatson2006-09-251-11/+20
| | | | | | | import. Most of these should have existed previously, but didn't. MFC after: 3 days Obtained from: TrustedBSD Project
* Fix an incompatibility between CARP and IPv4 multicast routing, wherebybms2006-09-251-0/+1
| | | | | | | | | | | | | the VRRPv2 advertisements will originate from the wrong source address. This only affects kernels compiled with MROUTING and after the MRT_INIT ioctl() has been issued. Set imo_multicast_vif in carp's softc to the invalid value -1 after it is zeroed by softc allocation, to stop the ip_output() path looking up the incorrect source address thinking a vif is set. PR: kern/100532 Submitted by: Bohus Plucinsky MFC after: 1 week
* Resolve conflicts from OpenBSM 1.0 alpha 12 import.rwatson2006-09-252-2/+7
| | | | Obtained from: TrustedBSD Project
* Splelingbms2006-09-251-1/+1
| | | | Submitted by: pjd
* Update the mfi module build with the mfi_debug.c file.scottl2006-09-251-1/+3
|
* This commit was generated by cvs2svn to compensate for changes in r162621,rwatson2006-09-2516-57/+290
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following changerwatson2006-09-2519-60/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | history notes since the last import: OpenBSM 1.0 alpha 12 - Correct bug in auditreduce which prevented the -c option from working correctly when the user specifies to process successful or failed events. The problem stemmed from not having access to the return token at the time the initial preselection occurred, but now a second preselection process occurs while processing the return token. - getacfilesz(3) API added to read new audit_control(5) filesz setting, which auditd(8) now sets the kernel audit trail rotation size to. - auditreduce(1) now uses stdin if no file names are specified on the command line; this was the documented behavior previously, but it was not implemented. Be more specific in auditreduce(1)'s examples section about what might be done with the output of auditreduce. - Add audit_warn(5) closefile event so that administrators can hook termination of an audit trail file. For example, this might be used to compress the trail file after it is closed. - auditreduce(1) now uses regular expressions for pathname matching. Users can now supply one or more (comma delimited) regular expressions for searching the pathnames. If one of the regular expressions is prefixed with a tilde (~), and a path matches, it will be excluded from the search results. MFC after: 3 days Obtained from: TrustedBSD Project
* | Add the mfi_debug.c file and MFI_DEBUG option.scottl2006-09-252-0/+2
| |
* | Add a command debugging module and a periodic watchdog timer.scottl2006-09-253-0/+287
| | | | | | | | Sponsored by: IronPort
* | add support for the ALI/ULI M5288 AHCI part.sos2006-09-251-0/+7
| | | | | | | | patch by: Sven Petai
* | Forced commit to note this change should be MFCed.bms2006-09-250-0/+0
| | | | | | | | MFC after: 1 week
* | Account for output IP datagrams on the ifaddr where they originated from,bms2006-09-252-8/+26
| | | | | | | | | | | | | | | | *not* the first ifaddr on the ifp. This is similar to what NetBSD does. PR: kern/72936 Submitted by: alfred Reviewed by: andre
* | if min is greater than max, prefer max over min... I managed to get ajmg2006-09-251-1/+1
| | | | | | | | | | | | retransmit timer that was going to take 19 days to trigger... Reviewed by: silby
* | remove unnecessary NULL check...jmg2006-09-251-2/+1
| | | | | | | | Coverity ID: 1545
* | Add a newline to the printf.imp2006-09-241-1/+1
| |
* | Fix uninitialized variable warning.netchild2006-09-241-0/+1
| | | | | | | | | | Submitted by: dhw Reviewed by: ryanb
OpenPOWER on IntegriCloud