adb_selinux_status
Check an Android device's SELinux enforcement mode, policy version, and recent denial count; with root, retrieve additional policy details from dmesg audit logs.
Instructions
Check SELinux enforcement mode, policy version, and recent denial count. Shows whether the device is in Enforcing, Permissive, or Disabled mode. Root access provides additional policy details from dmesg audit logs.
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_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial |