summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessarytrasz2008-10-2855-248/+273
| | | | | | | to add more V* constants, and the variables changed by this patch were often being assigned to mode_t variables, which is 16 bit. Approved by: rwatson (mentor)
* Rename mac_cred_mmapped_drop_perms(), which revokes access to virtualrwatson2008-10-284-20/+18
| | | | | | | | | | | memory mappings when the MAC label on a process changes, to mac_proc_vm_revoke(), It now also acquires its own credential reference directly from the affected process rather than accepting one passed by the the caller, simplifying the API and consumer code. Obtained from: TrustedBSD Project
* Style return statements in vn_pollrecord().kib2008-10-281-2/+2
|
* Garbage-collect ext2_kqfilter vop that is now a copy of vop_stdkqfilter().kib2008-10-281-107/+1
|
* Protect check for v_pollinfo == NULL and assignment of the newly allocatedkib2008-10-281-14/+22
| | | | | | | | | vpollinfo with vnode interlock. Fully initialize vpollinfo before putting pointer to it into vp->v_pollinfo. Discussed with: dwhite Tested by: pho MFC after: 1 week
* Provide an explanation for getinoquota() call in the ufs_access vop.kib2008-10-281-0/+11
| | | | MFC after: 3 days
* Rename three MAC entry points from _proc_ to _cred_ to reflect the factrwatson2008-10-2811-204/+205
| | | | | | | that they operate directly on credentials: mac_proc_create_swapper(), mac_proc_create_init(), and mac_proc_associate_nfsd(). Update policies. Obtained from: TrustedBSD Project
* MFV of tzdata2008i.edwin2008-10-282-16/+55
| | | | | - United States zone reordering and recommenting - Argentina DST changes update.
* Unbreak LINT from r184381 using the correct variable in debuggingbz2008-10-281-4/+1
| | | | DPRINTF for the device and remove dead code.
* Extended comment on why we consider a partition relabel request of "0" torwatson2008-10-281-1/+7
| | | | | | | | be a no-op request, and why this might have to change if we want to allow leaving a partition someday. Obtained from: TrustedBSD Project MFC after: 3 days
* Rename label_on_label() to partition_check(), which is far morerwatson2008-10-281-7/+7
| | | | | | | suggestive as to its actual function. Obtained from: TrustedBSD Project MFC after: 3 days
* Improve alphabetical sort order of stub entry points.rwatson2008-10-281-32/+32
|
* Remove unneeded call to revoke() inside openpty().ed2008-10-281-4/+0
| | | | | | | | | | | | | | As discussed on the commits list, there is no need to call revoke() inside openpty(). On RELENG_6 and RELENG_7 unlockpt() will call revoke(). On HEAD we create pseudo-terminals on demand, so there is no need to revoke the slave device node. This change should never be MFC'd, because the implementation we have in RELENG_6 and RELENG_7 should work flawlessly with older versions of libc. Discussed with: jhb MFC after: never
* style(9) nit: remove unnecessary {} pair.imp2008-10-281-2/+1
|
* After a machine has been up for a bit more than 20 days with HZ=1000,peter2008-10-281-1/+1
| | | | | | "ticks" goes negative. This breaks the signed comparison in softclock. This causes sleep() to never wake up, tcp to stop, etc etc. This is bad(TM). Use the SEQ_LT() method from tcp's sequence number comparisons.
* Clean up some magic numbers in the DBDMA code by replacing them withnwhitehorn2008-10-272-11/+20
| | | | | | appropriately defined constants. Suggested by: gnn
* Grab Sierra and Novatel init functions from NetBSD version of the u3gn_hibma2008-10-271-26/+141
| | | | | | | | driver (rev 1.3), by Joerg Sonnenberger. Note: This change is untested as I do not own the hardware. Let me know if things work or do not work for you by sending me the output dmesg (and usbctl -f /dev/usbX if possible). Thanks.
* Do as the Linux tg3 driver does and enable MSI support alsomarius2008-10-271-6/+6
| | | | | | | | | | | for the BCM5714 revision A0 when in a multi-port configuration and unconditionally for the remainder of the class of BCM575X and beyond chips. This was prodded by mav and is based on a suggestion and a patch submitted by jhb. Reviewed by: jhb MFC after: 2 months
* Supply a valid Connect ID when issuing XPT_DEV_MATCH, whichmarius2008-10-271-0/+3
| | | | | | | | | | | | | | according to my reading of the CAM draft is mandatory for all CCB function calls and enforced by xptioctl() since at least r168752. Previously we happened to use 0 as the Path ID, causing the XPT_DEV_MATCH call to fail if there's no SCSI bus 0. Basically the same bug was also fixed the same way for camcontrol(8) as part of r126514. PR: 127605 Submitted by: Eygene Ryabinkin Approved by: silence from ken and scottl MFC after: 1 week
* Fix r184323 - set stathz to be the same as lapic_timer_hz when lapic_timer_hzsobomax2008-10-271-4/+3
| | | | is less than 128. Remove extra {} to match existing style.
* - Whitespace fix for vop_poll.jhb2008-10-271-2/+2
| | | | - Use the right label for vop_vptofh lock assertions so they are enforced.
* - In GCC 4.2 __builtin_frame_address() was fixed to include themarius2008-10-274-48/+24
| | | | | | | | | | V9 stack bias so we no longer need to add it in db_backtrace() and stack_capture() respectively. This also reverts r182018, which kludged around the resulting unaligned access. - Sync the sun4v versions of db_trace.c and stack_machdep.c with the sparc64 ones and fix some style bugs. MFC after: 3 days
* Fix error in busmaster enable logicrnoland2008-10-271-2/+4
| | | | | | | | rs400/rs480 should clear the RADEON_BUS_MASTER_DIS bit. This should get the rs485 IGP chips going again. Approved by: jhb (mentor) Obtained from: drm git master
* Fix some fallout from the busmaster disable cleanuprnoland2008-10-272-10/+9
| | | | | | | rs400 is just like rs480 Approved by: jhb (mentor) Obtained from: drm git
* Don't report GEM capability until we actually have GEM support.rnoland2008-10-271-1/+2
| | | | | | This was causing the newer Intel video drivers to fail and abort X. Approved by: jhb (mentor)
* Fix r184323 - set stathz to be the same as lapic_timer_hz when lapic_timer_hzsobomax2008-10-271-4/+3
| | | | is less than 128. Remove extra {} to match existing style.
* sync w/ driver updates; this also brings in ani statssam2008-10-273-19/+270
|
* add regdomain knobsam2008-10-271-0/+3
|
* prepare for a new halsam2008-10-273-9/+36
|
* o With the addition of HT rates the set of h/w codes has a much wider rangesam2008-10-273-59/+47
| | | | | | | | | | | making the use of sc_hwmap to do direct mapping impractical. Switch to indexing by the rate index instead of the rate code and adjust associated state and logic appropriately. This has several benefits including simplification of the led code. o fix radiotap capture of HT rates o fix conditional compilation of HT radiotap support to be based on the hal having 5416 support; not the ABI version as hal builds may or may not include 5416 support
* When the mac_bsdextended policy is unloaded, free rule memory.rwatson2008-10-271-0/+5
| | | | | Obtained from: TrustedBSD Project MFC after: 3 days
* prefer #define to naked constantsam2008-10-271-1/+1
|
* fix handling of HT rates; these overlap legacy rates and need to besam2008-10-271-2/+7
| | | | marked as MCS in the inverse mapping table
* add hack to deal with Ubiquiti XR9 cards, they have a different mappingsam2008-10-271-9/+24
| | | | | between 900MHz and 2.4GHz frequencies than SR9 cards; they are distinguished by different country codes
* Add the files missed with r184331 to make mac_bsdextended compile again.bz2008-10-271-0/+2
|
* install bssid for ahdemo mode toosam2008-10-271-0/+1
|
* fix commentsam2008-10-271-1/+1
|
* correct callback status parameter; only indicate success when an ACK wassam2008-10-271-1/+2
| | | | received
* Fixup statistics:sam2008-10-272-10/+16
| | | | | | | o update tx rssi data only when an ACK was received o return tx rssi from sampled data instead of the last frame o track noise floor o return rx rssi and noise floor (was broken)
* update the sta inactivity timer only if we actually received an ACKsam2008-10-271-1/+2
|
* Regdomain fixups:sam2008-10-271-18/+55
| | | | | | | | | | | o pass country code, outdoor indication, and ecm mode into the hal when requesting a channel list o add a console msg when regulatory setup fails o add placeholder code to map between Atheros sku's and 802.11 sku's that handles only the debug country code used to unlock the full channel list (to be used only for debugging) o fix multiple instances of mismapping the 802.11 location to the outdoor indication (anywhere may be outdoor also)
* add regdomain debug msgssam2008-10-271-0/+18
|
* add sys.dev.ath.X.intmit knob to enable/disable ANIsam2008-10-272-0/+24
| | | | (the intmit name is historical)
* shuffle debug setup to simplify debugging events during attachsam2008-10-271-5/+8
|
* Add ucomX shortcuts just like its uart sibling.thompsa2008-10-271-0/+8
|
* rename bf_flags to bf_txflags in preparation for the addition of flagssam2008-10-272-5/+5
| | | | separate from the tx descriptor flags currently recorded
* use the ic's opmode instead of our hal equivalent to check for adhoc mode;sam2008-10-271-1/+1
| | | | they are always the same
* intercept IEEE80211_IOC_TXPOWER and service tx power changes immediatelysam2008-10-271-1/+17
|
* move complaints about bad rate codes up a level so we can printsam2008-10-271-16/+24
| | | | the h/w rate code and other useful info
* remove driver-private equivalent of ni_txparms; it's now superfluoussam2008-10-275-28/+6
|
OpenPOWER on IntegriCloud