Skip to content

Keep DDC brightness cache out of shared /tmp - #11601

Closed
chessing234 wants to merge 1 commit into
omacom:quattrofrom
chessing234:security/ddc-cache-tmp
Closed

chessing234 wants to merge 1 commit into
omacom:quattrofrom
chessing234:security/ddc-cache-tmp

Conversation

@chessing234

@chessing234 chessing234 commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • omarchy-brightness-display-ddc no longer caches bus/range files at a fixed path under world-writable /tmp.
  • Prefer XDG_RUNTIME_DIR; otherwise a private 0700 owner-checked state directory.

Fixes #11596.

Test plan

  • ./test/shell.d/brightness-display-ddc-cache-path-test.sh

@chessing234

Copy link
Copy Markdown
Contributor Author

folded into # for a single review.

@chessing234

Copy link
Copy Markdown
Contributor Author

folded into #12065 for a single review.

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.

[Security] omarchy-brightness-display-ddc caches bus numbers under world-writable /tmp

1 participant