adb_selinux_denials
List recent SELinux AVC denials from logcat and kernel logs to see which processes were blocked, what they attempted, and which contexts were involved when diagnosing permission issues.
Instructions
List recent SELinux AVC denial messages from logcat and kernel logs. Shows which processes were blocked, what they tried to do, and the SELinux contexts involved. Useful for diagnosing permission issues and understanding security policy enforcement.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "adb_selinux_denials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Max denial entries to return (1-1000, default 50) | |
| device | No | Device serial | |
| process | No | Filter denials by process/source context name |