HomeFreeBSD

jail(3lua): add a jail.list() method

Description

jail(3lua): add a jail.list() method

This is implemented as an iterator, reusing parts of the earlier logic
to populate jailparams from a passed in table.

The user may request any number of parameters to pull in while we're
searching, but we'll force jid and name to appear at a minimum.

Reviewed by: freqlabs
Differential Revision: https://reviews.freebsd.org/D26756

Details

Provenance
kevansAuthored on Oct 13 2020, 2:11 AM
Reviewer
freqlabs
Differential Revision
D26756: jail(3lua): add a jail.list() method
Parents
rG9eb5fd359969: uart: Match simple comm
Branches
Unknown
Tags
Unknown