summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing closing quote on commented out examplegshapiro2012-12-291-1/+1
| | | | | | PR: bin/174108 Obtained from: Julian H. Stacey MFC after: 1 day
* Test commit to make sure commit mail works after moving the server.peter2012-12-291-0/+1
| | | | Approved by: core (implicit)
* Comments.dteske2012-12-291-1/+4
|
* Add missing enforcement of height restriction after minor adjustment.dteske2012-12-291-0/+1
|
* Add support for running without a controlling terminal (for example, whendteske2012-12-291-8/+21
| | | | running as an rvalue to a pipe).
* Allow debug output to be logged to a file (set $debugFile to target pathname)dteske2012-12-281-0/+24
| | | | or both stdout and a file (precede $debugFile pathname with a plus-sign, `+').
* Whitespace.dteske2012-12-281-0/+1
|
* Fix incorrect function name. s/[[:<:]]dialog_clear/f_&/dteske2012-12-281-1/+1
|
* It's no longer necessary to explicitly specify isa bus.delphij2012-12-281-5/+1
| | | | MFC after: 2 weeks
* Make it possible to atomically resume writes on the mount and accountkib2012-12-283-29/+56
| | | | | | | | | | | | | | | | | | | the write start, by adding a variation of the vfs_write_resume(9) which accepts flags. Use the new function to prevent a deadlock between parallel suspension and snapshotting a UFS mount. The ffs_snapshot() code performed vfs_write_resume() followed by vn_start_write() while owning the snaplock. If the suspension intervene between resume and vn_start_write(), the deadlock occured after the suspending thread tried to lock the snaplock, most typically during the write in the ffs_copyonwrite(). Reported and tested by: Andreas Longwitz <longwitz@incore.de> Reviewed by: mckusick MFC after: 2 weeks X-MFC-note: make the vfs_write_resume(9) function a macro after the MFC, in HEAD
* gcc: avoid generating negative values to DW_AT_byte_size.pfg2012-12-281-1/+1
| | | | | | | | The previous change was actually a NOP because size is unsigned and compilers are dumb. Submitted by: Christoph Mallon MFC after: 1 week
* Fix wording nit.gjb2012-12-281-1/+1
| | | | | | PR: 174787 Submitted by: Cody Rank MFC after: 3 days
* Fix typo in comment.bapt2012-12-281-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Add DEVICE_IDENTIFY method for wbwd(4), required on most of recentdelphij2012-12-281-95/+158
| | | | | | | | | Supermicro motherboards. Tested on X8STi and X8DTH boards. Sponsored by: iXsystems, Inc. MFC after: 2 weeks
* Use DEVMETHOD_END.delphij2012-12-281-1/+1
| | | | MFC after: 2 weeks
* Simplify pointing dst after the end of all the gr_mem pointers in newgrbapt2012-12-281-2/+1
| | | | | Submitted by: pjd Reviewed by: db
* errno = ENOMEM was supposed to be removed not return (NULL);bapt2012-12-281-1/+1
| | | | Submitted by: gcooper
* malloc() sets errno to ENOMEM already.bapt2012-12-281-5/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Do not leave parts of the new group uninitialized in gr_dup().bapt2012-12-281-0/+4
| | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reported by: pjd
* gcc: avoid generating negative values to DW_AT_byte_size.pfg2012-12-281-3/+3
| | | | | | | | | | | | | | | | | There is a bug in gcc (GCC/35998) where dwarf reports sizes of unsigned -1 (0xffffffff). On NetBSD this generated a faulty CTF entry which then caused a segfault in ctfmerge. The issue was worked around in NetBSD's Dtrace but since the issue originated in gcc, it seems reasonable to fix it here. Upstream gcc has been slow to react to this issue and the author that submitted the patch is not interested in licensing the change to us, so I did an independent workaround for the issue. MFC after: 1 week
* Improve bufring impl:attilio2012-12-281-21/+19
| | | | | | | | | | | | | | | | | | | | | | | - Remove unused br_prod_bufs member - Fixup r241037: buf_ring pads br_prod_* and br_cons_* members at 128 bytes, assuming a fixed cache line size for all the architectures. However, the above mentioned revision broke the padding. Use explicit padding to the CACHE_LINE_SIZE on the members that mark the initial new padded sections. Of course, the padding is not important for performance reasons in the DEBUG_BUFRING case, leaving br_cons members to share the cache line with br_lock. - Fixup r244732: by removing incorrectly added membar in buf_ring_dequeue_sc() where surrounding locking shoud be enough. - Drastically reduce the number of membar used (pratically reverting r244732) by switching rmb() in buf_ring_dequeue_mc() and wmb() in buf_ring_enqueue() to be complete barriers. This, along with br_prod_bufs departure, should fix ordering issues as explained in the provided comments. This patch is not targeted for MFC. Sponsored by: EMC / Isilon storage division Reviewed by: glebius
* Fix location of /var/audit/dist and /var/audit/remote.ume2012-12-281-1/+1
| | | | | | | Note that those who did installworld after r243752 should remove wrongly created /var/dist and /var/remote. Reviewed by: pjd
* In netpfil/pf:glebius2012-12-2810-34/+31
| | | | | | | - Add my copyright to files I've touched a lot this year. - Add dash in front of all copyright notices according to style(9). - Move $OpenBSD$ down below copyright notices. - Remove extra line between cdefs.h and __FBSDID.
* Add the AR9280 and later spectral scan register definitions.adrian2012-12-281-0/+14
| | | | Obtained from: Linux ath9k, Qualcomm Atheros (datasheet)
* Add radar_bin_thresh_sel (bit 24:26), which defines whenadrian2012-12-281-0/+2
| | | | to consider the radar FFT report bins as "strong".
* Fix build on ARM (and probably other platforms)gonzo2012-12-282-3/+3
|
* Add makeshift implementation for framebuffer console's cursorgonzo2012-12-281-2/+139
| | | | | | Basically it's replica of VersatilePB code which is replica of XBox FB code. All of them are linear framebuffers and should have common bits moved to reusable framework.
* Use strlcpy to NULL-terminate error message even if user provided a shortdavidxu2012-12-281-3/+3
| | | | buffer.
* Fix event timer on Raspberry Pigonzo2012-12-281-2/+16
| | | | | | | | | | | | | | - Disable interrupt when updating compare value in order to make this operation atomical - Increase minimum period for event timer. Systimer on BCM2835 is compare timer, so if minimum period is too small it might be less then fraction of time between "read current value" and "set compare timer" operations. It means that when timer is armed actual counter value is more then compare value and it will take whole cycle (~32sec for 1MHz timer) to fire interrupt. Submitted by: Daisuke Aoyama <aoyama at peach.ne.jp>
* Add derived versions for common Simplified Chinese encodings.delphij2012-12-283-0/+596
| | | | MFC after: 2 weeks
* Add zh_CN.UTF-8 catalog.delphij2012-12-282-0/+296
| | | | | Reviewed by: alphachi <alphachi mediaspirit.org> MFC after: 2 weeks
* Add custom renderer for poor man's cursor support for framebuffer consolegonzo2012-12-281-2/+133
|
* Add an ability to set net.link.stf.permit_rfc1918 from the loader.ae2012-12-271-1/+2
| | | | MFC after: 2 weeks
* Add net.link.stf.permit_rfc1918 sysctl variable. It can be used to allowae2012-12-272-3/+24
| | | | | | the use of private IPv4 addresses with stf(4). MFC after: 2 weeks
* avoid arithmetic on uintptr_tbapt2012-12-271-1/+1
| | | | | Submitted by: pjd Reviewed by: jilles
* cast to uintptr_t to properly calculate offsetbapt2012-12-271-1/+1
| | | | | Reported by: mdf Submitted by: db
* Add O_CLOEXEC to flopenbapt2012-12-272-2/+2
| | | | Requested by: jilles
* Simplify vnextgrent and vnextpwent reusing pw_scan and gr_scan from libutil.bapt2012-12-271-169/+67
|
* gr_dup: simplify duplication of groupbapt2012-12-271-21/+20
| | | | Submitted by: db
* - Clean up previous gr_add use malloc instead of callocbapt2012-12-272-5/+4
| | | | | | - Fix tinderbox error Submitted by: db
* Fix a regression in "pw group show" introduced r242349:bapt2012-12-271-1/+1
| | | | | | | print a newline after printing each group line. PR: bin/174731 Submitted by: Jan Beich <jbeich@tormail.org>
* Simplify the code by using the new gr_add functionbapt2012-12-271-15/+9
|
* New gr_add function to provide a clean and safe method to append a new memberbapt2012-12-272-0/+42
| | | | | | into an existing group. Submitted by: db
* Use flopen(3) instead of open(2) + flock(2)bapt2012-12-272-9/+4
|
* test(1): Document == alias for =.jilles2012-12-271-1/+8
| | | | | | Reviewed by: gjb Requested by: gjb MFC after: 1 week
* Remove an unused var.attilio2012-12-271-5/+1
| | | | | Sponsored by: EMC / Isilon storage division MFC after: 3 days
* br_prod_tail and br_cons_tail members are used as barrier toattilio2012-12-271-5/+5
| | | | | | | | | | | signal bug_ring ownership. However, instructions can be reordered around members write leading to stale values for ie. br_prod_bufs. Use correct memory barriers to ensure proper ordering of the ownership tokens updates. Sponsored by: EMC / Isilon storage division MFC after: 2 weeks
* use nanosecond resolution, make sure gettimeofdayluigi2012-12-271-7/+12
| | | | is called at most every 100 packets.
* Some cleanups.tuexen2012-12-271-15/+9
| | | | MFC after: 3 days
* Minor cleanups of debug messages.tuexen2012-12-271-2/+2
| | | | MFC after: 3 days
OpenPOWER on IntegriCloud