Skip to content

Instantly share code, notes, and snippets.

View RDS5's full-sized avatar

RDS5

View GitHub Profile
@RDS5
RDS5 / emg2926_VTR.patch
Created July 21, 2024 20:31
UBoot on Videotron routers requires DEVICE_MODEL header to be EMG2926 rather than AAVK-EM
diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk
index 1a7eebc..1afe182 100644
--- a/target/linux/ath79/image/nand.mk
+++ b/target/linux/ath79/image/nand.mk
@@ -517,3 +517,10 @@ define Device/zyxel_emg2926_q10a
RAS_BOARD := AAVK-EMG2926Q10A
endef
TARGET_DEVICES += zyxel_emg2926_q10a
+
+define Device/zyxel_emg2926_q10a_VTR
@Goayandi
Goayandi / gist:642246ac18431bc9c88135ba8113617d
Created April 25, 2018 19:46 — forked from msfjarvis/sepolicy.md
How to write sepolicy to fix a denial

Denial in question

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

sepolicy fix

allow system_app ipa_dev:chr_file {read write};