summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed threadattilio2008-08-2863-316/+289
| | | | | | was always curthread and totally unuseful. Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
* Add links to all libpcap functions.pjd2008-08-281-0/+48
|
* - Make strict-sacks be the default.rrs2008-08-287-6/+126
| | | | | | | - Change it so that without INVARIANTs there are no panics in SCTP. - sctp_timer changes so that we have a recovery mechanism when the sent list is out of order.
* In ffs_valloc(), ffs_vget() may fail because insmntque() refused tokib2008-08-281-1/+11
| | | | | | | | | | | | | | insert new vnode into the mount vnode list. Then, for the SU-enabled mount, ffs_vfree could create freefile dependency. This dependency can hang around forever since inode is not marked as IN_MODIFIED and correspondingly inodeblock may be not marked as dirty. After ffs_vget() fails, retry with FFSV_FORCEINSMQ, mark the inode as modified, and vput() it immediately. Take care of the dup alloc. Tested by: pho Reviewed by: tegge MFC after: 1 month
* Softdep code may need to instantiate vnode when processingkib2008-08-283-15/+59
| | | | | | | | | | | | | | | | | | dependencies. In particular, it may need this while syncing filesystem being unmounted. Since during unmount MNTK_NOINSMNTQUE flag is set, that could sometimes disallow insertion of the vnode into the vnode mount list, softdep code needs to overwrite the MNTK_NOINSMNTQUE flag. Create the ffs_vgetf() function that sets the VV_FORCEINSMQ flag for new vnode and use it consistently from the softdep code instead of ffs_vget(). Add the retry logic to the softdep_flushfiles() to flush the vnodes that could be instantiated while flushing softdep dependencies. Tested by: pho, kris Reviewed by: tegge MFC after: 1 month
* Introduce the VV_FORCEINSMQ vnode flag. It instructs the insmnque() functionkib2008-08-282-5/+21
| | | | | | | | | | | | | | | | | to ignore the unmounting and forces insertion of the vnode into the mount vnode list. Change insmntque() to fail when forced unmount is in progress and VV_FORCEINSMQ is not specified. Add an assertion to the insmntque(), requiring the vnode to be exclusively locked for mp-safe filesystems. Use the VV_FORCEINSMQ for the creation of the syncvnode. Tested by: pho Reviewed by: tegge MFC after: 1 month
* Move initialization of tlb0, ptbl_bufs and kernel_pdir regions after we areraj2008-08-281-6/+14
| | | | | | | 100% sure that TLB1 mapping covers for them; previously we could lock the CPU with an untranslated references. Obtained from: Semihalf
* Google changed the location of the blacklists again.gshapiro2008-08-281-1/+1
| | | | Submitted by: Tim Pozar
* If no atime was specified (for example, when extracting from ustarkientzle2008-08-282-1/+11
| | | | | archives), set atime == mtime. Before this, atime would get restored to 0.
* Update import/merge instructions for the svn repogshapiro2008-08-281-12/+25
|
* Merge sendmail 8.14.3 into HEAD.gshapiro2008-08-2843-156/+416
| | | | | | | | Note: As the first merge since the conversion to svn, it includes many propset changes to get the proper svn:eol-style and svn:mime-type on the files (as merged from the fixed up vendor/dist area). MFC after: 3 days
* Remove hack attempt at using devfs cloning for per-file descriptor storage.jhb2008-08-282-134/+37
| | | | | | | | Use the much simpler cdevpriv for per-fd state and enable it. This allows multiple opens of /dev/ipmi0 (e.g. using ipmitool while ipmievd is running in the background). MFC after: 1 week
* - Tweak an error message.jhb2008-08-281-3/+3
| | | | | | | - Fix a buglet where && was used instead of & to test if OBF was set in a couple of places. MFC after: 1 week
* Merge ath_hal 0.10.5.10 to head.rpaulo2008-08-2876-120629/+176586
| | | | Approved by: sam
* Fix a panic in MAC kernels that was a result of un-initialized labelcsjp2008-08-271-3/+0
| | | | | | | | | storage. We can safely remove the label copying operations since M_MOVE_PKTHDR will move the mbuf tags (which contain MAC labels) to the destination mbuf. MFC after: 1 week Discussed with: rwatson
* Add a test for r182300.stefanf2008-08-272-0/+7
|
* Fix a bug in r177497 which caused the getopts state to be reset when 'set'stefanf2008-08-271-1/+1
| | | | | | was used to set a shell option (and not to change the positional parameters). Submitted by: Martin Kammerhofer
* Properly unlock the init/lock-state devices when invoking TIOCSETA.ed2008-08-271-1/+0
| | | | | | | | For some reason a return-statement crept into this code, where it shouldn't belong. This means we didn't properly unlock the TTY before returning to userspace. Submitted by: Tor Egge <tor egge cvsup no freebsd org>
* - Updated support for 5716.davidch2008-08-272-297/+545
| | | | | | | | | | | - Added some additional code for debug builds. - Fixed a problem printing physical memory on 64bit system during debugging. - Modified some of the context memory and mailbox register names to more clearly distinguish their use. - Added memory barriers for Intel CPUs when accessing host memory data structures which are written by hardware. MFC after: Two weeks.
* - Only count the number of CPUs in the rendezvous map once rather thanjhb2008-08-271-14/+8
| | | | | | | | | | doing it on every CPU. - Use CPU_ABSENT() rather than pcpu_find() to determine if a CPU is not present. - Count up to mp_maxid rather than MAXCPU when iterating over CPUs to match the rest of the code in the kernel. MFC after: 1 week
* Add the needed _setjmp.S for MIPS.obrien2008-08-271-0/+139
| | | | Obtained from: Juniper Networks
* Move CTASSERT of ether header sizes out of the header file and intoemaste2008-08-272-5/+5
| | | | | | | | | | if_ethersubr.c. CTASSERT is implemented using a dummy typedef, which if used in a header file may conflict with another CTASSERT in a source file using that header. I'll make a note of this in CTASSERT's man page. Approved by: imp
* Trivial typo fix.ivoras2008-08-271-1/+1
| | | | Approved by: gnn (mentor)
* Implement -R support, similar to ping(8)'s -A.matteo2008-08-272-14/+34
| | | | | | | | | | ping(8)'s -a was mapped to -e, but -E was already taken in ping6 (old option) so rename -e to -r. Now: ping -a => ping6 -r ping -A => ping6 -R MFC after: 2 days
* Add -e to usage()matteo2008-08-271-1/+1
| | | | MFC after: 2 days
* - When we close a socket with pending assoc's that are stillrrs2008-08-271-0/+1
| | | | | | | shutting down, NULL out the socket pointer so we won't ever refer to a dead socket. Obtained from: Neil Wilson
* Fix typo.rpaulo2008-08-271-2/+2
|
* Remove opt_wi.h from module and fix typo in pccarddevs.imp2008-08-272-7/+2
|
* Remove opt_wi.himp2008-08-271-2/+0
|
* Add recent ELSA additions to wi(4), plus make sure the list matchesimp2008-08-271-0/+3
| | | | | | | | the driver for ELSA. PR: 77913 Submitted by: Daan Vreeken MFC after: 3 days
* The APDL-325 is a Wireless LAN pcmcia adapter that sits inside someimp2008-08-272-0/+2
| | | | | | | | Billion Access Points. Fix wi(4) to recognise the adapter. PR: 77913 Submitted by: Daan Vreeken [PA4DAN] MFC after: 3 days
* Some PC Cards don't have the proper IRQ mask in them. The standardimp2008-08-271-0/+2
| | | | | | | | | | says that in such cases we can pick any interrupt. One of these cards is the LG11 Wireless LAN card. I don't have one of these, but I do know that this doesn't hurt any cards I've tried it with. PR: 92070 Submitted by: Helge Oldach MFC after: 3 days
* Add preliminary support for the OLICOM OC2231 and OC2232. This is theimp2008-08-271-12/+55
| | | | | | first driver that does the configuration dance with CFE's. There's likely some additional configuration that's needed to get things working completely...
* Add thread-specific caching for small size classes, based on magazines.jasone2008-08-275-256/+1143
| | | | | | | | | | | | | | | | | | | | | | | | This caching allows for completely lock-free allocation/deallocation in the steady state, at the expense of likely increased memory use and fragmentation. Reduce the default number of arenas to 2*ncpus, since thread-specific caching typically reduces arena contention. Modify size class spacing to include ranges of 2^n-spaced, quantum-spaced, cacheline-spaced, and subpage-spaced size classes. The advantages are: fewer size classes, reduced false cacheline sharing, and reduced internal fragmentation for allocations that are slightly over 512, 1024, etc. Increase RUN_MAX_SMALL, in order to limit fragmentation for the subpage-spaced size classes. Add a size-->bin lookup table for small sizes to simplify translating sizes to size classes. Include a hard-coded constant table that is used unless custom size class spacing is specified at run time. Add the ability to disable tiny size classes at compile time via MALLOC_TINY.
* Minor tweaks to remove references to files that aren't present in theimp2008-08-271-8/+1
| | | | | current FreeBSD/mips source base. Make phases consistent. Remove comment that's no longer relevant.
* Sort the network options alphabetically. They were mostlyimp2008-08-271-26/+23
| | | | alphabetical before.
* Remove left-over divot from wi driver cleanup Sam did a while ago.imp2008-08-271-3/+0
| | | | | Since Symbol Firmware support was removed, it makes little sense to have an option to enable loading of Symbol Firmware.
* Add a test case for null filter.jkim2008-08-263-11/+35
|
* Move empty filter handling to MI source.jkim2008-08-263-10/+26
| | | | MFC after: 3 days
* Add more test cases for invalid instructions and add commentsjkim2008-08-267-9/+232
| | | | about bpf_validate(9) issues.
* Disable the code to generate a simple table from the status MSR by default.jhb2008-08-261-0/+5
| | | | This can be enabled by setting the 'hw.est.msr_info' tunable to 1.
* Improve kernel stack handling on e500.raj2008-08-263-24/+56
| | | | | | | | | | - Allocate thread0.td_kstack in pmap_bootstrap(), provide guard page - Switch to thread0.td_kstack as soon as possible i.e. right after return from e500_init() and before mi_startup() happens - Clean up temp stack area - Other minor cosmetics in machdep.c Obtained from: Semihalf
* Revert the previous commit to fix buildworld for now.jkim2008-08-261-2/+1
| | | | | We have constified 'struct bpf_insn *' for bpf_filter(9) and bpf_validate(9) since r1.19 but they conflict with pcap.h from libpcap.
* Add ECN stats.rpaulo2008-08-261-0/+5
|
* Implement audible support similar to ping(8) -a option. Since -a was already ↵matteo2008-08-262-3/+16
| | | | | | | taken, I chose -e (no real argument for this) but I'm willing to change to a different character if needed/desired. PR: bin/123752 (inspired by) MFC after: 2 days
* Add geom_journalmatteo2008-08-261-0/+1
| | | | | PR: conf/126829 MFC after: 2 days
* Implement WNOWAIT flag for wait4(2). It specifies that process whose statuskib2008-08-263-5/+28
| | | | | | | | | is returned shall be kept in the waitable state. Add WSTOPPED as an alias for WUNTRACED. Submitted by: Jukka Ukkonen <jau at iki fi> PR: standards/116221 MFC after: 2 weeks
* When calculating arguments to the interpreter for the shebang scriptkib2008-08-262-6/+40
| | | | | | | | executed by fexecve(2), imgp->args->fname is NULL. Moreover, there is no way to recover the path to the script being executed. Do what some other U*ixes do unconditionally, namely supply /dev/fd/n as the script path when called from fexecve(). Document requirement of having fdescfs mounted as caveat.
* tsec: Refactor driver's structure.raj2008-08-264-557/+633
| | | | | | | | | | | | Split the driver into the core functionality part (sys/dev/tsec/if_tsec.c) and the bus attachment (sys/dev/tsec/if_tsec_ocp.c). This lets better integrate and maintain the driver in other environments with different attachment abstractions (there is at least one other FreeBSD port -- MPC83xx -- which uses this TSEC driver, but with different local bus model i.e. some OF derivative). While there, clean up and fix minor cosmetics. Obtained from: Semihalf
* tsec: Improve and clean up callouts.raj2008-08-262-19/+15
| | | | | | | | - eliminate the unused tsec_tick_ch callout - adjust and fix the main tsec callout handling - minor naming improvements Obtained from: Semihalf
OpenPOWER on IntegriCloud