diff options
Diffstat (limited to 'recipes-security/optee-imx/optee-client/optee-udev.rules')
| -rw-r--r-- | recipes-security/optee-imx/optee-client/optee-udev.rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-security/optee-imx/optee-client/optee-udev.rules b/recipes-security/optee-imx/optee-client/optee-udev.rules new file mode 100644 index 000000000..075f469c0 --- /dev/null +++ b/recipes-security/optee-imx/optee-client/optee-udev.rules | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | KERNEL=="tee[0-9]*", MODE="0660", OWNER="root", GROUP="teeclnt", TAG+="systemd" | ||
| 2 | |||
| 3 | # If a /dev/teepriv[0-9]* device is detected, start an instance of | ||
| 4 | # tee-supplicant.service with the device name as parameter | ||
| 5 | KERNEL=="teepriv[0-9]*", MODE="0660", OWNER="root", GROUP="teeclnt", \ | ||
| 6 | TAG+="systemd", ENV{SYSTEMD_WANTS}+="tee-supplicant@%k.service" | ||
