diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2023-04-25 10:11:21 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2023-04-25 10:11:21 +0000 |
commit | f1085eee68826d78a9171a5b134614633c7ba904 (patch) | |
tree | d44e0fe18954cb5cc61d782edf2a7f04ce569970 /lib/libcrypto | |
parent | dc63cea9b385af61a96d372851ebf3ae57d5981e (diff) |
Do not attempt to write to read-only softraid
Bootloaders have no write support for softraid volumes, which manifests in,
e.g. /bsd.upgrade not being stripped of its 'x' permission bit to prevent
sysupgrade loops in case of upgrade failure.
Set a no-write flag handled by libsa to bail out early in write calls.
There should be no real behaviour change, writes just fail earlier now.
amd64 EFI bits, other architectues to come. Crank minor.
"seems sensible" jsing
Diffstat (limited to 'lib/libcrypto')
0 files changed, 0 insertions, 0 deletions