fs: proc: backport PROC_AVC from N770F

* Provides filtered AVC log at /proc/avc_msg

* Replaces SEC_AVC_LOG
This commit is contained in:
Anan Jaser 2022-12-19 02:00:32 +04:00 committed by xxmustafacooTR
parent 452c39f514
commit b406237766
No known key found for this signature in database
GPG key ID: 520B6FE385CBF5C9
6 changed files with 212 additions and 39 deletions

View file

@ -471,11 +471,6 @@ extern void sec_debug_save_last_kmsg(unsigned char *head_ptr, unsigned char *cur
/*
* Samsung TN Logging Options
*/
#ifdef CONFIG_SEC_AVC_LOG
extern void sec_debug_avc_log(char *fmt, ...);
#else
#define sec_debug_avc_log(a, ...) do { } while (0)
#endif /* CONFIG_SEC_AVC_LOG */
/**
* sec_debug_tsp_log : Leave tsp log in tsp_msg file.