summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-21Improve handling of addresses on ldpe.Renato Westphal
This is a preliminary work for the the next patch (sigup config reload). We want to make sure that the ldpe process can handle duplicated addresses. The idea is to alloc two different if_addr structures for each address, and link one in the global list of addresses (used to send address messages) and link the other to the associated interface list of addresses. Doing that we will be able to call kif_redistribute() after reloading the config file and activate the new LDP enabled interfaces. NOTE: Interfaces are created at config parse time and the child processes inherit them on fork() so there's no need to send a status update at startup. ok claudio@
2015-07-21No more AF_LINK addresses on the per-ifp address lists. ok mpi@Jeremie Courreges-Anglas
2015-07-21Add the _radiusd user.Antoine Jacoutot
ok sthen@
2015-07-21Fix ioctl number conflict and sort ioctl numbers.Rafael Zalamena
ok mpi@.
2015-07-21hookup octeonJasper Lievisse Adriaanse
ok deraadt@
2015-07-21Add radiusd(8) and radiusctl(8). They are WIP. radiusd(8) is a RADIUSYASUOKA Masahiko
server and radiusctl(8) is to control the server. radiusd(8) currently supports bsdauth and radius (upstream radius servers) as authentication backends. fixes from jsg blambert ok deraadt
2015-07-21whitespaceJasper Lievisse Adriaanse
2015-07-21Add _radius to etc/master.passwd and etc/group for coming radiusd.YASUOKA Masahiko
ok deraadt
2015-07-21remove superfluous strings.hBrent Cook
2015-07-21Add manpage for pvbus(4) and update vmt(4).Reyk Floeter
OK sf@
2015-07-21Add pvbus(4), a pseudo-bus to attach non-PCI paravirtual devices and buses.Reyk Floeter
vmt(4) is moved from mainbus0 to pvbus0, more devices will follow. OK sf@ deraadt@
2015-07-21Remove duplicate check in libssl.Doug Hogan
If len == 0, it already set try_session_cache so there's no need to check len again. Fixes Coverity issue 21687. ok bcook@
2015-07-21A few more daddr_t fixes. Rename 'phys_off' variables to 'offset'Kenneth R Westerback
since they are now relative to chunks. Use 'blkno' as normal variable name for daddr_t items rather than mix of 'blkno, blk, offset. Change field name ssd_data_offset to ssd_data_blkno since it is a block and not byte quantity. No intentional functional change.
2015-07-21When creation of the temporary tags file fails, call the pagerIngo Schwarze
without the -T option, because otherwise the pager won't even start. Fixing a bug reported by jca@. While here, shorten the code by two lines and delete one internal interface function.
2015-07-21We don't do 'ARGSUSED' anymoreFlorian Obser
2015-07-21use curproc instead of proc0Florian Obser
pointed out by and OK bluhm@
2015-07-21Put the mbuf_list inside "#ifdef MPLS".Martin Pieuchot
reported by rpe@
2015-07-21- added /* FALLTHROUGH */ comments, typecasts (u_int32_t)-1, ...Alexandr Nedvedicky
ok mpi@
2015-07-21Add manual page for the new amdcf(4) driver.Paul Irofti
2015-07-20Indent.Masao Uebayashi
2015-07-20Add radius(3) library. This will be used by RADIUS server and clientYASUOKA Masahiko
programs to manipulate RADIUS packets. Mainly written by UMEZAWA Takeshi. fix and suggestion deraadt ok deraadt
2015-07-20Move `ticks' declaration to sys/kernel.h.Masao Uebayashi
2015-07-20Fix a segfault at startup when if_change() ist called beforeSebastian Benoit
imsg_init() exposed by the second part of this diff which makes carp(4) interfaces be recognized to be in "backup" mode on start-up. Problem analyzed and fix provided by Johan Ymerson, thanks! ok claudio@, mpi@
2015-07-20Use the kernel socket interface (sosend(9) etc) instead of shovingFlorian Obser
packets directly into the network stack with ip_output(). The locking is intentionally left as is and will be improved in another commit. Input / OK bluhm@, OK benno@
2015-07-20Correct #if/else logic in BIO's dgram_ctrl.Doug Hogan
Coverity issue 72741 noticed that ret is being overwritten before use. The actual issue is that the #if/else logic is guarding the wrong lines. Besides impacting ret, this also made the case's break logic wrong because it was in the wrong location. ok bcook@ beck@
2015-07-20Sometimes, the computer's move was printed, but the computer's men didn'tIngo Schwarze
actually move. This happened when "swap" was called earlier, and then later in the final call to makmove(), swapping back would have been required, but was erroneously denied. Patch sent in pjanzen@. It looks like the bug was already present in the original version in 4.1a BSD in 1982.
2015-07-20Remove splassert(IPL_NET) from if_input().Martin Pieuchot
if_input() has been designed to be able to safely handle a batch of packets from physical drivers to the network stack. Most of these drivers have an interrupt routine executed at IPL_NET and the check made sense during the conversion. However we also want to re-enqueue packets with if_input() from the network stack currently running at IPL_SOFTNET. ok claudio@
2015-07-20app_tminterval moved to apps_posix.c, we don't need sys/times.hBrent Cook
2015-07-20properly encode IpAddress, Gauge32, and Counter32Bret Lambert
varbinds received from subagents ok reyk@
2015-07-20prefer string.h to strings.h ok guenther@ doug@Brent Cook
2015-07-20Actually return a value from sys_kbind() in the non-ld.so case, or theMiod Vallat
compiler will warn.
2015-07-20Fix tty hiwat handling a bitStefan Fritsch
- Introduce new defines TTHIWATMINSPACE, TTMINHIWAT for some magic values that are used in tty.c. - Remove hiwat adjustments in ttwrite(). This fixes this codepath not being interrupt safe. - Change ttysetwater() to keep at least TTHIWATMINSPACE space above the high water mark. This makes it consistent with ttycheckoutq(). Without this change, the hiwat adjustment change above causes deadlocks in pty. ok kspillner@ commit it now deraadt@
2015-07-20Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.Rafael Zalamena
ok mpi@, claudio@.
2015-07-20No need to recheck for NULL in openssl(1) ecparam.Doug Hogan
Fixes Coverity issue 78802. ok bcook@
2015-07-20Don't try to run ECDH if ecdh_checks fails in openssl(1) speed.Doug Hogan
Coverity 72744 noticed that rsa_count was overwitten. The underlying issue is that this code is supposed to be in an else block. ok bcook@
2015-07-20Avoid NULL deref in openssl(1) s_cb.Doug Hogan
Fixes Coverity issue 24956. ok bcook@
2015-07-20crudely canonicalize paths before taming them. ok deraadt dougTed Unangst
2015-07-20Move the construction of p_tamenote from sys_open() to doopenat(), so thatTheo de Raadt
it also applies to sys_openat().
2015-07-20Kill NETISR_MPLS, from now on we will use interface input handlers to dealRafael Zalamena
with MPLS packets. ok mpi@, claudio@
2015-07-20When test pf.conf changes, check its syntax and use the new one.Alexander Bluhm
2015-07-20Zero-pad the seconds in the output of 'time' to make columns line upPhilip Guenther
ok pirofti@ halex@ krw@ deraadt@ jca@ doug@
2015-07-20SHELL is out, from Michael ReedTed Unangst
2015-07-20Do not reconnect outgoing TCP connections too aggressively. InAlexander Bluhm
case the receiver closes the connection, wait for a second to give him a chance to recover. OK benno@
2015-07-20Add a new flash driver for Octeon that allows access to the internalPaul Irofti
memory on (at least) D-Link DSR500 machines. This follows the CFI specification with code borrowed from zrouter (FreeBSD). The idea, once the current driver is thoroughly tested, would be to move it to MI land. The prerequisites to MI are width, shift and row detection and handling. In the long run I hope to be able to also add wdc support. For now write support is disabled. Okay miod@, deraadt@.
2015-07-20Add size and NULL checks in debugutil.cYASUOKA Masahiko
Poined out by Yuuichi Someya at IIJ.
2015-07-20Pass the errcode when disconnecting L2TP call.YASUOKA Masahiko
From Yuuichi Someya at IIJ.
2015-07-20Allow the sched_yield, __thrsleep, __thrwakeup, and __threxit syscallsJeremy Evans
when using tame(2). This allows threaded programs to work. OK deraadt@
2015-07-20Remove old route to the tunnel interface when the interface's address isYASUOKA Masahiko
changed. From Yuuichi Someya at IIJ.
2015-07-20Add missing initializations in privsep.cYASUOKA Masahiko
From Yuuichi Someya at IIJ.
2015-07-20add class used by the _pbuild user for DPB, ok ajacoutot@Stuart Henderson