summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-26Handle the rc_stop=NO => rc_restart=NO case within _rc_not_supported().Antoine Jacoutot
2016-03-26Improve handling of ambiguous overstrike sequences. A sequence of _\b_Martin Natano
can either mean an underlined underscore or a bold underscore. This ambiguity can be 'resolved' by takeing the state of the surrounding text into account. If surrounded by bold text, the result should probably be bold and likewise for underlined. less(1) previously only looked at the preceding text and ul(1) didn't examine the context at all. tweaks and ok schwarze ok tb (on a previous version of the diff)
2016-03-26remove some unused ancient test files from 4.4 BSDMichael McConville
ok guenther@, millert@, deraadt@
2016-03-25Free some more space in kernel - for network code, of course - by removalVadim Zhukov
of three unused FS-related functions. okay mpi@ and beck@
2016-03-25Silences compiler warnings, about used uninitialized variables. These lengthsSebastien Marie
are passed uninitialized to free(9) only when pointers are NULL. found by jsg@ ok deraadt@
2016-03-25- Both checks for pw are not needed since it was already done at the start ofmestre
the program - Add error message to syslog if privdrop didn't succeed and then exit - Remove lint comments OK beck@ after his suggestion and also looks good to jca@
2016-03-25regression tests for underlined and bold underscores;Ingo Schwarze
currently broken, but natano@ will soon commit the fix to ul.c
2016-03-25Nuke session_socket_blockmode() and session_socket_linger(). UseKenneth R Westerback
the identical io_set_blocking() and io_set_linger(). Since both are always called to turn off blocking or lingering, nuke the parameter and associated enum in favour of "just doing the right thing". While passing remove the unneeded last parameter to the remaining fcntl(F_GETFL). Finally, rename the functions to io_set_nonblocking() and io_set_nolinger() for clarity. No functional change. Started with a sweep of fcntl() usage inspired by guenther@. ok gilles@
2016-03-24syncTheo de Raadt
2016-03-24Check that only one published entry can be added.Martin Pieuchot
2016-03-24Change the default gcc arm arch target from strongarm (armv4) toJonathan Gray
arm9e (armv5te w/o xscale extensions). We no longer support anything less than armv5te and this allows some additional instructions. -mthumb-interwork remains off by default. ok patrick@
2016-03-24Remove unused ``curpriority'' define.Martin Pieuchot
Its description might be confusing, it was the pre-SMP parent of what is now ``spc_curpriority'' which reflects the ``p_usrpri'' of curproc.
2016-03-24Kill commented out & unused CI_CURPRIORITY.Martin Pieuchot
2016-03-24no more i386_get_ioperm(2);Jason McIntyre
2016-03-24Update regress test outputs to match the order of routes exported by anMartin Pieuchot
ART-enabled kernel. The difference is that routes with the same destination are now displayed in natural prefix-length order. This can even be seen as an improvement: -10.0/16 192.0.2.4 -10.0/10 192.0.2.4 10/8 192.0.2.1 +10.0/10 192.0.2.4 +10.0/16 192.0.2.4 The previous order is due to how dup key chains are ordered. Discussed with claudio@
2016-03-24Enable ART.Martin Pieuchot
Leave the define for the moment, this will be changed as soon as we're confident enough. "it must be a 3-line diff" krw@ ok bluhm@, mikeb@, dlg@, reyk@, deraadt@
2016-03-24Ensure that a found proxy ARP entry has the correct flag.Martin Pieuchot
ok bluhm@
2016-03-24Make sure that two ARP entries can be created for the same IP whenMartin Pieuchot
doing proxy ARP. ok millert@, bluhm@
2016-03-24Remove #ifdef from code shared with the kernel, IPv6 is always enabledMartin Pieuchot
in the tests.
2016-03-24fix commentPhilip Guenther
2016-03-24set ticks 15 seconds before its value wraps.David Gwynne
this helps us identify issues around ticks wrap in 15 minutes instead of 240ish days. the change is inspired by something freebsd did as a result of a ticks change they made that went horribly wrong. lots of people said they wanted this
2016-03-24Unbreak arm and m88k: COPY relocations for weak symbols that are overloadedPhilip Guenther
with strong symbols in ld.so don't do what we need, so put definitions back in crt0 and make ld.so update __progname like it does environ. report and testing patrick@ jsg@
2016-03-24Display NAMI records and AF_UNIX socket paths with vis, usingPhilip Guenther
VIS_CSTYLE | VIS_DQ | VIS_TAB | VIS_NL; add the latter three flags to the existing vis encoding of exec argv/environ and pledge requests/paths. Delete local variables left unused when showbuf() and showbufc() were split ok otto@ millert@
2016-03-24Delete i386_{get,set}_ioperm(2) APIs and underlying sysarch(2) bits.Philip Guenther
They're no longer used by anything and should let us simplify the TSS handling. ok mikeb@ naddy@
2016-03-23Update to tzdata2016c from ftp.iana.org.Todd C. Miller
2016-03-23remove vax handlingnatano
ok millert
2016-03-23Initialize _res_ext.nsaddr_list alongside _res.nsaddr_list.Christopher Zimmermann
Fallback to initialization with 0 when _res.nsaddr_list is to small to hold an IPv6 address. OK bluhm@
2016-03-23Merge in_pcbbind() and in6_pcbbind(), and change every call toVincent Gross
in6_pcbbind() into in_pcbbind(). Ok jca@ mpi@
2016-03-23header cleanupmmcc
from Edgar Pettijohn, with a correction from deraadt@
2016-03-23add missing RTF_CONNECTED, remove ESIS (End System to IntermediateSebastian Benoit
System Protocol) add NDP instead, add information about RTF_FMASK. phessler@ millert@
2016-03-23tweak previous;Jason McIntyre
2016-03-23Assert that the mask to prefix length conversion is correct whenMartin Pieuchot
removing an entry. While here print the corresponding error string when available if rtable_* function fail.
2016-03-23arp(8) regression tests, some of which are currently failing with ART.Martin Pieuchot
2016-03-23Kill undocumented "pro" command. It's a no-op since the 90s!Martin Pieuchot
2016-03-23Rename 'rtn' to 'error' for coherency.Martin Pieuchot
2016-03-23Remove code to print the never set SIN_PROXY bit. This flag is only usedMartin Pieuchot
to set the 33rd bit of a 32bit address in the routing table. ok millert@
2016-03-23Remove unused arguments of dev_adjpar(), getbasepath() and allAlexandre Ratchov
slotops->onvol() implementations. From David CARLIER <devnexen at gmail.com>. Thanks.
2016-03-23Align comments. From David CARLIER <devnexen at gmail.com>. Thanks.Alexandre Ratchov
2016-03-23Cleanup SCTLR mask to only include bits that are actually defined onPatrick Wildt
most ARMv7 and ARMv8 processors. Add TODO to set the ACTLR.SMP bit so we can make use of the atomic instructions available since ARMv6. Remove unused comment and code while there. ok jsg@
2016-03-23Extract in_pcbaddrisavail() from in_pcbbind().Vincent Gross
ok jca@
2016-03-22dont leak an mbuf when copying the packet in pipex_mppe_output failsDavid Gwynne
ok yasuoka@
2016-03-22replace m_copym2 with m_dup_pktDavid Gwynne
this gives us preallocated space at the start of the packet for headers so later calls to M_PREPEND are far less likely to fail. ok yasuoka@
2016-03-22Remove support for ARM11. This was the last unused and unmaintainedPatrick Wildt
processor in our code. Now we're left with only armv7 and XScale for armish and zaurus. ok jsg@
2016-03-22Remove support for ARM10.Patrick Wildt
ok jsg@
2016-03-22merge three obviously redundant adjacent if statementsmmcc
from Michael W. Bombardieri
2016-03-22header cleanupmmcc
from Edgar Pettijohn, correction from deraadt@
2016-03-22Format the flags argument to sendsyslog()Philip Guenther
ok deraadt@ bluhm@
2016-03-22The scaffolding to support architectures without shared librariesChristian Weisgerber
has been removed from the ports infrastructure. Gone are: * variables CONFIGURE_SHARED, NO_SHARED_LIBS, NO_SHARED_ARCHS, SHARED_ONLY * PROPERTIES value "no_shared" * PFRAG.shared and PFRAG.no-shared files Also drop mention of the long gone PROPERTIES value "elf". ok sthen@, ok & tweaks jmc@
2016-03-22Connected routes are no longer identified by a AF_LINK gateway so adjustClaudio Jeker
dispatch_rtmsg_addr() similar to the way fetchtable() was fixed long ago. This should fix various issues with bad gateways being picked up by bgpd. Problem identified and initial fix provided by phessler@ but commiting my version which is more conservative. OK phessler@
2016-03-22Improve the sendsyslog(2) man page.Alexander Bluhm
OK deraadt@ guenther@ jmc@