Skip to content

Validate target pid matches trusted client pid when promoting threads on Linux#191

Merged
kinetiknz merged 1 commit intomasterfrom
validate_pid
Apr 22, 2026
Merged

Validate target pid matches trusted client pid when promoting threads on Linux#191
kinetiknz merged 1 commit intomasterfrom
validate_pid

Conversation

@kinetiknz
Copy link
Copy Markdown
Contributor

@kinetiknz kinetiknz commented Apr 10, 2026

When promoting threads on Linux, verify the target pid supplied by the client matches the trusted pid supplied by Gecko during client setup via audioipc2_server_new_client.

Based on #190

Depends on mozilla/audio_thread_priority#41 so fails to build on CI until I update audio_thread_priority.

@kinetiknz kinetiknz requested a review from padenot April 10, 2026 11:53
@kinetiknz kinetiknz self-assigned this Apr 10, 2026
@kinetiknz kinetiknz force-pushed the validate_pid branch 2 times, most recently from 9d9a9d9 to 7e76991 Compare April 10, 2026 12:11
Comment thread ipctest/src/lib.rs Outdated
@kinetiknz kinetiknz force-pushed the validate_pid branch 3 times, most recently from 3073c86 to b7b922d Compare April 21, 2026 20:48
@kinetiknz kinetiknz merged commit bc5b036 into master Apr 22, 2026
12 checks passed
@kinetiknz kinetiknz deleted the validate_pid branch April 22, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants