Skip to content

Instantly share code, notes, and snippets.

@AnwarShah
Created October 15, 2016 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnwarShah/b83c017bf8ea13d2c8c5c6d557d3c07d to your computer and use it in GitHub Desktop.
Save AnwarShah/b83c017bf8ea13d2c8c5c6d557d3c07d to your computer and use it in GitHub Desktop.
apparmor profile for atom-beta to restrict internet access
# Last Modified: Sat Oct 15 20:12:41 2016
#include <tunables/global>
/usr/bin/atom-beta flags=(complain) {
#include <abstractions/base>
#include <abstractions/bash>
deny network inet dgram,
deny network inet stream,
deny network netlink raw,
/bin/bash ix,
/usr/bin/atom-beta r,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment