summaryrefslogtreecommitdiff
path: root/sysusers.d
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-09 19:06:18 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-10 23:05:48 +0100
commitc9c4899f4444d9586e541b5e72597a37f949433a (patch)
tree28c5dcc2c06b53c60cf69c01f7bd8bd733334d56 /sysusers.d
parent0361cee4284a64ef6cdfd4613d531fa64d36ddab (diff)
downloadsystemd-c9c4899f4444d9586e541b5e72597a37f949433a.tar.gz
udev: add default group for sgx enclave access
Closes #18669. This creates a "well known" for sgx_enclave ownership. By doing this here we avoid the risk that various projects making use of the device will provide similar-but-slightly-incompatible installation instructions, in particular using different group names. ACLs are actually a better approach to grant access to users, but not in all cases, so we want to provide a standard group anyway. Mode is 0o660, not 0o666 because this is very new code and distributions are likely to not want to give full access to all users. This might change in the future, but being conservative is a good default in the beginning. Rules for /dev/sgx_provision will be provided by libsg-ae-pce: https://github.com/intel/linux-sgx/issues/678.
Diffstat (limited to 'sysusers.d')
-rw-r--r--sysusers.d/basic.conf.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysusers.d/basic.conf.in b/sysusers.d/basic.conf.in
index 8e358c02d6..4be0bd869e 100644
--- a/sysusers.d/basic.conf.in
+++ b/sysusers.d/basic.conf.in
@@ -31,6 +31,7 @@ g input - - -
g kvm - - -
g lp - - -
g render - - -
+g sgx - - -
g tape - - -
g video - - -