Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2024 18:12:39 +0200
From:      Igor Ostapenko <igoro@FreeBSD.org>
To:        freebsd-jail@freebsd.org
Subject:   [RFC] jail: Add meta parameter
Message-ID:  <b43a7529-685d-429d-90ce-1f6338ba0161@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi,

There is a proposed patch to add "meta" parameter, which can be any string
associated with a jail. It can be set upon jail creation or added/modified
later:

     > jail -cm ... meta="tag1=value1 tag2=value2"

The current design is the following:
- Its value is not inherited from a parent jail.
- A jail can read its own meta via security.jail.meta sysctl.
- The maximum meta size per jail is controlled with a global
   security.jail.meta_maxbufsize sysctl. Decreasing it does not alter the
   existing meta information.

The context, rationale, and its discussion are on the Phabricator -- review
and comments are welcome:

     https://reviews.freebsd.org/D47668


Best regards,
igoro



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b43a7529-685d-429d-90ce-1f6338ba0161>