diff options
author | Igor Ostapenko <igoro@FreeBSD.org> | 2025-03-31 09:08:43 +0000 |
---|---|---|
committer | Igor Ostapenko <igoro@FreeBSD.org> | 2025-03-31 09:17:03 +0000 |
commit | 30e6e008bc06385a66756bebb41676f4f9017eca (patch) | |
tree | 9231729f5962ec29d176ceabd4c761a96b0c41de /usr.sbin/edquota/(public-mirror) | |
parent | 197997a4c36d8be5807688a4f973ebe8ae807a6e (diff) |
Each one is an arbitrary string associated with a jail. It can be set
upon jail creation or added/modified later:
> jail -cm ... meta="tag1=value1 tag2=value2" env="configuration"
The values are not inherited from the parent jail.
A parent jail can read both metadata parameters, while a child jail can
read only env via security.jail.env sysctl.
The maximum size of meta or env per jail is controlled by the
global security.jail.meta_maxbufsize sysctl. Decreasing it does not
alter the existing meta information.
Each metadata buffer can be handled as a set of key=value\n strings:
> jail -cm ... meta="$(echo k1=v1; echo k2=v2)" env.1=one
> jls meta.k2 env.1 meta.k1
While meta.k1= resets the value to an empty string, the meta.k1 without
the equal sign removes the given key.
Relnotes: yes
Reviewed by: jamie
Tested by: dch
Sponsored by: SkunkWerks GmbH
Differential Revision: https://reviews.freebsd.org/D47668
Diffstat (limited to 'usr.sbin/edquota/(public-mirror)')
0 files changed, 0 insertions, 0 deletions