Firejail: For --private-tmp expose /tmp/.X11-unix as read-only

Created on 22 Nov 2018  路  3Comments  路  Source: netblue30/firejail

Currently in case of private-tmp option we mount an empty /tmp with whitelisted /tmp/.X11-unix. Additionally we may expose it as read-only. The read-only mount flag does not prevent using connect() syscall on the socket.

Most helpful comment

I think it should be built into --private-tmp directly to avoid cluttering profiles.

All 3 comments

@Vincent43 Is the easiest way to do this to build it in to --private-tmp or to just add it to the profiles directly?

I think it should be built into --private-tmp directly to avoid cluttering profiles.

Going to close this as this should now be implemented.

Was this page helpful?
0 / 5 - 0 ratings