Dry-Earth

Results comments of Dry-Earth

Proposed fix (policy-only, no runtime changes): #391 It appends `dontaudit` rules for the observed denials of the permissive `droidspacesd` domain to `boot-module/sepolicy.rule` (43 target-type/class groups, permissions merged from the crash...

Correction to our earlier diagnosis: this does **not** look like an audit-backlog hang. We installed the `dontaudit` boot-module (#391) and the device still hard-resets when the App terminal is closed....

Thanks for looking into this, and sorry for the delayed reply — the device owner is currently doing a factory reset to rule out a ROM-level issue, so we cannot...

## Update: `pid_impl=main` still hangs, but the hang moves to `session_clear_tty` We rebuilt with `DROID_LKM_PID_BOTH=1` and tested the `main` backend on the same device (factory-reset, same OTA/kernel). Result: **still hard-hangs**,...

## Correction: `session_clear_tty` is a NULL no-op; the hang is after the tty release We added return probes and re-ran the `main` backend. The previous conclusion was wrong — `session_clear_tty`...

## Final update: the phDroid namespace teardown is clean; the freeze is in the audit subsystem We added probes for `__fput`, `task_work_run`, `security_file_free`, `mntput`, `audit_log_start` and `audit_log_end`. Result: every phDroid...

Yes — that is doable, and it looks like the right temporary workaround. Concrete plan: 1. At module init, resolve `security_secctx_to_secid` and convert `"u:r:droidspacesd:s0"` to its SID. 2. Hook `slow_avc_audit`...

Thanks — we considered the LKM hook, but for now we are going with the app-side `dontaudit` fix instead: https://github.com/ravindu644/Droidspaces-OSS/pull/391 Reason: a domain-wide `slow_avc_audit` hook would drop **all** audit records...

## The `dontaudit` hotfix did not fix it — new lead: inline/text hooks We built and installed a boot-module with 43 `dontaudit` rules for the permissive `droidspacesd` domain (the app-side...

## Correction: the hang is in the tty hangup path, not the container teardown We went back to the ftrace capture and the container side is clean. The last ~20...