[PR #773] [MERGED] Add option to block X11 #3751

Closed
opened 2026-05-05 10:07:13 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/773
Author: @manevich
Created: 9/10/2016
Status: Merged
Merged: 9/11/2016
Merged by: @netblue30

Base: masterHead: x11


📝 Commits (2)

📊 Changes

6 files changed (+122 additions, -0 deletions)

View changed files

📝 src/firejail/firejail.h (+2 -0)
📝 src/firejail/main.c (+8 -0)
📝 src/firejail/profile.c (+39 -0)
📝 src/firejail/x11.c (+55 -0)
📝 src/man/firejail-profile.txt (+11 -0)
📝 src/man/firejail.txt (+7 -0)

📄 Description

Add --x11=block command line option, x11 block, x11 xephyr, x11 xpra profile options.

X11 blacklisting implemented simplest way:

  • Blacklist /tmp/.X11-unix and .Xauthority
  • It's up to user to decide how to deal with abstract sockets, just stop with explanatory error message if abstract socket will be accessible in jail.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/773 **Author:** [@manevich](https://github.com/manevich) **Created:** 9/10/2016 **Status:** ✅ Merged **Merged:** 9/11/2016 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `x11` --- ### 📝 Commits (2) - [`85195f5`](https://github.com/netblue30/firejail/commit/85195f55733b5a369ddbc335393b3a16e10647a5) add x11=block option - [`214b62c`](https://github.com/netblue30/firejail/commit/214b62cebecab39340b523880cc44994f343244b) update man ### 📊 Changes **6 files changed** (+122 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/firejail.h` (+2 -0) 📝 `src/firejail/main.c` (+8 -0) 📝 `src/firejail/profile.c` (+39 -0) 📝 `src/firejail/x11.c` (+55 -0) 📝 `src/man/firejail-profile.txt` (+11 -0) 📝 `src/man/firejail.txt` (+7 -0) </details> ### 📄 Description Add `--x11=block` command line option, `x11 block`, `x11 xephyr`, `x11 xpra` profile options. X11 blacklisting implemented simplest way: - Blacklist `/tmp/.X11-unix` and `.Xauthority` - It's up to user to decide how to deal with abstract sockets, just stop with explanatory error message if abstract socket will be accessible in jail. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:07:13 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3751
No description provided.