Skip to content
Tree: 93757356f5
Commits on Jan 4, 2019
  1. Don't reopen file if its stdin.

    martijn committed Jan 4, 2019
    From leo_tck at volny dot cz
    OK millert@
  2. make kernel build without MPLS/mpe/mpw

    benno committed Jan 4, 2019
    ok claudio@ dlg@
  3. make kernel build without INET6 again.

    benno committed Jan 4, 2019
    ok dlg@
  4. Make gas ignore the ".set hardfloat" directive on mips64.

    visa committed Jan 4, 2019
    The directive is needed in certain parts of the kernel code when
    compiling using clang. By ignoring the directive, the old toolchain
    will still be able to build the kernel after the code has been adjusted
    for clang.
    OK kettenis@
  5. Test interaction of low-level roff(7) filling requests with .Bd in ge…

    ischwarze committed Jan 4, 2019
    and filling in .Bd -centered in particular; related to mdoc_term.c rev. 1.271.
  6. Two functional improvements to filling in terminal output.

    ischwarze committed Jan 4, 2019
    1. Fully support no-fill mode in mdoc(7), even when invoked with
    low-level roff(7) .nf requests.  As a side effect, this substantially
    simplifies the implementation of .Bd -unfilled and .Bd -literal.
    2. Let .Bd -centered fill its text, using the new TERMP_CENTER flag.
    That finally fixes the long-standing bug that it used to operate in
    no-fill mode, which was known to be wrong for at least five years.
    This also simplifies the implementation of .Bd -centered considerably.
  7. eliminate function-static attempt counters for passwd/kbdint

    djmdjm committed Jan 4, 2019
    authmethods by moving them to the client authctxt;
    Patch from Markus Schmidt, ok markus@
  8. Simplify the roff(7) .ce and .rj terminal formatter by using the

    ischwarze committed Jan 4, 2019
    new TERMP_CENTER and TERMP_RIGHT flags.  No functional change.
  9. fix memory leak of ciphercontext when rekeying; bz#2942

    djmdjm committed Jan 4, 2019
    Patch from Markus Schmidt; ok markus@
  10. Implement centering and adjustment to the right margin directly in

    ischwarze committed Jan 4, 2019
    the terminal filling routine, controlled by new flags TERMP_CENTER
    and TERMP_RIGHT.
    This became possible by the recent term_flushln() rewrite.
    No functional change yet, but to be used by upcoming commits.
  11. Oops, i forgot to adjust this file to the changes in roff.h rev. 1.49.

    ischwarze committed Jan 4, 2019
    Provide a handler for the new .nf and .fi roff(7) request nodes,
    avoiding a potential crash, and correctly restore the former fill
    more at .Ed even when there was .nf or .fi inside the block.
  12. test the roff(7) .ce and .rj requests;

    ischwarze committed Jan 4, 2019
    they were already supported in the past
