HomeFreeBSD

GEOM: Introduce gctl_add_param() API.

Description

GEOM: Introduce gctl_add_param() API.

Make gctl_add_param() API public, allowing more precise control over
parameter flags. Previously it was impossible to properly declare
write-only ASCII parameters, used for result reporting, they were
declared as read-write binary instead, that was not nice.

MFC after: 1 month

Details

Provenance
mavAuthored on Mar 7 2022, 4:06 PM
Parents
rG01b9c48b5dec: GEOM: Skip copyin() for GCTL_PARAM_WR parameters.
Branches
Unknown
Tags
Unknown