History log of /openbsd/usr.sbin/rdsetroot/rdsetroot.c (Results 1 – 5 of 5)
Revision Date Author Comments
# a17b2361 24-Apr-2023 krw <krw@openbsd.org>

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 k

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@

show more ...


# 4493dc29 20-Jan-2023 kn <kn@openbsd.org>

Sync usage with SYNOPSIS, mention that -x may use stdout

Feedback from jmc and Crystal Kolipe
OK jmc


# b7041c07 24-Oct-2021 deraadt <deraadt@openbsd.org>

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 mig

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

show more ...


# f356787b 16-Apr-2019 sunil <sunil@openbsd.org>

Rewrite using libelf(3).

Lots of help with build/tests on sparc64 from jsg@, thank you.
ok deraadt


# 7829d1e3 05-Apr-2019 deraadt <deraadt@openbsd.org>

take elfrdsetroot, clean it up for regular usage, and make it a full
citizen of base.
push from benno, ok mortimer ingo others