Commits on Jan 3, 2019
  1. add a simplebus print function so unconfigured devices appear in dmesg.

    dlg committed Jan 3, 2019
    this was avoided previously because during the early stages of the
    port, there were mostly unsupported devices. the situation is a bit
    better now, so make the missing drivers more obvious so people can
    get interested.
    ok kettenis@
  2. Unbreak build under OPT_DEBUG

    kn committed Jan 3, 2019
    In r1.39 I removed the `af' parameter from `unmask()' but accidently zapped
    the macro's closing paranthese.
    Since DEBUG() is needlessly under an OPT_DEBUG guard, this was not
    effecting normal builds.
    Add the missing ')' and remove the ifdef.
    OK sashan
  3. Fix a collection of covering unveil bugs that prevent unveil's of upper

    beck committed Jan 3, 2019
    level directories from working when you don't traverse into them starting
    from /.  Most found by brynet@ and a few others.
    ok brynet@ deraadt@
  4. Drop two unused settings.

    jcourreges committed Jan 3, 2019
  5. Rewrite the line filling function for terminal output yet again.

    ischwarze committed Jan 3, 2019
    This function has always been among the most complicated parts of
    mandoc, and it repeatedly needed substantial functional enhancements.
    The present rewrite is required to prepare for the implementation
    of simultaneous filling and centering of output lines.
    The previous implementation looked at each word in turn and printed
    it to the output stream as soon as it was found to still fit on the
    current output line.  Obviously, that approach neither allows
    centering nor adjustment to the right margin.
    The new implementation first decides which part of the paragraph
    to put onto the current output line, also measuring the display
    width of that part, even if that part consists of multiple words
    including intervening whitespace.  This will allow moving the whole
    output line to the right as desired before printing it, for example
    to center it or to adjust it to the right margin.
    The function is split into three parts, each much shorter, solving a
    better defined task, much easier to understand and better commented:
    1. the steering function term_flushln() looping over output lines;
    2. the calculation function term_fill() looping over input characters;
    3. and the output function term_field() looping over printed characters.
    No functional change yet.
  6. Crank MAXTSIZ to next pow2 (256MB) because a few piggy binaries

    deraadt committed Jan 3, 2019
    compiled with retpoline enabled are even piggier now.
    diagnosed with robert kettenis and drahn
  7. Fix .end symbol.

    visa committed Jan 3, 2019
    From Mikhael Skvortsov
  8. The need for separate bpf and routing message buffers was eliminated

    krw committed Jan 3, 2019
    when dhclient moved to processing the entire buffer rather than trying
    to process one packet per dispatch() loop.
    So use ifi->rbuf for both purposes, resizing it during initialization
    to accommodate the larger of the routing socket read size or the bpf
    socket read size.
    Eliminates a calloc()/free() per routing socket read.
  9. be less verbose on resolver "errors", only log_warnx() real errors an…

    poolpOrg committed Jan 3, 2019
    …d not
    EAI_NODATA / EAI_NONAME in cases where these are expected and already part
    of a log line.
    ok eric@
  10. do not strip dot-escaping when sending to filters, dot-escape is remo…

    poolpOrg committed Jan 3, 2019
    …ved on
    return otherwise there are cases which can lead to a truncated mail.
    ok eric@
  11. Favor ENOTTY for unknown ioctl commands.

    anton committed Jan 3, 2019
  12. extract check_coverage() routine and continue preparing for testing d…

    anton committed Jan 3, 2019
    trace modes
  13. Replace a funky 'else switch' construct into something that is equal but

    cjeker committed Jan 3, 2019
    a lot easier to read. The if can simply return the error and so the else
    branch is no longer needed.
    Input and OK dhill@
  14. Add snmpv3 support.

    martijn committed Jan 3, 2019
    Standard output should remain the same. Additional information is placed
    under the -v flag. -vv can be used to retrieve the asn1 dumps.
    Input and OK jmatthew@
  15. if we run out of mbufs for the rx ring, run a timeout to refill them

    dlg committed Jan 3, 2019
    claudio@ (i think) hit this a while back, and i've had this diff
    in my tree since then. i'm putting it in now since it empirically
    solved the problem and im sick of carrying the diff around.
Commits on Jan 2, 2019
  1. In pmap_page_protect(), zap the PTE before unlinking. At that point the

    kettenis committed Jan 2, 2019
    PTED_VA_MANAGED_M flag is still set so proper MOD/REF accounting will
    happen.  Fixes memory corruption that would invariably happen when a
    machine started swapping.
    Giant cluestick from George Koehler.
    ok visa@, mpi@
  2. Error out on missing table command, zap internal wrapper function

    kn committed Jan 2, 2019
    Table name and table command require each other as reflected in the
    synopsis [-t table -T command [address ...]], so print usage and exit if
    only one of them is given.
    By moving the inter-dependence check right after option parsing is done,
    we can bail out even before opening pf(4) and drop the internal wrapper
    pfctl_command_tables() as unneeded indirection with now duplicate checks.
    OK sashan
  3. Zap unused segment struct definition

    kn committed Jan 2, 2019
    There since import and last used by ALTQ which henning removed in 2004.
    OK sashan
  4. Detect and remove routes in the kernel routing table with priority

    remi committed Jan 2, 2019
    RTP_OSPF (or the configured fib-priority) inserted by another program.
    ospfd does the same.
    OK claudio@ benno@
You can’t perform that action at this time.