HomeFreeBSD

lib/flua/libjail: Allow empty params table

Description

lib/flua/libjail: Allow empty params table

The name or jid always gets added to the params, and that's enough to
avoid allocating a 0 length params array.

Reported by: kevans
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D28778

(cherry picked from commit e175b519a6fb83889fb3ca679b73d11ea5bea7ad)

Details

Provenance
freqlabsAuthored on Feb 25 2021, 5:16 AM
Reviewer
kevans
Differential Revision
D28778: lib/flua/libjail: Allow empty params table
Parents
rG137544502b05: sbin/ifconfig: Get lagg status with libifconfig
Branches
Unknown
Tags
Unknown