Up to [local] / src / usr.sbin / rdsetroot
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 24 14:06:01 2023 UTC (13 months, 1 week ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.4: +17 -4 lines
Diff to previous 1.4 (colored)
Add '-s' option to simply display the number of bytes available for the rdroot filesystem in the specified kernel. No behaviour change to existing uses of rdsetroot. Improved option handling & ok kn@
Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 20 17:15:22 2023 UTC (16 months, 1 week ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)
Sync usage with SYNOPSIS, mention that -x may use stdout Feedback from jmc and Crystal Kolipe OK jmc
Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 24 21:24:19 2021 UTC (2 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)
For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 16 06:09:52 2019 UTC (5 years, 1 month ago) by sunil
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.1: +179 -84 lines
Diff to previous 1.1 (colored)
Rewrite using libelf(3). Lots of help with build/tests on sparc64 from jsg@, thank you. ok deraadt
Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 5 21:07:11 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5
take elfrdsetroot, clean it up for regular usage, and make it a full citizen of base. push from benno, ok mortimer ingo others