From 48187ac278adc69cc277d7328a7c441ebfc9f1d3 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 3 Mar 2020 20:22:42 +0530 Subject: [PATCH] Fix syntax highlighting for SELinux post Signed-off-by: Harsh Shandilya --- content/posts/resolving-selinux-denials-on-android.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/posts/resolving-selinux-denials-on-android.md b/content/posts/resolving-selinux-denials-on-android.md index c853b9b..bfa2432 100644 --- a/content/posts/resolving-selinux-denials-on-android.md +++ b/content/posts/resolving-selinux-denials-on-android.md @@ -39,14 +39,14 @@ SELinux builds upon DAC-based restrictions and adds additional layers of restric Here's a sample denial that we'll attempt to resolve. -``` +```java avc: denied { read write } for pid=29059 comm="i.tetherservice" name="ipa" dev="tmpfs" ino=11991 scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0 ``` The policy rule to resolve it: -``` +```java allow system_app ipa_dev:chr_file {read write}; ```