Skip to content

Commit bf8b89d

Browse files
committed
docs: align table formatting for readability
1 parent 8cc9441 commit bf8b89d

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

docs/zygisk-adapter.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ type = "socket_file"
4747
path = "/data/adb/modules/<module_id>/run/filter.sock"
4848
```
4949

50-
| Field | Type | Required | Description |
51-
|-------|------|----------|-------------|
52-
| `type` | string | yes | Must be `"socket_file"` |
53-
| `path` | string | yes | Absolute path to the Unix socket file |
50+
| Field | Type | Required | Description |
51+
|--------|--------|----------|---------------------------------------|
52+
| `type` | string | yes | Must be `"socket_file"` |
53+
| `path` | string | yes | Absolute path to the Unix socket file |
5454

5555
### Unix Abstract
5656

@@ -62,10 +62,10 @@ type = "unix_abstract"
6262
prefix = "myapp_filter"
6363
```
6464

65-
| Field | Type | Required | Description |
66-
|-------|------|----------|-------------|
67-
| `type` | string | yes | Must be `"unix_abstract"` |
68-
| `prefix` | string | yes | Socket name prefix for discovery |
65+
| Field | Type | Required | Description |
66+
|----------|--------|----------|----------------------------------|
67+
| `type` | string | yes | Must be `"unix_abstract"` |
68+
| `prefix` | string | yes | Socket name prefix for discovery |
6969

7070
**Socket naming convention**: The filter server must listen on an abstract socket named `<prefix>_<seq>_<random>`, where:
7171

@@ -167,15 +167,15 @@ The entire interaction completes within **a single connection / process lifetime
167167

168168
## CheckArgsFast vs CheckArgsSlow
169169

170-
| Field | Fast | Slow | Description |
171-
|-------|------|------|-------------|
172-
| `uid` | yes | yes | Application UID |
173-
| `gid` | yes | yes | Application GID |
174-
| `is_system_server` | yes | yes | Whether this is system_server |
175-
| `is_child_zygote` | yes | yes | Whether this is a child zygote |
176-
| `package_info` | yes | yes | Package information list |
177-
| `nice_name` | no | yes | Process name (e.g. `com.example.app`) |
178-
| `app_data_dir` | no | yes | App data directory (e.g. `/data/data/com.example.app`) |
170+
| Field | Fast | Slow | Description |
171+
|--------------------|------|------|--------------------------------------------------------|
172+
| `uid` | yes | yes | Application UID |
173+
| `gid` | yes | yes | Application GID |
174+
| `is_system_server` | yes | yes | Whether this is system_server |
175+
| `is_child_zygote` | yes | yes | Whether this is a child zygote |
176+
| `package_info` | yes | yes | Package information list |
177+
| `nice_name` | no | yes | Process name (e.g. `com.example.app`) |
178+
| `app_data_dir` | no | yes | App data directory (e.g. `/data/data/com.example.app`) |
179179

180180
Fast args are available immediately at zygote fork time with no extra cost. Slow args require reading from the app process JVM, which is more expensive. If the filter can make a decision based on UID / package info alone, it should return `ALLOW` or `DENY` in the fast phase to avoid triggering the slow phase.
181181

0 commit comments

Comments
 (0)