summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-02Determine whether we're currently on the alternative signal stackPhilip Guenthe
dynamically, by comparing the stack pointer against the altstack base and size, so that you get the correct answer if you longjmp out of the signal handler, as tested by regress/sys/kern/stackjmp/. Also, fix alt stack handling on vax, where it was completely broken. Testing and corrections by miod@, krw@, tobiasu@, pirofti@
2012-12-01reload_cse_noop_set_p(): invoking rtx_equal_for_cselib_p() is not enough; ifMiod Vallat
it reports the dest and source parts of the set insn are identical, we need to check whether they are volatile memory references, and return 0 (not a noop) in that case. This allows `*volatile_ptr = *volatile_ptr;' constructs to no longer be incorrectly optimized away on platforms which can perform memory to memory transfers in a single instruction (i.e. m68k and vax). Found the hard way on vax, where some systems need to frob the interrupt stack early, before being able to handle faults, and a gcc3-built kernel would have this operation optimized away, leading to a quick system reset.
2012-12-01Crank boot blocks version because of the compiler change.Miod Vallat
2012-12-01Switch m88k ports to gcc 3.Miod Vallat
2012-12-01If compiling with gcc 3, initialize a local variable to prevent -WuninitializedMiod Vallat
from firing a false positive; ok robert@
2012-12-01Add support for older firmware on UltraSPARC T1 machines.Mark Kettenis
2012-12-01remove misleading XXXs and TODOsAlexandre Ratchov
2012-12-01Parse "-m mode1,mode2,.. " strings strictly.Alexandre Ratchov
2012-12-01Make privileged process daemonize too. Using same function as theKenneth R Westerback
non-privileged process, go_daemon(). As pointed out by kettenis@, otherwise it is still attached to a controlling terminal and subject to the dangers thereof. Prep for having the privileged process pay attention to signals.
2012-12-01Silently ignore VD_OP_GET_DEVID as Solaris uses it even though we don'tMark Kettenis
advertise it.
2012-12-01Make it possible to share cores between domains.Mark Kettenis
2012-12-01The capability parser should only return an error in extreme cases. If aClaudio Jeker
particular capability is bad, log the fact and ignore it. This may give us a chance to bring up session that have e.g. unexpected AFI,SAFI pairs in them. Also make the error messages more user friendly. OK henning@, sthen@
2012-12-01Add RX TCP/UDP checksum offload support.Brad Smith
ok naddy@ sthen@
2012-12-01Don't bother to zero initialize the if_capabilities field first andBrad Smith
then set the flags. Just set the flags as is done everywhere else. ok sthen@
2012-12-01Additional CA root certificates: GeoTrust/Equifax, Go Daddy, StartCom, thawte.Stuart Henderson
ok beck@ william@ todd@
2012-12-01update currency exchange rates;Jason McIntyre
2012-12-01The return value of vio_link_state() is not used so change the returnBrad Smith
type from int to void. ok sf@
2012-12-01A couple of whitespace nits.Kenneth R Westerback
2012-11-30syncTodd T. Fries
2012-11-30syncTodd T. Fries
2012-11-30drain midi port output buffer before closing it ensuring the lastAlexandre Ratchov
few bytes are not lost
2012-11-30Generate pf_print_host.c before mkdep uses it.Tobias Ulmer
ok guenther@
2012-11-30Regenerate the text information for all certificates with recent opensslStuart Henderson
and include sha1 signatures for all certs (some were missing). No certificate changes, this is just for consistency. ok beck@
2012-11-30use the hold flag for midi ports as wellAlexandre Ratchov
2012-11-30For MIDI ports, use the same open/close logic as for audio devices:Alexandre Ratchov
drop clients using it when the port is closed (eg. umidi disconnected) and try to reopen it whenever a new client connects.
2012-11-30When the audio device is closed, mark it as closed beforeAlexandre Ratchov
dropping connections otherwise clients may try to drain their buffer and would attempt to reopen the device
2012-11-30make DEV_xxx contiguousAlexandre Ratchov
2012-11-30Process incoming MIDI data on the fly rather than using anAlexandre Ratchov
input fifo; besides being simpler, this way there's no data to drain when a connection is dropped.
2012-11-30don't exit if midi control port is destroyed (it never is)Alexandre Ratchov
2012-11-30Remove retired Thawte/Verisign certificates.Stuart Henderson
Remove intermediate GoDaddy certificate, this file should just contain roots. ok beck@ phessler@
2012-11-30get rid of unneeded \n here. err(3) family already does it for us.Gleydson Soares
OK mikeb@ camield@ reyk@ sobrado@ henning@ krw@
2012-11-30- pci.4: add rtsxJason McIntyre
- rtsx.4: lowercase Nd
2012-11-30makes cloned devices line up well with the rest of the output;Mike Belopuhov
ok guenther, krw
2012-11-30Document a known bug in the DES crypt cipher implementation which we'reStefan Sperling
not going to fix in order to stay compatible with legacy password data. Nobody should use DES crypt anyway these days. See http://www.freebsd.org/security/advisories/FreeBSD-SA-12:02.crypt.asc for details about this bug. Discussed with deraadt and beck about half a year ago (I'm pruning Ms from my tree).
2012-11-30Fix width of several zero-width characters in the Hebrew range (0590–05FF).Stefan Sperling
Pointed out by naddy some time ago. Our definition of the Hebrew range is incomplete wrt current Unicode editions. The proper fix would be to generate this entire file based on current Unicode data but nobody is currently working on that. I'm committing this intermediate fix partly to draw attention to that problem :-)
2012-11-30Fix typo in comment.Stefan Sperling
2012-11-30Fix speakers on Apple MacBook Air 2010, they require gpio unmuting.Stuart Henderson
From ray@, adapted from a diff by jakemsr@, commit req'd by Alexey Suslikov
2012-11-30Support large MTUsStefan Fritsch
Add support for the VIRTIO_NET_F_MRG_RXBUF feature, i.e. allow to chain several rx buffers when receiving large packets. This requires to put the rx meta data headers at the beginning of the mbuf cluster instead of dedicated buffers. ok mikeb@
2012-11-30Add rtsx(4).Brad Smith
ok stsp@
2012-11-29Add man page for rtsx(4).Stefan Sperling
2012-11-29Enable rtsx(4) in GENERIC on i386 and amd64.Stefan Sperling
2012-11-29Add rtsx(4), a new driver for the Realtek RTS5209 card reader.Stefan Sperling
This card reader does not comply to the standard SDHC interface supported by sdhc(4) and hence requires a custom driver. With help from uwe and mikeb. Useful hints were also provided by the author of the corresponding Linux driver (wwang at realsil com cn), thanks a lot! Tested by myself and weerd on i386 and amd64.
2012-11-29Delete needless check for NULL. From Michael W. Bombardieri.YASUOKA Masahiko
no binary changes on i386.
2012-11-29s/daemon/program/Mark Kettenis
Pointed out by Jung Lee.
2012-11-29- put the various options into the same order as those in resolv.hJason McIntyre
- sync RES_DEBUG with resolv.conf.5 - document RES_PRIMARY, but mark it unsupported (like we already do for RES_AAAONLY) - use the exact same text (about being enabled by default) for RES_RECURSE as for the other two defaults - document RES_INSECURE{1,2} - description lifted from resolv.conf.5 - document RES_NOALIASES - mostly sync the RES_USE_EDNS0 text with resolv.conf.5 - RES_USE_DNSSEC not documented for now. something to come... ok sthen
2012-11-29use Nm instead of Xr to self;Jason McIntyre
2012-11-29Remove setting an initial assumed baudrate upon driver attach which is notBrad Smith
necessarily correct, there might not even be a link when attaching. ok mikeb@ reyk@
2012-11-29Prevent VPN traffic leakages in dual-stack hosts/networks.Reyk Floeter
See http://tools.ietf.org/html/draft-gont-opsec-vpn-leakages. We forcibly block IPv6 traffic by loading a "flow esp out from ::/0 to ::/0 type deny" unless the protocol is used in any of the flows. Note that this will block any IPv6 traffic, superseding routes and pf, on the host by default when iked is running with IPv4 flows only. This auto-blocking feature can be disabled by specifying the "-6" command line flag to iked. Thanks to Fernando Gont. ok mikeb@
2012-11-29Wrong argument was passed to control_dispatch_imsg(). Use alwaysYASUOKA Masahiko
(struct imsgev *)->data for the argument of imsgev handlers. ok reyk
2012-11-29Fix asterisk symbol in de layout.Alexandr Shadchin
ok miod@, pointed Stefan Koerner <stefan dot koerner at pilum-tech dot de>