Message ID | 20211208121654.7591-7-richard_c_haines@btinternet.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Paul Moore |
Headers | show |
Series | Various SELinux Notebook updates | expand |
On Wed, Dec 8, 2021 at 7:17 AM Richard Haines <richard_c_haines@btinternet.com> wrote: > > Used by snapper(8) for filesystem snapshot management. > > Signed-off-by: Richard Haines <richard_c_haines@btinternet.com> > --- > src/policy_config_files.md | 18 +++++++++++++++++- > 1 file changed, 17 insertions(+), 1 deletion(-) Merged, thank you.
diff --git a/src/policy_config_files.md b/src/policy_config_files.md index 0db80b4..c87cdfd 100644 --- a/src/policy_config_files.md +++ b/src/policy_config_files.md @@ -816,10 +816,26 @@ db_schema *.* system_u:object_r:sepgsql_schema_t:s0 ## *contexts/snapperd_contexts* -**To be determined** +Used by ***snapper**(8)* for filesystem snapshot management to set an SELinux +context on ***btrfs**(8)* subvolumes. This is a Red Hat specific policy +configuration file. **The file format is as follows:** +``` +snapperd_data = user:role:type[:range] +``` + +**Where:** + +*snapperd_data* + +- The keyword *snapperd_data* + +*user:role:type[:range]* + +- The security context including the MLS / MCS *level* or *range* if applicable. + **Example file contents:** ```
Used by snapper(8) for filesystem snapshot management. Signed-off-by: Richard Haines <richard_c_haines@btinternet.com> --- src/policy_config_files.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)