From: Reinhard Tartler <siretart@tauware.de>
Date: Sat, 20 Sep 2025 05:58:52 -0400
Subject: Unbreak when running in incus

Expands https://github.com/opencontainers/runc/commit/9a7e5a94346df545be991330196ed4d65adcbb26
---
 libcontainer/devices/device_unix.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcontainer/devices/device_unix.go b/libcontainer/devices/device_unix.go
index c533eb1..e2a96af 100644
--- a/libcontainer/devices/device_unix.go
+++ b/libcontainer/devices/device_unix.go
@@ -79,7 +79,7 @@ func GetDevices(path string) ([]*Device, error) {
 			switch f.Name() {
 			// ".lxc" & ".lxd-mounts" added to address https://github.com/lxc/lxd/issues/2825
 			// ".udev" added to address https://github.com/opencontainers/runc/issues/2093
-			case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts", ".udev":
+			case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts", ".incus-mounts", ".udev":
 				continue
 			default:
 				sub, err := GetDevices(filepath.Join(path, f.Name()))
