Page MenuHomeFreeBSD

blacklist: update to NetBSD snapshot on 20191106
ClosedPublic

Authored by emaste on Nov 6 2019, 2:14 PM.
Tags
None
Referenced Files
F102598761: D22259.id64005.diff
Thu, Nov 14, 2:46 PM
Unknown Object (File)
Thu, Nov 7, 2:52 PM
Unknown Object (File)
Tue, Nov 5, 12:11 PM
Unknown Object (File)
Fri, Oct 18, 7:14 AM
Unknown Object (File)
Wed, Oct 16, 12:33 PM
Unknown Object (File)
Wed, Oct 16, 12:01 PM
Unknown Object (File)
Oct 15 2024, 5:46 PM
Unknown Object (File)
Oct 13 2024, 11:35 PM
Subscribers

Details

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bin/blacklistd.c
411

This comes from

commit 242b97578c81b692aa9e7edff06a4128b58708ef
Author: christos <christos@NetBSD.org>
Date:   Wed Feb 27 02:20:18 2019 +0000

    Instead of deleting the rules individually use flush to kill them all at
    once for efficiently. Also when restoring, don't nuke the database
    (Phil Rulon).
diff/ssh.diff
31–35

from

commit 828ba5364df6fe3b6fe72cd7fe506d3b47f5b2d9
Author: christos <christos@NetBSD.org>
Date:   Mon Jun 26 17:12:05 2017 +0000

    amend the patch to close.

Carrying around an openssh patch is far from ideal. Is there any chance it can be upstreamed?

The star changes look functionally fine.

I didn't look closely at the side effects / context of flush/restore changes. Nor ssh changes.

bin/support.c
105–117

This is sure to produce wrong results. I guess it's fine if we're just using this to print durations?

Carrying around an openssh patch is far from ideal. Is there any chance it can be upstreamed?

Agreed. The patch isn't actually used in our build, it's just extra stuff being carried around. At first I'm just trying to sync up with NetBSD, and we can look at improving things from there.

bin/support.c
105–117

I guess, it's less wrong than before anyway :)

This revision was not accepted when it landed; it landed in state Needs Review.Nov 6 2019, 4:22 PM
This revision was automatically updated to reflect the committed changes.

Grammar suggestion for the man page.

head/contrib/blacklist/bin/blacklistd.conf.5
39 ↗(On Diff #64005)

"files contains" sounds not right. I guess "contain" is better.

head/contrib/blacklist/bin/blacklistd.conf.5
39 ↗(On Diff #64005)

Or even "file contains"