summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-19Replace some expensive evals.Antoine Jacoutot
2016-06-19omap4 uart is compatible with omap3 uart but has it's own compatible stringJonathan Gray
2016-06-19dynamically attach omap uart with fdtJonathan Gray
2016-06-19Split readlabel() into two functions, readlabel() and parselabel(), andTheo Buehler
pledge in-between the two funtion calls. The new readlabel() only does a DIOC*DINFO ioctl, making sure the fd points to a disk, while parselabel() does the scary string manipulations. In the makelabel() code path do an early DIOCGDINFO before pledge. This fixes yet another pledge problem (disklabel -w /dev/tty floppy576). Some of this was discussed with beck. ok semarie, earlier version ok deraadt
2016-06-19Make some noise in dmesg when iwm(4) fails to bring up the hardware.Stefan Sperling
ok tb@ earlier version
2016-06-19Remove the lockmgr() API. It is only used by filesystems, where it is aMartin Natano
trivial change to use rrw locks instead. All it needs is LK_* defines for the RW_* flags. tested by naddy and sthen on package building infrastructure input and ok jmc mpi tedu
2016-06-19syncJonathan Gray
2016-06-19Do caching differently.Antoine Jacoutot
2016-06-19Temporarily turn caching off; there's a small regression when enablingAntoine Jacoutot
multiple daemons at once; being worked on.
2016-06-19Implement rcctl get|getdef all.Antoine Jacoutot
With this and the previous 2 commits, we can move from constructs like: $ for i in $(rcctl ls all); do rcctl get $i; done to just: $ rcctl get all Shrinking the run by a factor of more than 3.5. prodded by and discussed with reyk@ at BSDcan2016 ok robert@
2016-06-19Cache result of often used functions (svc_is_{base,meta,special}).Antoine Jacoutot
Large speedup when iterating over all rc.d scripts. with and ok robert@
2016-06-19grep(1) /etc/rc.conf instead of /etc/rc to detect whether a particularAntoine Jacoutot
rc.d script comes from base of not; it's much faster. ok robert@
2016-06-19add pool_setipl on all pools.David Gwynne
ok tedu@ visa@
2016-06-19revert 1.34; causes problems loading public keysDamien Miller
reported by semarie@
2016-06-18sort previous;Jason McIntyre
2016-06-18KTRPOINT() is only useful in the kernel, so move it behind #ifdef _KERNELPhilip Guenther
ok mpi@ kettenis@
2016-06-18Fix removal of dual-stack neighbors.Renato Westphal
2016-06-18Fix memory leak found with valgrind.Renato Westphal
2016-06-18Fix use after free bug.Renato Westphal
2016-06-18Make the 1 Gbps SGMII settings the default to define a consistent set ofVisa Hankala
parameters even if a link is down.
2016-06-18Fix PCS block size.Visa Hankala
2016-06-18Remove duplicated line.Reyk Floeter
OK eric@
2016-06-18Add net.inet.{tcp,udp}.rootonly sysctl, to mark which portsVincent Gross
cannot be bound to by non-root users. Ok millert@ bluhm@
2016-06-18Stop setting the 4-bit mode capability flag for now.Jonathan Gray
Writing to the bbb emmc (but not reading) gives errors otherwise. This does not occur with an sd card on bbb but apparently does on panda.
2016-06-18Add a new AUDIO_GETSTATUS ioctl to get various audio driver variables.Alexandre Ratchov
It's intended for use with diagnostic tools (like audioctl) and is of no use to audio programs.
2016-06-18Plug some memory leaks in error paths of iwm(4).Stefan Sperling
Patch by Imre Vadasz.
2016-06-18tweak previous;Jason McIntyre
ok mglocker
2016-06-18Dynamically attach ommmc with fdt. Offset the start of the memory regionJonathan Gray
by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same offsets as omap3. Handle both the nintr 1 (omap3/am335x) and nintr 3 (omap4) cases in attach. Ideally the "interrupts" property will be handled by the interrupt controller drivers directly in future.
2016-06-18Update column width decisionPhilip Guenther
2016-06-18Document KTRFAC_{PLEDGE,EXEC{ARGS,ENV}}Philip Guenther
2016-06-18Make mips64 like all the others: only make mappings writable during relocationPhilip Guenther
if DT_TEXTREL was set on the object. If that's needed, only set the mapping to READ+WRITE to avoid W^X violation. ok kettenis@
2016-06-18Do not allow configuring the same interface for both LDP and VPLS.Renato Westphal
Configuring an interface for both LDP signaling and as a member of a VPLS instance doesn't cause any harm as far as ldpd is concerned. But it certainly doesn't make any sense, so it's better to reject the configuration and warn the user instead of ignoring this silently.
2016-06-18Use log_warnx() instead of log_warn() when appropriate.Renato Westphal
2016-06-18Remove TODO comments about loop detection.Renato Westphal
LDP loop detection is only necessary for ATM LSRs running in cell mode. We are never going to implement this "feature". Also, add two more comments in lde_check_request().
2016-06-18Fix small LIB<->LFIB synchronization issue.Renato Westphal
ldpd operates only with the best routes of each IP prefix. In other words, the routes with the lowest priorities. When a route with a better priority is detected (possibly with a different nexthop), we should uninstall the labels from the "old" routes and try to install a new label for the new route (if there's one available in the LIB). In this specific case, ldpd was failing to uninstall the labels from the old routes because it wasn't keeping track of each route's priority in lde. With this missing bit of information, the parent process had no way to get the correct label to uninstall when processing a IMSG_KLABEL_DELETE message.
2016-06-17urtwn device now needs rtwn.c, even if rtwn device isn't builtPhilip Guenther
ok mpi@ jca@ mglocker@
2016-06-17Also add missing date or message-id when listening on the submit portOtto Moerbeek
ok gilles@
2016-06-17Add man page for usbd_ref_incr(9), usbd_ref_decr(9), and usbd_ref_wait(9).Marcus Glocker
ok mpi
2016-06-17No need to hardcode return code.Antoine Jacoutot
2016-06-17Merge a lot of code from urtwn(4) into rtwn(4). Both drivers now share codeStefan Sperling
in the file sys/dev/ic/rtwn.c. This reduces kernel bloat and will make it easier to have both drivers benefit from future enhancements. ok mpi@
2016-06-17pool_setipl on all uvm pools.David Gwynne
ok kettenis@ visa@
2016-06-17Replace tsleep/wakeup by usbd_ref_incr/decr/wait to wait for the kthreadMarcus Glocker
to finish on close. Tested and ok Patrick Keshishian ok mpi
2016-06-17grammar fix;Jason McIntyre
2016-06-17translate OpenSSL error codes to something more meaninful;Damien Miller
bz#2522 reported by Jakub Jelen, ok dtucker@
2016-06-17ban AuthenticationMethods="" and accept AuthenticationMethods=anyDamien Miller
for the default behaviour of not requiring multiple authentication bz#2398 from Jakub Jelen; ok dtucker@
2016-06-17syncStuart Henderson
2016-06-16Replace uvm_km_valloc(9) with a km_alloc(9) call that doesn't allocate anyMark Kettenis
physical pages. Recent canges to uvm_map(9) mean that we now assume that memory in interrupt safe maps is not pageable, and while we made sure all mappings were backed by physical pages, a mapping allocated with uvm_km_valloc(9) appears to pageable and triggered an assertion. ok miod@
2016-06-16Also add MediaTek to Ralink Technologies here.Martijn van Duren
Prodded by jmc@ OK jmc@, stsp@, and sthen@
2016-06-16the environment handling code was showing its age. just because environTed Unangst
is a char** array doesn't mean we must exclusively operate on such. convert to a red-black tree, manipulate as desired, then flatten to array. potentially overkill for the current operations, but reading the tea leaves i see that more manipulations are desired. ok tb (and some thought provoking disagreement from martijn)
2016-06-16Remove links to www.ralinktech.com, which isn't in use anymore.Martijn van Duren
Add an extra reference to MediaTek who now owns Ralink as suggested by sthen@. OK jmc@ and stsp@