Add ueventd.rc file for gpu permissions.

Add a custom ueventd.rc file for cuttlefish to grant the graphics stack
access to various device nodes.

Bug: 77276633
Change-Id: I6f6cf9ec694d6632e2df5f9bf9cef884fe4767cb
Merged-In: I6f6cf9ec694d6632e2df5f9bf9cef884fe4767cb
diff --git a/shared/config/ueventd.vsoc.rc b/shared/config/ueventd.vsoc.rc
new file mode 100644
index 0000000..4948706
--- /dev/null
+++ b/shared/config/ueventd.vsoc.rc
@@ -0,0 +1,3 @@
+/dev/dri/card0 0660 system graphics
+/dev/dri/controlD64 0660 system graphics
+/dev/dri/renderD128 0666 system graphics
diff --git a/shared/device.mk b/shared/device.mk
index 0206ec5..b119b63 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -105,6 +105,7 @@
     device/google/cuttlefish/shared/config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
     device/google/cuttlefish/shared/config/camera_v1.json:$(TARGET_COPY_OUT_VENDOR)/etc/config/camera.json \
     device/google/cuttlefish/shared/config/init.vsoc.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.vsoc.rc \
+    device/google/cuttlefish/shared/config/ueventd.vsoc.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/ueventd.vsoc.rc \
     device/google/cuttlefish/shared/config/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
     device/google/cuttlefish/shared/config/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
     device/google/cuttlefish/shared/config/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \