tizen: Add SECLABEL for /dev/net/tun
authorCheoleun Moon <chleun.moon@samsung.com>
Fri, 19 Apr 2019 07:31:03 +0000 (16:31 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 29 May 2024 22:07:10 +0000 (00:07 +0200)
Change smack label of /dev/net/tun to *

Change-Id: Ie3c7d4e908a077064cb4d5ba5e4e082a7409da64
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
test/fuzz/fuzz-udev-rules/udev-default.rules

index 8e06c13..4ff32f4 100644 (file)
@@ -74,7 +74,7 @@ SUBSYSTEM=="aoe", GROUP="disk", MODE="0220"
 SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440"
 
 KERNEL=="rfkill", MODE="0664"
-KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
+KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun", SECLABEL{smack}="*"
 
 KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"