Page MenuHomeFreeBSD

login.conf(5): Default values: Rename column, elaborate on absence of such
ClosedPublic

Authored by olce on May 31 2023, 2:35 PM.
Tags
None
Referenced Files
F175739473: D40347.id123006.diff
Mon, Oct 12, 10:41 PM
F175739116: D40347.id133546.diff
Mon, Oct 12, 10:37 PM
F175739067: D40347.id133404.diff
Mon, Oct 12, 10:36 PM
F175738822: D40347.id123598.diff
Mon, Oct 12, 10:33 PM
F175738659: D40347.id133403.diff
Mon, Oct 12, 10:30 PM
F175675177: D40347.id122654.diff
Mon, Oct 12, 10:52 AM
Unknown Object (File)
Sep 6 2026, 10:24 AM
Unknown Object (File)
Sep 6 2026, 12:32 AM

Details

Summary

Column "Notes" in fact only contains default values for capabilities, so
make this clear by renaming it to "Default".

Add a small introductory text mentioning it, and what an absence of
default value means (inheritance).

PR: 271748

Diff Detail

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

Event Timeline

olce requested review of this revision.May 31 2023, 2:35 PM
olce edited the summary of this revision. (Show Details)

Add PR in commit message. Fix typo (section is name "Default").

emaste added a subscriber: emaste.

In the commit message I'd add some comment that a column for defaults already existed, it just had the wrong name.

lib/libutil/login.conf.5
187

"in the" or "by the" Default column sounds more natural

190

A little less verbose perhaps, "If there is no default, the value is inherited from..."

This revision is now accepted and ready to land.Jan 26 2024, 2:33 PM
olce marked 2 inline comments as done.
olce retitled this revision from login.conf(5): Default values under "Default", elaborate on absence of such to login.conf(5): Default values: Rename column, elaborate on absence of such.
olce edited the summary of this revision. (Show Details)

Apply suggestions.

This revision now requires review to proceed.Jan 26 2024, 3:12 PM
olce edited the summary of this revision. (Show Details)

Fix the commit message.

This revision is now accepted and ready to land.Jan 26 2024, 3:30 PM