Módulo Magisk / KernelSU que desactiva los registros (logs) generados por seccomp vaciando la lista /proc/sys/kernel/seccomp/actions_logged en cada arranque.
Seccomp (secure computing mode) es un mecanismo del kernel que filtra las llamadas al sistema (syscalls) que puede hacer un proceso. Android lo usa para limitar lo que pueden hacer las apps y los servicios.
Cuando un filtro devuelve una acción distinta de ALLOW (por ejemplo, bloquear una syscall), el kernel puede registrar el evento mediante el subsistema de auditoría. Esos registros aparecen como líneas audit: type=1326 ... en dmesg / logcat.
/proc/sys/kernel/seccomp/actions_logged es un sysctl de lectura/escritura con la lista de acciones de seccomp que sí se registran. Por defecto incluye todas, excepto allow (que nunca se puede registrar):
kill_process kill_thread trap errno user_notif trace log
El módulo escribe una lista vacía en ese archivo, así que ninguna acción se registra.
- ✅ Menos ruido en
dmesgy logcat - ✅ Solo una escritura al arrancar, sin procesos en segundo plano
- ❌ No desactiva seccomp ni sus filtros: las apps siguen bloqueadas igual, solo se deja de escribir el aviso
- ❌ No afecta a SELinux (los
avc: deniedsiguen apareciendo)
- Magisk 20.4+ o KernelSU
- Kernel con seccomp filter (Linux 4.14 o superior) y el archivo
/proc/sys/kernel/seccomp/actions_loggeddisponible
El instalador comprueba que el archivo exista y aborta si no es así.
- Flashea el zip desde Magisk / KernelSU
- Reinicia el dispositivo
su -c cat /proc/sys/kernel/seccomp/actions_loggedLa salida debe estar vacía. También puedes comprobarlo sin terminal pulsando el botón de acción del módulo en Magisk / KernelSU: te dirá si el registro de seccomp está desactivado.
Para ver las acciones que soporta tu kernel:
su -c cat /proc/sys/kernel/seccomp/actions_availElimina el módulo y reinicia. El valor solo vive en memoria, así que tras el reinicio el kernel vuelve a su configuración por defecto.
Para restaurarlo sin reiniciar (ajusta la lista a lo que muestre actions_avail):
su -c 'echo "kill_process kill_thread trap errno user_notif trace log" > /proc/sys/kernel/seccomp/actions_logged'Con los registros desactivados es más difícil diagnosticar cierres de apps por SIGSYS (Bad system call), porque el kernel ya no deja constancia de qué syscall fue bloqueada. Si estás depurando algo así, desactiva el módulo temporalmente.
Magisk / KernelSU module that disables the logs generated by seccomp by clearing /proc/sys/kernel/seccomp/actions_logged on every boot.
Seccomp (secure computing mode) is a kernel feature that filters the system calls (syscalls) a process may make. Android uses it to restrict what apps and services can do.
When a filter returns any action other than ALLOW (for example, blocking a syscall), the kernel can log the event through the audit subsystem. These show up as audit: type=1326 ... lines in dmesg / logcat.
/proc/sys/kernel/seccomp/actions_logged is a read/write sysctl holding the list of seccomp actions that are logged. By default it contains all of them except allow (which can never be logged):
kill_process kill_thread trap errno user_notif trace log
The module writes an empty list to that file, so no action gets logged.
- ✅ Less noise in
dmesgand logcat - ✅ A single write at boot, no background processes
- ❌ It does not disable seccomp or its filters: apps are still blocked exactly the same, the kernel just stops logging it
- ❌ It does not affect SELinux (
avc: deniedmessages still appear)
- Magisk 20.4+ or KernelSU
- A kernel with seccomp filter support (Linux 4.14 or newer) and
/proc/sys/kernel/seccomp/actions_loggedavailable
The installer checks that the file exists and aborts otherwise.
- Flash the zip from Magisk / KernelSU
- Reboot your device
su -c cat /proc/sys/kernel/seccomp/actions_loggedThe output should be empty. You can also check it without a terminal by tapping the module's action button in Magisk / KernelSU: it tells you whether seccomp logging is off.
To see the actions your kernel supports:
su -c cat /proc/sys/kernel/seccomp/actions_availRemove the module and reboot. The value only lives in memory, so after rebooting the kernel goes back to its default configuration.
To restore it without rebooting (adjust the list to match actions_avail):
su -c 'echo "kill_process kill_thread trap errno user_notif trace log" > /proc/sys/kernel/seccomp/actions_logged'With logging disabled, it is harder to diagnose app crashes caused by SIGSYS (Bad system call), since the kernel no longer records which syscall was blocked. If you are debugging something like that, disable the module temporarily.