Skip to content

Commit

Permalink
Blacklist i3 IPC socket except for i3 itself
Browse files Browse the repository at this point in the history
  • Loading branch information
smheidrich committed May 27, 2024
1 parent e25596b commit 0af8540
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/inc/disable-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ blacklist ${RUNUSER}/gnome-session-leader-fifo
blacklist ${RUNUSER}/gnome-shell
blacklist ${RUNUSER}/gsconnect

# i3 IPC socket (allows arbitrary shell script execution) & more
blacklist ${RUNUSER}/i3
blacklist /tmp/i3-*

# systemd
blacklist ${HOME}/.config/systemd
blacklist ${HOME}/.local/share/systemd
Expand Down
2 changes: 2 additions & 0 deletions etc/profile-a-l/i3.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ include globals.local

# all applications started in i3 will run in this profile
noblacklist ${HOME}/.config/i3
noblacklist ${RUNUSER}/i3
noblacklist /tmp/i3-*
include disable-common.inc

caps.drop all
Expand Down

0 comments on commit 0af8540

Please sign in to comment.