summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-27Example config changed a while ago, adjust regress test that uses this.Claudio Jeker
Noticed by deraadt@
2018-06-27Refactor to simplify - no functional change.helg
ok mpi@
2018-06-27Synchronize correct processing of BER_TYPE_EOC. Fixes support for empty LDAProb
passwords. A similar fix was applied to snmpd in 2010 (rev 1.23). Pointers from Reyk. Ok claudio@
2018-06-27Just put the aspath and the peer directly into the prefix struct.Claudio Jeker
Needed for upcoming changes.
2018-06-27regenMartin Pieuchot
2018-06-27Unlock 12 network-related syscalls.Martin Pieuchot
This is possible now that the code doing file refcounting is mp-safe. Tested by many, ok tb@, visa@
2018-06-27Rework vbus(4) interrupt handling to be similar to cbus(4). Expose functionsMark Kettenis
to ack and enable/disable interrupts and don't enable interrupts by default. Also don't ack interrupts by default. Make use of this in vcons(4) to avoid interrupt storms that may occur because of a race between the interrupt handler and the software interrupt handler. Don't enable the interrupt handler unless somebody actually has the console open. Ack the interrupt at the end of the softintr handler. Fixes console issue on SPARC T3 machines. ok claudio@
2018-06-27Move rde_test_prefix() to a place where it makes more sense. No functionalClaudio Jeker
change.
2018-06-27certificate keyword renamed to cert; from raf czlonkaJason McIntyre
2018-06-13Import ldap(1), a simple ldap search client.Reyk Floeter
We have an ldapd(8) server and ypldap in base, so it makes sense to have a simple LDAP client without depending on the OpenLDAP package. This tool can be used in an ssh(1) AuthorizedKeysCommand script. With feedback from many including millert@ schwarze@ gilles@ dlg@ jsing@ OK deraadt@
2018-06-27a mirror URLs -> a mirror URLTheo Buehler
From Raf Czlonka
2018-06-26The disk specification in an Open Firmware device path depends on the busMark Kettenis
binding for the disk interface. For traditional SCSI is is simply a number; i.e. the disk at target 0 is specified by @0. For SAS there are several options but newer Oracle firmware no longer accepts the traditional SCSI target specification. The best alternative is the PHY number and the disk at PHY number 0 is specified by @p0. To determine which binding to use, we look up the device_type of the parent. If that is "scsi-sas", use the PHY number instead of the SCSI target. Fixes booting from softraid on SPARC T3 and later. ok claudio@, stsp@
2018-06-26tags are cutting their first teeth, but it can be a normal debug flagMarc Espie
no need to show it to everyone
2018-06-26syncTheo de Raadt
2018-06-26Make the system cache a small number of free lock list entries per CPU.Visa Hankala
This reduces the contention of the `w_mtx' lock. OK mpi@
2018-06-26Remove a duplicate fd_used() call. The new file descriptor passedVisa Hankala
to dupfdopen() has already been registered with fd_used() in fdalloc(). The duplicate call distorted the number of open file descriptors returned by getdtablecount(2) if a file was opened via /dev/fd/. While there, assert that the file instance should already be in the file list. OK mpi@
2018-06-26Wrong function name in error message.Claudio Jeker
2018-06-26add missing .An and .Mt macros below AUTHORSIngo Schwarze
2018-06-26Style nit.Nicholas Marriott
2018-06-26space between macro args and punctuation;Jason McIntyre
2018-06-26Fix "WARNING: line 6 disappeared in /etc/moduli, giving up" whenTodd C. Miller
choosing a prime. An extra increment of linenum snuck in as part of the conversion to getline(). OK djm@ markus@
2018-06-26Do not take address of a member of a NULL pointer. GitHub issue 1382Nicholas Marriott
from Kamil Rytarowski.
2018-06-26Make ast() call refreshcreds(). Tweak this code to be similar to the amd64.Mark Kettenis
ok phessler@, guenther@
2018-06-26Add "socket owner" to allow changing the owner of the vmd control socket.Reyk Floeter
This allows to open vmctl control or console access to other users that are not in group wheel. Access for non-root users still defaults to read-only actions unless you change the owner (user/group) of each individual VM. Requested by Mischa Peters OK mlarkin@
2018-06-26Allow to read the password from a file with -yReyk Floeter
Pointed out by Tim Chase OK rob@ gsoares@ jmc@
2018-06-26kill the solve_tags part of pkg_create for now, as it doesn't work at allMarc Espie
2018-06-26make it possible to remove old packages with erroneous tags...Marc Espie
shouldn't happen, but... - mark old handles as such in UpdateSets - keep going on solve_handle_tag to get maximum reports - tweak verify_tags to demote old handles to warnings from errors
2018-06-26Initialize the slot->skip counter in slot_start() instead ofAlexandre Ratchov
slot_attach(). Now this makes no difference, because slot_attach() is always called right after slot_start(). However this will allow us to call slot_{attach,detach}() routines, while preserving the state of the slot.
2018-06-13Import ldap(1), a simple ldap search client.Reyk Floeter
We have an ldapd(8) server and ypldap in base, so it makes sense to have a simple LDAP client without depending on the OpenLDAP package. This tool can be used in an ssh(1) AuthorizedKeysCommand script. With feedback from many including millert@ schwarze@ gilles@ dlg@ jsing@ OK deraadt@
2018-06-26Remove redundant slot->tstate variable.Alexandre Ratchov
It was used to determine whether the slot obeys MMC and is ready to start. The stop->opt->mmc flag indicates if it obeys MMC and the slot->pstate == SLOT_READY indicates if it's ready. So slot->tstate can be safely removed.
2018-06-26Remove useless check if s->ops == NULL from slot_setvol().Alexandre Ratchov
2018-06-26No need to initialize slot->mix.weight as it's recalculated andAlexandre Ratchov
overwritten in dev_mix_adjvol(), which is always called.
2018-06-26Move slot-related debug printfs from sock_hello() to slot_new().Alexandre Ratchov
2018-06-26knfMike Larkin
2018-06-26Convert all the slot_xxx() routines to use the number of channelsAlexandre Ratchov
instead of the maximum channel number. This way the code is simpler. No behaviour change.
2018-06-26Remove {mix,sub}.slot_cmin fields from the slot structure, as the sameAlexandre Ratchov
information is already available in the opt structure.
2018-06-26Remove dev_{cmin,cmax} from the slot structure as the same informationAlexandre Ratchov
is available in the opt structure.
2018-06-26Remove slot->dup which is a copy of opt->dup, and just use the latterAlexandre Ratchov
everywhere.
2018-06-26Remove slot->maxweight, because it's a copy of opt->maxweight. JustAlexandre Ratchov
use the latter everywhere.
2018-06-26Don't set slot's {slot,dev}_cmin parameters in slot_setpar() routine,Alexandre Ratchov
as their value doesn't change once the slot is initialized.
2018-06-26Initialize slot with parameters from the opt struct.Alexandre Ratchov
2018-06-26Move opt pointer from the sock to the slot struct.Alexandre Ratchov
2018-06-26Replace the gloal opt list with per-device lists.Alexandre Ratchov
2018-06-26Move slot buffer allocations in their own routines.Alexandre Ratchov
2018-06-26Factor common code of slot_stop().Alexandre Ratchov
2018-06-26Remove handling of unreachable state in slot_stop().Alexandre Ratchov
2018-06-26various minor tweaks;Jason McIntyre
2018-06-26Let acpi(4) pass down the bus dma tag.Mark Kettenis
ok deraadt@
2018-06-26move ports infra manpages into base, as discussed withMarc Espie
schwarze@, deraadt@, landry@...
2018-06-26whitespaceDamien Miller