CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2020/03/07 11:51:06

Modified files:
        usr.sbin/ldomctl: config.c 

Log message:
Initialise only the components list for "list-io"

Nothing else is needed and pri_init() actually writes to the PRI file
whereas pri_init_components() only reads (as expected in this code path).

This allows listing IO devices from PRI files that are read-only;
I noticed this by having the "factory-default" configuration protected
with the system immutable flag "schg", see chflags(1).

Reply via email to