summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-08Line-breaking roff(7) requests also break man(7) next-line scope.Ingo Schwarze
Considering that real roff implements next-line scope using input line traps, that isn't all that surprising. Issue found in the games/xbattle port.
2017-05-08Replace the global variables pfr_{sin,sin6} with stack local variablesPatrick Wildt
so that we can run these parts of pf in parallel. Also replace a single usage of pfr_mask with a stack local variable. ok mpi@
2017-05-08Print size_t's correctly.Bob Beck
Fix from Jonas 'Sortie' Termansen <sortie@maxsi.org>
2017-05-08Guard debug printf with NFS_DEBUG ifdef like the other debug prints.Patrick Wildt
ok tom@
2017-05-08Guard debug printf with NETIF_DEBUG ifdef like the other debug prints.Patrick Wildt
ok tom@
2017-05-088192C is the only MIMO chip supported by this driver, all others are 1T1R.Ricardo Mestre
This diff corrects dmesg to properly show that all others are 1T1R, since right now it only applies to 8188C and all others incorrectly display 0T0R. hint & OK stsp@
2017-05-08Fix a possible NULL pointer deference on icmp6 echo reply caught byRafael Zalamena
clang. with tweak from and ok bluhm@
2009-10-15import of gcc-4.2.1, the last gcc release under GPLv2Robert Nagy
2017-05-08add a compile time assertion MSIZE == sizeof(struct mbuf)Ted Unangst
ok kettenis mpi tom
2017-05-08Basic implementation of the roff(7) .ti (temporary indent) request.Ingo Schwarze
Needed by about four dozen ports (thanks to naddy@ for the research).
2017-05-08Fix exponential CPU use with repeated '*' operators by changing '*'Todd C. Miller
handling to be interative instead of recursive. Fix by Yves Orton, ported to OpenBSD glob.c by Ray Lai. OK tb@
2017-05-08Update STANDARDS section, these are now in XSI BASE.Todd C. Miller
2017-05-08In iwm_send_cmd(), look at the generation counter instead of the STOPPED flagStefan Sperling
to determine whether the interface was reset while we were sleeping. The flag will be set if the interface is still down when the task wakes up, but the interface could already be up again in which case the flag will be cleared. ok mpi@ kettenis@
2017-05-08Remove icmp6_reflect() micro optimization to simplify code and avoid aRafael Zalamena
M_LOOP flag dance in ip6_output(). ok bluhm@, mpi@
2017-05-08Unbreak the tree. I missed a header file change in my last iwm(4) commit.Stefan Sperling
2017-05-08In iwm(4) avoid locking the NIC redundantly and perform accounting ofStefan Sperling
locking and unlocking. Make sure we don't unlock 7000 family NICs while a command is being processed (later NICs apparently don't need this). Inspired by similar approaches in Linux and Dragonfly, and a patch given to me by Imre Vadasz. Tested by me on 7265 and 8260 devices, and on a 7260 device by Stefan Wollny.
2017-05-08For 8188EU chips, read the R92C_HSSI_PARAM2(0) register to detect whetherStefan Sperling
the driver needs to enable the CCK high power feature, as already done for other chips supported by urtwn(4). Same change as FreeBSD r311347. Patch submitted by Kevin Lo. Tested by me.
2017-05-08Fix R92C_TXDW4_RTSRATE_M and R92C_TDECTRL_BLK_DESC_NUM_M definitions.Stefan Sperling
Same changes as FreeBSD r311948 and r287584. Patch submitted by Kevin Lo. Tested by me.
2017-05-08Add a compatibility shim for older pfctl binariesMike Belopuhov
Found by and input from dlg@, OK sthen, tedu, henning
2017-05-08Use C99 types and add a couple of missing macros needed for ctfconvert(1).Martin Pieuchot
2017-05-08Only test the mirror if it's remote (and not a local directory).Antoine Jacoutot
2017-05-08Unifed PMAP_UAREA, unused since we stopped supporting ARM < v7.Martin Pieuchot
ok kettenis@
2017-05-08Make netstat(8) always ask for IPv6 multicast routing information. WorstRafael Zalamena
case is that we get an empty response instead of a message saying that there is no multicast support. ok mpi@
2017-05-08Sync nfs_connect() w/ sys_connect().Martin Pieuchot
ok bluhm@
2017-05-08Adds functions to read and write state of devices in vmd.Reyk Floeter
This is required for implementing vmctl send and vmctl receive. vmctl send / receive are two new options that will support snapshotting VMs and migrating VMs from one host to another. The atomicio files are copied from usr.bin/ssh. Patch from Pratik Vyas; this project was undertaken at San Jose State University along with his three teammates, Ashwin, Harshada and Siri with mlarkin@ as the advisor. OK mlarkin@
2017-05-08Fix issues with iwm(4) firmware's retry rate table:Stefan Sperling
For a HT node, ni_txrate is always zero. We should be using ni_txmcs instead. Simplify the if-else logic to make sure of that. The mimo delimiter in the link quality command was never set. I don't know how important this is. But Linux sets it, so why not. Hardcode the lowest rate at the tail of the retry table. While debugging the old code I have encountered retry tables filled with only 'MCS 8' which is obviously not ideal. While here, fix a misspelled function prototype. Tested by kettenis@, mpi@, and Stefan Wollny ok mpi@
2017-05-08Added initial IPv6 multicast routing support for multiple rdomains:Rafael Zalamena
* don't share mifs (multicast interface) between rdomains * allow multiple routing sockets connected at the same time if they are in different rdomains. ok bluhm@
2017-05-08make requesting bad ECDSA bits yield the same error (SSH_ERR_KEY_LENGTH)Damien Miller
as the same mistake for RSA/DSA
2017-05-08fix for new SSH_ERR_KEY_LENGTH error valueDamien Miller
2017-05-08helps if I commit the correct version of the file. fix missingDamien Miller
return statement.
2017-05-08BUF_MEM_grow_clean() returns an int, not a size_t. Humourously, on successJoel Sing
it returns "len", which is a size_t value, as an int...
2017-05-08Convert REQUEST REFERENCE from using .Ss to .Bl -tag, allowing toIngo Schwarze
specify request arguments and supporting tag searching in less(1). Improve some entries and document .ta.
2017-05-08Always use the same callback to unlock as was used to lock. PermitsPhilip Guenther
libpthread initialization from a shared object's init (or fini, I suppose) routines. ok kurt@ kettenis@ espie@
2017-05-08remove arcfour, blowfish and CAST here tooDamien Miller
2017-05-08add a BUS_DMA_64BIT flag to bus_dma on all our archs.David Gwynne
this is so drivers can advertise that they can handle 64 dma addresses to the platform. it may choose to handle dmamaps differently based on this flag. tweaks and ok tom@ ok kettenis@
2017-05-08I was too aggressive with the scalpel in the last commit;Damien Miller
unbreak sshd, spotted quickly by naddy@
2017-05-08add printing of arguments in stack traces.David Gwynne
this relies on building the kernel with -msave-args, which has functions save their register arguments on the stack, so ddb can easily find them and print them. while here try to print arguments out of registers if we're at the top of the stack (ie, if we set a breakpoint on a function entry). -msave-args is only added to the compiler flags if the kernel has been configured with ddb. this means it wont waste the space on RAMDISK kernels because they don't include ddb. inspired by similar functionality that has been in use on solaris and its derivatives for well over a decade. ok deraadt@
2017-05-07Refuse RSA keys <1024 bits in length. Improve reporting for keys thatDamien Miller
do not meet this requirement. ok markus@
2017-05-07Don't offer CBC ciphers by default in the client. ok markus@Damien Miller
2017-05-07As promised in last release announcement: remove support forDamien Miller
Blowfish, RC4 and CAST ciphers. ok markus@ deraadt@
2017-05-07Add a format for the name of the pane's mode, lets it be used as aNicholas Marriott
conditional for key bindings.
2017-05-07implement .DT in terms of .ta; needed for print/ghostview, for exampleIngo Schwarze
2017-05-07Up to now, tmux sees \033\033[OA as M-Up and since we turned onNicholas Marriott
xterm-keys by default, generates \033[1;3A instead of \033\033[OA. Unfortunately this confuses vi, which doesn't understand xterm keys and now sees Escape+Up pressed within escape-time as Escape followed by A. The issue doesn't happen in xterm itself because it gets the keys from X and can distinguish between a genuine M-Up and Escape+Up. Because xterm can, tmux can too: xterm will give us \033[1;3A (that is, kUP3) for a real M-Up and \033\033OA for Escape+Up - in fact, we can be sure any \033 preceding an xterm key is a real Escape key press because Meta would be part of the xterm key instead of a separate \033. So change tmux to recognise both sequences as M-Up for its own purposes, but generate the xterm version of M-Up only if it originally received the xterm version from the terminal. This means we will return to sending \033\033OA instead of the xterm key for terminals that do not support xterm keys themselves, but there is no practical way around this because they do not allow us to distinguish between Escape+Up and M-Up. xterm style escape sequences are now the de facto standard for these keys in any case. Problem reported by jsing@ and subsequently by Cecile Tonglet in GitHub issue 907.
2017-05-07killpg() is covered by XSI so add a STANDARDS section to that effectTodd C. Miller
and document that handling of process group 0 is not specified by the standard.
2017-05-07further improvement to vmm fpu handling (support avx and avx2, blockMike Larkin
avx512 and various xsave* instructions) tested by many
2017-05-07Revise cipher suites in regress to match DSS cipher suite removal.Joel Sing
2017-05-07Drop cipher suites with DSS authentication - there is no good reason toJoel Sing
keep these around. ok beck@
2017-05-07Fix stage transition from the initial one to DROPPINGMike Belopuhov
When the initial state is set to DROPPING, the code immediately jumps to a CONTROL state bypassing DROPPING. To fix this we start with an explicit INITIAL state so that we do an INITIAL->DROPPING transition right off the bat in the beginning of the loop and then perform a DROPPING->CONTROL and either CONTROL->DROPPING and restart the loop or CONTROL->RECOVERY/ACCEPTING and terminate.
2017-05-07Backout previous as it's causing problems on architectures that alignMike Belopuhov
64 bit integers on an 8 byte boundary such as armv7. MHLEN calculation doesn't account for padding bytes inserted by the compiler after m_hdr. Found the hard way by kettenis@.
2017-05-07Basic implementation of the roff(7) .ta (define tab stops) request.Ingo Schwarze
This is the first feature made possible by the parser reorganization. Improves the formatting of the SYNOPSIS in many Xenocara GL manuals. Also important for ports, as reported by many, including naddy@.