summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a type-aliasing problem in the libarchive test suite,kientzle2008-09-082-4/+5
| | | | restore WARNS=6.
* Commit the no-brainer parts of my space saving kernel experiments. Weimp2008-09-081-1/+5
| | | | | | | don't inline the locking primitives, and only grab those parts of mii that we really need. Other space optimizations are too agressive for the generic file (removing all of usb, and loading it as kernel modules).
* Correct a leaking archive_entry in the test suite.kientzle2008-09-071-0/+1
|
* Merge from vendor/ntp/dist: r182856:roberto2008-09-071-2/+2
| | | | | | | Apply updated patch from bin/92839 to avoid two possible buffer overflows. PR: bin/92839 Submitted by: Helge Oldach <freebsdntpd@oldach.net>
* To my reading there are no real consumers of ip6_plen (IPv6bz2008-09-072-2/+2
| | | | | | | | | | | | | | | Payload Length) as set in tcpip_fillheaders(). ip6_output() will calculate it based of the length from the mbuf packet header itself. So initialize the value in tcpip_fillheaders() in correct (network) byte order. With the above change, to my reading, all places calling tcp_trace() pass in the ip6 header via ipgen as serialized in the mbuf and with ip6_plen in network byte order. Thus convert the IPv6 payload length to host byte order before printing. MFC after: 2 months
* Fix deactivation of speakers while plugging in headphones on Fujitsujoel2008-09-071-0/+9
| | | | | | | | | | U1010, Lenovo 3k N200 and Acer Aspire 4715Z. Reviewed by: attilio PR: 126216, 126244, 127034 Submitted by: Anton E. Kartashev <amokk@mirahost.ru>, Ganael Laplanche <ganael.laplanche@martymac.com>, Dennis Generaloff <giantlock@gmail.com>
* Use %d to print numfibsmatteo2008-09-071-1/+1
| | | | MFC after: 1 day
* Minor cleanup of this config file:imp2008-09-071-9/+12
| | | | | | | | o It has been tested only on KB9202, KB9202A and KB9202B boards o Better comments about hints o option<space><tab> o Add newer SX_NOINLINE option. o Fix a few comments
* Split tcp_mss() in tcp_mss() and tcp_mss_update() where the formerbz2008-09-073-88/+66
| | | | | | | | | | | | | | | calls the latter. Merge tcp_mss_update() with code from tcp_mtudisc() basically doing the same thing. This gives us one central place where we calcuate and check mss values to update t_maxopd (maximum mss + options length) instead of two slightly different but almost equal implementations to maintain. PR: kern/118455 Reviewed by: silby (back in March) MFC after: 2 months
* Add support for MacBook Air. (not tested)rpaulo2008-09-072-2/+13
| | | | Obtained from: mactel-linux
* Segment registers are stored in the uc_mcontext member of the structkib2008-09-074-5/+7
| | | | | | | | | l_ucontext. To restore the registers content, trampoline needs to dereference uc_mcontext instead of taking some undefined values from l_ucontext. Submitted by: Dmitry Chagin <dchagin@> MFC after: 1 week
* V_irtualize SVN r182846 tcp_mssdflt/tcp_v6mssdflt procedure basedbz2008-09-071-4/+4
| | | | | | sysctl implementations for VIMAGE the same way we did elsewhere: update the implementation but leave the globals and the SYSCTL statement untouched.
* Bring a paragraph in this manual page a bit closer to the present date.trhodes2008-09-071-2/+2
| | | | Discussed with: des
* Convert SYSCTL_INTs for tcp_mssdflt and tcp_v6mssdflt tobz2008-09-071-6/+42
| | | | | | | | | | | SYSCTL_PROCs and check that the default mss for neither v4 nor v6 goes below the minimum MSS constant (216). This prevents people from shooting themselves in the foot. PR: kern/118455 (remotely related) Reviewed by: silby (as part of a larger patch in March) MFC after: 2 months
* Change space -> tab in printed usage output to make it look consistent.simon2008-09-071-1/+1
|
* - Make use of the new and g_device_path utility function in libgeom to avoidlulf2008-09-072-82/+53
| | | | | | | | | duplication of code in fdisk and boot0cfg. Also make use of g_providername to fix an issue with fdisk and boot0cfg not using the correct provider when writing the MBR. Reviewed by: phk Approved by: pjd (mentor)
* - Add a new ioctl for getting the provider name of a geom provider.lulf2008-09-074-13/+108
| | | | | | | | - Add a routine for looking up a device and checking if it is a valid geom provider given a partial or full path to its device node. Reviewed by: phk Approved by: pjd (mentor)
* Catch a possible NULL pointer deref in case the offsets got mangledbz2008-09-071-1/+3
| | | | | | | | | | | | | | somehow. As a consequence we may now get an unexpected result(*). Catch that error cases with a well defined panic giving appropriate pointers to ease debugging. (*) While the concensus was that the case should never happen unless there was a bug, noone was definitively sure. Discussed with: kmacy (about 8 months back) Reviewed by: silby (as part of a larger patch in March) MFC after: 2 months
* Add a second KASSERT checking for len >= 0 in the tcp output path.bz2008-09-071-1/+7
| | | | | | | | | This is different to the first one (as len gets updated between those two) and would have caught various edge cases (read bugs) at a well defined place I had been debugging the last months instead of triggering (random) panics further down the call graph. MFC after: 2 months
* Initialize vp, so we don't call VOP_UNLOCK() with NULL vnode pointer.pjd2008-09-071-1/+2
| | | | Confirmed by: marcus
* Correct the comments here.kientzle2008-09-071-2/+2
| | | | | PR: bin/126849 MFC after: 3 days
* When restoring a directory, allow symlinks to be followed. The fullkientzle2008-09-072-3/+88
| | | | | | | | | | | | logic here gets a little complex, but the net effect is that the SECURE_SYMLINKS flag will prevent us from ever following a symlink. Without it, we'll only follow symlinks to dirs. bsdtar specifies SECURE_SYMLINKS by default, suppresses it for -P. I've also beefed up the write_disk_secure test to verify this behavior. PR: bin/126849
* Use bus_space_compare() rather than i386_memio_compare() directly.nyan2008-09-071-1/+1
|
* - Add the i386_memio_map_load() function to load I/O address table.nyan2008-09-073-21/+49
| | | | | - Add the bus_space_compare macro for bus_space consistency. - Switch using the bus_space_map_load() in isa_load_resourcev().
* - Cleanup i8251 related defines.nyan2008-09-073-82/+133
| | | | - Move i8255 related defines into a separate file.
* make all checks if ni_chw consistentsam2008-09-062-2/+2
|
* use c99 syntax for initializers; this silencessam2008-09-061-99/+95
| | | | warnings with picky compiler settings
* only return the negotiated ampdu density for sta modesam2008-09-061-1/+2
|
* o kill IEEE80211_NODE_PSUPDATE; it was never usedsam2008-09-062-9/+5
| | | | | o kill IEEE80211_NODE_CHWUPDATE; it's use was pointless and it was defined wrong (overlap w/ existing flags)
* put back placeholder commentsam2008-09-061-0/+1
|
* o validate the ba policy in addba responsesam2008-09-062-2/+29
| | | | | o leave a check for the max ba window disabled; we accept out of range values and just truncate them but may want to act differently in the future
* add IEEE80211_NODE_HT_ALL to collect up all the HT-related node flagssam2008-09-062-2/+4
|
* don't do ampdu reordering of fragments; they should never happensam2008-09-061-1/+15
|
* moreve the aggregation q; it's not being used andsam2008-09-063-12/+0
| | | | there's a better way to do this
* Check rule numbers against maximum value to avoid rules cleanup duerik2008-09-061-0/+24
| | | | | | to overflow. MFC after: 5 days.
* Lock vnode exclusively around insmntque().pjd2008-09-062-10/+7
|
* Use IPFW_DEFAULT_RULE instead of hardcoded value since now it isrik2008-09-061-8/+9
| | | | | | available. MFC after: 5 days.
* o show key indices w/o adjustmentsam2008-09-061-7/+11
| | | | o display all key flags symbolically
* purge ni_reqcw; not used and never will besam2008-09-062-3/+2
|
* o fix BAR definitionssam2008-09-061-3/+15
| | | | o add 11e reason codes
* fix age calculations (yet again); entries in the q have valuessam2008-09-061-1/+1
| | | | | | relative to the head MFC after: 3 days
* Export the IPFW_DEFAULT_RULE outside ip_fw2.c. This number in not onlyrik2008-09-062-1/+7
| | | | | | | | | | the default rule number but also the maximum rule number. User space software such as ipfw and natd should be aware of its value. The software that already includes ip_fw.h should use the defined value. All other a expected to use sysctl (as discussed on net@). MFC after: 5 days. Discussed on: net@
* Small style(9) nit in <sys/termios.h>.ed2008-09-061-71/+71
| | | | | There are a lot of places where we do "#define<space>" instead of "#define<tab>". Clean this up a little.
* Document BUS_DMA_NOCACHE.kib2008-09-061-0/+7
| | | | MFC after: 3 days
* Make TIOCCONS use priv_check() instead of checking /dev/console permissions.ed2008-09-061-35/+8
| | | | | | | | | | | | | As discussed with Robert on IRC, checking the permissions on /dev/console to see if we can call TIOCCONS could be unreliable. When we run a chroot() without a devfs instance mounted inside, it won't actually check the permissions on the device node inside the devfs instance. Using the already existing PRIV_TTY_CONSOLE for this seems like a better idea. Approved by: rwatson
* Add myself to the list of ports committers.jpaetzel2008-09-061-0/+3
| | | | Approved by: ade (mentor)
* Fix double free in setfacl(1). Description from the author:trasz2008-09-061-4/+6
| | | | | | | | | | | | | | Initially, 'acl' (an 'acl_t *') is allocated, and its ACCESS_ACL and DEFAULT_ACL fields are passed to the 'libc' ACL routines for subsequent allocation. If the '-m' option (merge existing ACL with a new one) is specified, then 'set_acl_mask()' will be called and passed one of the two ACLs. This function, in turn, replaces this given ACL structure by another, freshly allocated. However, the pointer in the 'acl' variable in the caller is not updated. The caller then proceeds to free the ACL, incurring in a double free condition. Submitted by: Pedro Martelletto <pedro at ambientworks.net> Approved by: rwatson (mentor)
* Chase the ghostscript port changes.jhay2008-09-061-2/+2
|
* Unbreak ia64: pges are 8KB.marcel2008-09-061-1/+1
|
* Read ethernet address from ID registers for RTL8102E/RTL8102EL asyongari2008-09-061-1/+2
| | | | | | | reading from EEPROM doesn't seem to work on these controllers. Reported by: Milan Obuch ( freebsd-net at dino dot sk ) Tested by: Milan Obuch ( freebsd-net at dino dot sk )
OpenPOWER on IntegriCloud