Skip to content
Snippets Groups Projects
Forked from jvoisin / mat2
Source project has a limited visibility.
  • madaidan's avatar
    58773088
    Mount a new tmpfs on /tmp and drop all capabilities · 58773088
    madaidan authored and jvoisin's avatar jvoisin committed
    This mounts a new tmpfs on /tmp so any files residing there would be hidden
    from the sandbox. Many programs store some files in there that might be useful
    to an attacker.  It also drops all capabilities incase it is ever run with
    extra capabilities for whatever reason.
    58773088
    History
    Mount a new tmpfs on /tmp and drop all capabilities
    madaidan authored and jvoisin's avatar jvoisin committed
    This mounts a new tmpfs on /tmp so any files residing there would be hidden
    from the sandbox. Many programs store some files in there that might be useful
    to an attacker.  It also drops all capabilities incase it is ever run with
    extra capabilities for whatever reason.