summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-10Add session_last_attached time and format, from Sina Siadat.Nicholas Marriott
2015-09-10Remove link_addr(3). A function to encode the name of an interface inMartin Pieuchot
a sockaddr_dl is a questionnable interface. But now it makes it harder to properly reference ifp becauses of this. Set sdl_index to the index of the corresponding interface when constructing a routing message. Ridding previous libc crank. ok guenther@, deraadt@, dlg@
2015-09-10Another trivial if_put addition. OK dlg@Claudio Jeker
2015-09-10Trivial if_put addition. OK dlg@Claudio Jeker
2015-09-10if_put added to the if_get calls. Reshuffle some code to make this easier.Claudio Jeker
OK dlg@
2015-09-10Kill two simple in6_ifstat_inc().Martin Pieuchot
2015-09-10Fix an incorrect error check in DSA verify.Brent Cook
From Matt Caswell's OpenSSL commit "RT3192: spurious error in DSA verify". https://github.com/openssl/openssl/commit/eb63bce040d1cc6147d256f516b59552c018e29b
2015-09-10Missing prototype change in previous.Martin Pieuchot
2015-09-10Fix shadowed verify_error in s_server by removing the unused global.Brent Cook
's_time -verify 1' will now actually verify the peer certificate. ok beck@
2015-09-10only try and reference an ifp in if_get if we actually find one inDavid Gwynne
the map. avoids a NULL deref jsg@ found
2009-10-15import of gcc-4.2.1, the last gcc release under GPLv2Robert Nagy
2015-09-10Remove SOCKET_PROTOCOL, a redundant define that was only used once.Lawrence Teo
No binary change. ok millert@ miod@
2015-09-10Remove unused defines. No binary change.Lawrence Teo
ok deraadt@ miod@
2015-09-09Add locking for interrupt-safe maps (those that have the VM_MAP_INTRSAFE flagMark Kettenis
set). Since we cannot sleep in that case, use a mutex instead of an rwlock. This is ok as the more complex code paths in the uvm code are not entered for interrupt-safe maps as paging isn't allowed in those maps. ok tedu@
2015-09-09zap trailing whitespaceAlexander Hall
2015-09-09Add missing CVS Mdocdate tags. No text change, except for the changeIngo Schwarze
of date that can't be helped.
2015-09-09seperate->separate;Jason McIntyre
while here, i've adjusted the formatting of one list
2015-09-09The .Nd macro is intended to provide "a one line description", so avoidIngo Schwarze
multiple lines of input, in particular, don't use macros below .Nd; such bad style can confuse various apropos(1) tools. All deleted macros reappear later in the text, anyway, except for .Tn, which i'm deleting outright. Found while scanning the tree for good and bad practices in preparation for my EuroBSD2015 mdoc(7) tutorial on Oct 1 in Stockholm.
2015-09-09if_put after if_getDavid Gwynne
ok mpi@
2015-09-09if_put after if_get.David Gwynne
this is a bit funky cos we give up the ref while sleeping in tunread, and have to get a new ref on wakeup. ok claudio@
2015-09-09if_put after if_getDavid Gwynne
ok mpi@
2015-09-09if_put after you if_getDavid Gwynne
ok mpi@
2015-09-09if_put after you if_getDavid Gwynne
ok claudio@
2015-09-09gotta if_put after you if_getDavid Gwynne
ok mpi@
2015-09-09if_put after the if_get.David Gwynne
ok mpi@ claudio@
2015-09-09add if_put after the if_get.David Gwynne
ok claudio@
2015-09-09Fix various buffer overflows (caused by the way struct iso_directory_recordMiod Vallat
is defined), and make this work on unsigned char platforms by using isascii() instead of < 0. While there, do not use the local getopt() implementation, as libc has had getopt_long() support for years now. With help from jca@ and guenther@. ok millert@, deraadt@ (on an earlier diff)
2015-09-09Indent labels with a space so that diff -p is more friendly.Joel Sing
Requested by bluhm@
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-09-09No need to set d_npartitions in readdoslabel() or readgptlabel().Kenneth R Westerback
It has already been initialized in the MD readdisklabel() routines when they call initdisklabel(). ok deraadt@
2015-09-09Check handshake_func against NULL rather than 0, since it is a functionJoel Sing
pointer. ok bcook@ miod@
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-09-09Add client certificate support. Still needs a few tweaks but this willBob Beck
ride upcoming minor bump ok jsing@
2015-09-09Make sure we check TLS_WRITE_AGAIN when calling tls_read() and ifJoel Sing
tls_read() fails, print the tls_error() rather than just the return value. ok beck@
2015-09-09syncTheo de Raadt
2015-09-09mg doesn't support 'dired-do-delete'. Change description to theMark Lumsden
supported function.
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-09-09sizes for free(); ok sthenTheo de Raadt
2015-09-09sizes for free(); ok sthen semarieTheo de Raadt
2015-09-09always clear errno when coming back from tls_read tls_write, and tls_close.Bob Beck
this avoids the problem of people checking for return values < 0 and then checking for errno before checking for TLS_READ_AGAIN TLS_WRITE_AGAIN - since we can not guarantee what errno will be set to from the underlying library calls
2015-09-09syncTheo de Raadt
2015-09-09Move to next tame() API. The flags are now passed as a very simple string,Theo de Raadt
which results in tame() code placements being much more recognizeable. tame() can be moved to unistd.h and does not need cpp symbols to turn the bits on and off. The resulting API is a bit unexpected, but simplifies the mapping to enabling bits in the kernel substantially. vague ok's from various including guenther doug semarie
2015-09-09syncTheo de Raadt
2015-09-09nuke trailing whitespaceBob Beck
ok jsing@
2015-09-09Remove the mpool(3) manpagesPhilip Guenther
prodded by miod@
2015-09-09Bump for symbol removalsPhilip Guenther
2015-09-09Hide __sigintr and __strsignal as internal implementation details.Philip Guenther
Delete the already hidden _signal alias too. ok deraadt@ millert@
2015-09-09size for free()Florian Obser
OK semarie@, deraadt@
2015-09-09introduce reference counts for interfaces (ie, struct ifnet *ifp).David Gwynne
if_get can get a reference to an ifp, but it never releases that reference. this provides an if_put function that can be used to decrement the refcount. we cannot come up with a scheme for letting the network stack run on one (or many) cpus while ioctls are pulling interfaces down on another cpu without refcounts for the interfaces. if_put is going in now so we can go through the stack and put the necessary calls to it in, and then we'll backfill this implementation to actually check the refcounts when the interface detaches. ok mpi@ mikeb@ claudio@
2015-09-09fix a mistake in the predefined string passed to -width (it isIgor Sobrado
obvious "indent", not "ident", was intended); instead of this use the macro Ds as the indent is an offset -- fixes indentation of uuencode(1) and uudecode(1) options. ok jmc@