summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-04Fix a typo. The command is to get the default system PATH valueTodd C. Miller
is "getconf PATH" not "getconf CS_PATH".
2016-03-04Now that the ksh built-in mknod is gone, don't mention it here.tb
ok deraadt@, jmc@
2016-03-04Invert the pledge() condition.natano
The only case where we don't want to pledge() is when a mode containing the suid, sgid or sticky is is passed on the command line. mknod() in a pledged binary would always strip those bits. discussion and ok espie@ ok deraadt@ semarie@ tb@
2016-03-04fix broken listDmitrij Czarkoff
2016-03-04graduate bn_expand() to a real function. the openssl version of thisTheo de Raadt
uses a macro with multiple-evaluations of arguments (different amount than the previous version..), but doug/bcook's inline version makes BIGNUM not opaque [problem spotted by naddy] ok doug
2016-03-04Revert bn_expand until there's consensus on a fix.Doug Hogan
2016-03-04Set root device to sd0a, instead of wd0a. Virtio devices show upStefan Kempf
as sd. Original diff from Patrick Wildt. In addition, using the MAKEBOOTDEV macro no longer makes bsd ask for the root disk on VM boot. ok mlarkin@
2016-03-04fix typoDmitrij Czarkoff
2016-03-04remove CSRG BSD-licensed mknod builtin code which was previously used toTheo de Raadt
accelerate install/upgrade time MAKEDEV runs. That allows ramdisk ksh to be pledged, without needing "dpath". We'll solve the performance issues a different way (soon). ok otto espie natano tb tobiasu rpe
2016-03-04- Convert atoi(3) to strtonum(3)mestre
- Replace hardcoded program string by getprogname(3) - Remove '?' from getopt(3)'s switch default case (but still keep 'h') OK tb@ after his suggestions
2016-03-04be more careful determining which regress/sys/arch/XXX directory toTheo de Raadt
enter; issue came up a dir was deleted containing a obj@ link ok millert
2016-03-04repair documentation for inferior(); from Michal MazurekTheo de Raadt
2016-03-04fix a typo; from Michal MazurekTheo de Raadt
2016-03-04don't parse (...|...) patterns in variable substitution inside double quotesDmitrij Czarkoff
fixes posix compatibility issue OK millert@, nicm@, otto@
2016-03-04rename xxx-what-do-you-call-this-1 to qouted-brace-expansion-1Dmitrij Czarkoff
suggestion from beck@, OK millert@, otto@
2016-03-04fix ClientAliveInterval when a time-based RekeyLimit is set;Damien Miller
previously keepalive packets were not being sent. bz#2252 report and analysis by Christian Wittenhorst and Garrett Lee feedback and ok dtucker@
2016-03-04Filter debug messages out of log before picking the last two lines.Darren Tucker
Should prevent problems if any more debug output is added late in the connection.
2016-03-04add KEX fuzzer harness; ok deraadt@Damien Miller
2016-03-04extra ) not needed, spotted by tiago silvaTheo de Raadt
2016-03-03Correct OpenBSD::Pledge in set list to allow vax release to buildAndrew Fresh
from Sigi Rudzio <sigirudzio gmail.com>
2016-03-03VM guest memory is allocated via an uvm anon memory range.Stefan Kempf
Allocate management data structures (amap) lazily by specifying the UVM_FLAG_COPYONW flag instead of UVM_FLAG_OVERLAY when creating the anon. ok mlarkin@
2016-03-03ping(8) and ping6(8) use different types for packet counters. InFlorian Obser
preparation of a merge just use int64_t and be done with it. OK deraadt
2016-03-03Re-introduce computation of memory used by a VM.Stefan Kempf
This got accidently removed by me in r1.31. noticed by and ok mlarkin@
2016-03-03Convert uiomovei to uiomove. Fixes a few integer truncations along theStefan Kempf
way. ok natano@
2016-03-03Remove WSDISPLAY_COMPAT_SYSCONS. We no longer run FreeBSD binary X11Christian Weisgerber
servers. Pointed out by jmc@, ok deraadt@ millert@
2016-03-03syncTheo de Raadt
2016-03-03Improve SWIDTH of some unicode charactersAndrew Fresh
ok schwarze@
2016-03-03show-* and set-* need to handle a missing target.Nicholas Marriott
2016-03-03Accept clients as sessions in cmd_find_get_session.Nicholas Marriott
2016-03-03RGB colours shouldn't be mixed up with aixterm colours, return beforeNicholas Marriott
that happens when working out if they are supported.
2016-03-03Kill IPv6 prefix and router renumbering ioctls.Jeremie Courreges-Anglas
Router renumbering was never supported, prefix ioctls were deprecated ~15 years ago. Move some items in netinet6/nd6.h where they are still used. ok mikeb@ mpi@
2016-03-03Delete all traces of SIOCSIF(ADDR|DSTADDR|NETMASK)_IN6Jeremie Courreges-Anglas
Those ioctls never made sense, IPv6 was designed right from the start with support for multiple addresses by interface. ok mikeb@ mpi@
2016-03-03Unwind the trapframe correctly when a breakpoint is set on `syscall'.Martin Pieuchot
Prevent a fault in DDB on amd64. ok mlarkin@
2016-03-03Remove option USER_LDT and everything depending on it.Christian Weisgerber
Remove machdep.userldt sysctl. Remove i386_[gs]et_ldt syscall stub from libi386. Remove i386_[gs]et_ldt regression test. ok mlarkin@ millert@ guenther@
2016-03-03Kill db_x86_64_regop() to unify how db_regs[] is defined between archs.Martin Pieuchot
No objection from mlarkin@
2016-03-03Kill BPTTRAP() and reduce some differences betwen i386 and amd64 trapMartin Pieuchot
handlers. No functionnal change. ok mlarkin@, mikeb@
2016-03-03prototype vlan_inject()David Gwynne
this should have been committed as part of src/sys/net/if_vlan.c r1.152 tree breakage discovered by benoit lecocq sorry
2016-03-03Restore assignment of ic_curmode that was accidentally removed whenGerhard Roth
moving the ERP code to post-assoc phase. Fixes iwi(4) fatal firmware errors. ok stsp@, sobrado@
2016-03-03When a physical address is needed to flush the secondary cache useJonathan Gray
VM_PAGE_TO_PHYS() instead of unnecessarily calling pmap_extract(). From Patrick Wildt.
2016-03-03factor out the injection of a vlan shim into an ethernet frameDavid Gwynne
vlan_inject() will be reused by mpw(4) in the future. ok mpi@
2016-03-03Move fdt to a more centralized location so it can be used by arm as well. ↵Brandon Mercer
Diff from Patrick Wildt. Tested and OK dlg@.
2016-03-03Look back 3 lines for possible error messages. Changes to the code meanDarren Tucker
that "Bad packet length" errors are 3 lines back instead of the previous two, which meant we didn't skip some offsets that we intended to.
2016-03-03replace the XXX next to setting link_maxhdr with an explanationDavid Gwynne
the XXX has been there since 1.1, even back in netbsd, and im too lazy to go back further to try and see why it is there. either way it is meaningless. suggested by mikeb@ and mpi@
2016-03-03bump link_maxhdr up from 16 to 64David Gwynne
link_maxhdr is best explained as the space reserved before an ip packet payload for link headers, the most common of which is ethernet. 16 was a good choice when the only traffic we really did was ip over ethernet, but now there are commonly used transports that are bigger, specifically 802.11 traffic and vlan/vlan encapsulations, that justify bumping it up. i chose 64 because it would also allow enough space for encapsulations like etherip or gif. this reduces the size of the smallest packet that can fit into an mbuf before more storage needs to be suffixed, but because most traffic is either full sized (ie, already bigger than a single mbuf) or tiny packets (think tcp ACKS, keystrokes over ssh, or dns requests) the impact is negligible. ok stsp@ mpi@ sthen@ mikeb@
2016-03-02set armv7 callbacks for cortex a53/a52/a72Jonathan Gray
from Patrick Wildt who tested this on cortex a53
2016-03-02fix the name of the define for the a72 maskJonathan Gray
from Patrick Wildt
2016-03-02synTheo de Raadt
2016-03-02Improve accuracy of reported transfer speeds by waiting for the ack fromDarren Tucker
the other end. Pointed out by mmcc@, ok deraadt@ markus@
2016-03-02Improve precision of progressmeter for sftp and scp by storing sub-secondDarren Tucker
timestamps. Pointed out by mmcc@, ok deraadt@ markus@
2016-03-02syncTheo de Raadt