Firejail / Sandboxing
a SUID sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces, seccomp-bpf and Linux capabilities. - github
- Firefox Sandboxing Guide
- Not all sandboxes are equal. For example: Firejail does not allow to write outside Downloads. Sandbox does not prevent such writing. - SO
- Limit the memory size used by the jailed process #593 -
ulimit
+firejail
orfirejail --cgroups
- ulimit vs cgroup - the mechanisms are generally not redundant:
- cgroup sets limits per groups of processes
- setrlimit sets limits per user or per process (ulimit is a wrapper arrount setrlimit)
- ulimit vs cgroup - the mechanisms are generally not redundant:
- cgroup sets limits per groups of processes
- Limit memory usage for a single Linux process
see also
Written on November 7, 2023, Last update on November 9, 2023
sandbox
cgroup
firefox
systemd