]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libbe(3): allow creation of arbitrary depth boot environments
authorkevans <kevans@FreeBSD.org>
Mon, 22 Apr 2019 13:43:38 +0000 (13:43 +0000)
committerkevans <kevans@FreeBSD.org>
Mon, 22 Apr 2019 13:43:38 +0000 (13:43 +0000)
commitb65d19e9179a8f00c0bfcc7c6fb7f2f478a01064
tree9d19ffcb0140658adb6fc8f0554ee782852a4c0e
parent473a07e47cf06d013b1dff5b0652151d6a9d6cae
libbe(3): allow creation of arbitrary depth boot environments

libbe currently only provides an API to create a recursive boot environment,
without any formal support for intentionally limiting the depth. This
changeset adds an API, be_create_depth, that may be used to arbitrarily
restrict the depth of the new BE.

Submitted by: Rob Fairbanks <rob.fx907 gmail com>
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D18564
lib/libbe/be.c
lib/libbe/be.h
lib/libbe/be_impl.h
lib/libbe/libbe.3