summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-17Move mbuf_list and mbuf_queue documentation in their own manual.Martin Pieuchot
ok jmc@, deraadt@, dlg@
2015-06-17stray char jumped inTheo de Raadt
2015-06-17delete completely bogus (floating? was there an old variable declTheo de Raadt
in the past?) comment about FILEC noted by Peter Brottveit Bock
2015-06-17remove -DFILEC; code does not compile for the -UFILEC case, and anyways,Theo de Raadt
who wants csh without FILEC?? from Peter Brottveit Bock, but redone using unifdef
2015-06-17Set FUNC symbol sizes of auto-generated and hand-written syscall wrappers.Masao Uebayashi
Original diff from guenther@, adjusted by me. OK guenther@
2015-06-16Typos in comments; Ville ValkonenMiod Vallat
2015-06-16Do not provide extra _fdata and __data_start symbols; nothing in the non-mips32Miod Vallat
world uses them.
2015-06-16alloc_contiguous_pages() is supposed to round the allocation size to a pageMiod Vallat
boundary, not to an u area boundary. Oops.
2015-06-16Clear the PIC `write request' memory at initialization time. There isMiod Vallat
apparently a risk of spurious parity errors if we don't.
2015-06-16Sync with recent changes.Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
receiving interface in the packet header of every mbuf. The interface pointer should now be retrieved when necessary with if_get(). If a NULL pointer is returned by if_get(), the interface has probably been destroy/removed and the mbuf should be freed. Such mechanism will simplify garbage collection of mbufs and limit problems with dangling ifp pointers. Tested by jmatthew@ and krw@, discussed with many. ok mikeb@, bluhm@, dlg@
2015-06-16Be more strict about BER and DER terminology.Doug Hogan
bs_ber.c does not convert BER to DER. It's a hack to convert a DER-like encoding with one violation (indefinite form) to strict DER. Rename the functions to reflect this. ok miod@ jsing@
2015-06-16Simplify cbs_get_any_asn1_element_internal based on comments from jsing@Doug Hogan
2015-06-16Add a uslcom id for the Netgear M7100 console from Andrew Daugherity.Jonathan Gray
Add some additional uslcom ids found in the Linux driver while here.
2015-06-16regenJonathan Gray
2015-06-16Add a uslcom id for the Netgear M7100 console from Andrew Daugherity.Jonathan Gray
Add some additional uslcom ids found in the Linux driver while here.
2015-06-16Add support for OPTION_DISCARD.Doug Hogan
ok jsing@
2015-06-15put -F before -f in the options list;Jason McIntyre
2015-06-15Rework how fstat and ktrace pattern are specified in the testAlexander Bluhm
arguments. Add tests to check wether syslogd privsep works. This is done for debug and foreground and daemon mode. Fstat is checked for chroot and sockets. Ktrace dump is grepped for setting uid and gid.
2015-06-15Implement a -F switch, that tells syslogd to stay in foreground.Alexander Bluhm
OK benno@; input millert@; no objections deraadt@
2015-06-15If AuthorizedPrincipalsCommand is specified, howeverJoel Sing
AuthorizedPrincipalsFile is not (or is set to "none"), authentication will potentially fail due to key_cert_check_authority() failing to locate a principal that matches the username, even though an authorized principal has already been matched in the output of the subprocess. Fix this by using the same logic to determine if pw->pw_name should be passed, as is used to determine if a authorized principal must be matched earlier on. ok djm@
2015-06-15Make the arguments to match_principals_command() similar toJoel Sing
match_principals_file(), by changing the last argument a struct sshkey_cert * and dereferencing key->cert in the caller. No functional change. ok djm@
2015-06-15Don't error out when an existing typedef is redefined with the same definition;Miod Vallat
this is allowed in C11 and 3rd-party software is relying upon this to be accepted by the compiler. Nevertheless warn about this if -pedantic. ok ajacoutot@ deraadt@ millert@
2014-08-20Run syslogd regressions tests. As only one syslogd can run perAlexander Bluhm
machine, each test kills any syslogd first. At the end the system's syslogd gets restarted. The test framework runs a client, and a server, and a syslogd. The messages are passed via the log socket or via UDP from the client to syslogd. From there UDP transport is used to reach the server. All processes write log files where the message has to show up. The test arguments are kept in the args-*.pl files. The content of a log file, the data sent to a pipe process and what the server received are checked. The invocation of the sendsyslog(2) syscall is checked with ktrace, the open file descriptors of syslogd are checked with fstat.
2015-06-15Bring back r1.78 and r1.79, now that ajactouto@'s regression hasMartin Pieuchot
been found: it was a hardware failure. When a bus is explored, do not probe the ports which status hasn't changed. This saves a lot of I/O when attaching/detaching devices and might help with some timing related problems.
2015-06-15Fix a double free in the destroy path triggered when a second process,Martin Pieuchot
in my case dhclient(8), races with ifconfig(8) to free the descriptors of the joined multicast groups. While here reduce the difference with carp(4). ok dms@
2015-06-15Set the length of isochronous transfers as the sum of the frames lengths.Martin Pieuchot
This reduces differences between non-isoch and isoch transfers submissions, makes the generic DMA buffer overrun check work with isoch transfers and will allow some code simplifications in HC drivers. Since short-transfers were never checked for isoch transfers, we now need to pass the USBD_SHORT_XFER_OK flag to not change this behavior. This might be revisited later. ok ratchov@
2015-06-15Update to tzdata2015e from ftp.iana.orgTodd C. Miller
2015-06-15get_val() already frees the buffer passed to it so we don't need toTodd C. Miller
do it in the caller.
2015-06-15Use proper argument type for crp_callback functions; no functional change.Mike Belopuhov
2015-06-15No need for an extra local variable; no functional change.Mike Belopuhov
2015-06-15Use proper argument type for crp_callback functions; no functional change.Mike Belopuhov
2015-06-15Add window_activity format, from Thomas Adam based on a diff originallyNicholas Marriott
from propos6 at gmail dot com.
2015-06-15hook up chmodFlorian Obser
2015-06-15oopsFlorian Obser
2015-06-15First stab at regression test for chmod (and chflags, chgrp and chownFlorian Obser
which are the same binary). This is supposed to exercise all syscalls paths through those tools and not a comprehensive regression test.
2015-06-15document pfctl -ss -R <rule>, ok mikeb@Stuart Henderson
2015-06-15Remove comments referring to Linux iwlwifi source filenames from iwm(4).Stefan Sperling
Linux is a moving target so these comments provide little value. Discussed with kettenis and deraadt.
2015-06-15Make the wifi LED work with iwm(4).Stefan Sperling
The bad news: Many laptops sold with iwm(4) cards don't have a wifi LED :-( The good news: Laptops with LEDs and no wifi device white-list in BIOS actually exist! Tested in one such machine. ok kettenis@ deraadt@
2015-06-15Make CBS_get_any_asn1_element() more compliant with DER encoding.Doug Hogan
CBS_get_any_asn1_element violates DER encoding by allowing indefinite form. All callers except bs_ber.c expect DER encoding. The callers must check to see if it was indefinite or not. Rather than exposing all callers to this behavior, cbs_get_any_asn1_element_internal() allows specifying whether you want to allow the normally forbidden indefinite form. This is used by CBS_get_any_asn1_element() for strict DER encoding and by a new static function in bs_ber.c for the relaxed version. While I was here, I added comments to differentiate between ASN.1 restrictions and CBS limitations. ok miod@
2015-06-15turn SSH1 back on to match src/usr.bin/ssh being testedDamien Miller
2015-06-15Remove ancient SSL_OP_NETSCAPE_CA_DN_BUG from SSLeay days.Doug Hogan
This commit matches the OpenSSL removal in commit 3c33c6f6b10864355553961e638514a6d1bb00f6. ok deraadt@
2015-06-15Remove ancient compat hack SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG.Doug Hogan
This was imported into OpenSSL from SSLeay. It was recently deleted in OpenSSL commit 7a4dadc3a6a487db92619622b820eb4f7be512c9
2015-06-15Remove 1997's compat hack SSL_OP_SSLEAY_080_CLIENT_DH_BUG.Doug Hogan
This is a hack for an old version of SSLeay which predates OpenSSL.
2015-06-15Update SSL_OP_* to remove ancient hacks that are no longer enabled.Doug Hogan
2015-06-15return failure on RSA signature error; reported by Albert SDamien Miller
2015-06-15fix regress fallout due to CFLAGS vs CXXFLAGSTheo de Raadt
2005-09-13dlopen regress tests.Dale Rahn
2015-06-14syncTheo de Raadt
2015-06-14Bring a few routines from libkern in order to avoid linking against libgcc.Miod Vallat