Commit graph

35 commits

Author SHA1 Message Date
Shirayuki39 8888008bff LG8n: sepolicy: Fix unable to serialize property duplicate
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 03:07:28 +08:00
Shirayuki39 91db3fba0d LG8n: sepolicy: Change mtk_hal_audio
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:52:36 +08:00
Shirayuki39 6012048c0b LG8n: sepolicy: remove duplicate declaration of NVRAM prop
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 02:21:46 +08:00
Shirayuki39 749d7d4521 LG8n: sepolicy: Label wakeup nodes
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 21:05:22 +08:00
Shirayuki39 8a2e1bb373 LG8n: sepolicy: Label wakeup26 node
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 02:02:35 +08:00
Shirayuki39 dcb586a583 LG8n: sepolicy: Address cameraserver denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 00:10:52 +08:00
Shirayuki39 dea38ce0eb LG8n: sepolicy: Address system_suspend denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-25 00:06:21 +08:00
Woomymy fe8b176423 LG8n: sepolicy: Address init.insmod.sh denials
Change-Id: I2b858d17db6b8edf07f34f12f38342ae519056c8
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-22 00:59:03 +08:00
Shirayuki39 e1066e77c3 LG8n: sepolicy: address hal_sensors denial relating to nvdata
07-21 14:22:10.256   966   966 I auditd  : type=1400 audit(0.0:445): avc: denied { search } for comm=android.hardwar name=/ dev=sdc8 ino=2 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:nvdata_file:s0 tclass=dir permissive=0
07-21 14:22:10.256   966   966 W android.hardwar: type=1400 audit(0.0:445): avc: denied { search } for name=/ dev=sdc8 ino=2 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:nvdata_file:s0 tclass=dir permissive=0

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 19:31:50 +08:00
Shirayuki39 1c33b858dd LG8n: sepolicy: remove vendor_transsion_fingerprint_prop
* This isn't needed at all

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 19:13:04 +08:00
Shirayuki39 0c7c7c38ab LG8n: sepolicy: make hal_fingerprint shut the hell up already
* dontaudit because we'll get fcked by neverallow if we allow this

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 19:05:05 +08:00
Shirayuki39 2295811b01 LG8n: sepolicy: Address bip denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 10:17:23 +08:00
Shirayuki39 0cc0d97d3c LG8n: sepolicy: Address more hal_fingerpint denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-21 10:17:12 +08:00
Shirayuki39 d81885e963 LG8n: sepolicy: Address various system_server denials relating to vibrator
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 20:09:22 +08:00
Shirayuki39 97fe491810 LG8n: sepolicy: Address various hal_sensors_denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 20:05:16 +08:00
Shirayuki39 54d570f032 LG8n: sepolicy: Address various hal_fingerprint_denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>

#Attempt 3
2024-07-20 20:00:01 +08:00
Shirayuki39 9361f419fa LG8n: sepolicy: Address various mtk_hal_audio denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 19:53:47 +08:00
Shirayuki39 0a729a345c LG8n: sepolicy: Address various camera denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 13:08:01 +08:00
Shirayuki39 93e85ad564 LG8n: sepolicy: address some health hal denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-20 11:52:58 +08:00
Shirayuki39 dafdfba29b Revert "LG8n: sepolicy: More fingerprint sepolicy fixes"
This reverts commit cff2119c81.
2024-07-19 21:47:53 +08:00
Shirayuki39 cff2119c81 LG8n: sepolicy: More fingerprint sepolicy fixes
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-19 21:17:27 +08:00
Shirayuki39 e4e0346934 LG8n: sepolicy: Remove error for hal_fingerprint
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 23:33:19 +08:00
Shirayuki39 67fd96acee LG8n: sepolicy: configure fingerprint sepolicy
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 22:49:18 +08:00
Shirayuki39 63a17d4548 LG8n: sepolicy: Fix fingerprint sepolicy x2
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 18:04:20 +08:00
Shirayuki39 892d0b7f55 LG8n: sepolicy: Fix fingerprint sepolicy
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 17:58:02 +08:00
Shirayuki39 7df2e9229d LG8n: sepolicy: remove get_prop from fingerprint
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 16:16:11 +08:00
Shirayuki39 d5d0aea1f6 LG8n: sepolicy: Address some hal_fingerprint_default denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-18 15:34:27 +08:00
Shirayuki39 8474c238c6 LG8n: Remove vpud_native
* Bruh I literally adapted this from stock

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 22:42:41 +08:00
Shirayuki39 dc56dc78d0 Revert "LG8n: sepolicy: Address bip denials"
This reverts commit cb650b4462.
2024-07-17 21:56:40 +08:00
Shirayuki39 37cbecec07 LG8n: sepolicy: Address hal_health_default denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:16:03 +08:00
Shirayuki39 920ff040c9 LG8n: sepolicy: Address vpud_native denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:13:08 +08:00
Shirayuki39 df0b1236ae LG8n: sepolicy: Address system_server sysfs vibrator denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:11:08 +08:00
Shirayuki39 63d5dc5612 LG8n: sepolicy: Address Sensor Denials
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:08:43 +08:00
Shirayuki39 cb650b4462 LG8n: sepolicy: Address bip denials
06-28 19:04:00.929  1151  1151 I auditd  : type=1400 audit(0.0:59): avc: denied { read } for comm=bip name=u:object_r:net_dns_prop:s0 dev=tmpfs ino=234 scontext=u:r:bip:s0 tcontext=u:object_r:net_dns_prop:s0 tclass=file permissive=0
06-28 19:04:00.913     1     1 I auditd  : type=1400 audit(0.0:57): avc: denied { create } for comm=init name=bip_socket scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=0

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 20:04:10 +08:00
Shirayuki39 9a6a4c6373 LG8n: Kang sepolicy from pre-Reboot branch(and ck9n)
* Wouldn't kanging be faster

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-17 14:56:10 +08:00