Page MenuHomeFreeBSD

periodic: Make security diff(1) output as small is possible
ClosedPublic

Authored by michaelo on Dec 15 2023, 2:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 31, 7:17 AM
Unknown Object (File)
Wed, Jan 28, 6:54 PM
Unknown Object (File)
Fri, Jan 23, 2:10 PM
Unknown Object (File)
Wed, Jan 14, 10:29 PM
Unknown Object (File)
Nov 23 2025, 1:01 AM
Unknown Object (File)
Nov 23 2025, 1:01 AM
Unknown Object (File)
Nov 23 2025, 1:01 AM
Unknown Object (File)
Nov 23 2025, 1:01 AM

Details

Summary

Make, by default, security diff(1) produce a unified output with a context of
zero (0) lines. This reduces output of unrelated lines in e-mails delivered
to root.

PR: 270266
Approved by: jrm (mentor), emaste, karels
MFC after: 1 month
Relnotes: yes

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54961
Build 51850: arc lint + arc unit

Event Timeline

As requested by @karels, this is now a separate review, with target MFC after one month.

Double-checking the places where this gets used, I don't think context is important. I agree with the long MFC just in case.

This revision is now accepted and ready to land.Dec 15 2023, 5:04 PM