diff options
author | rusty-snake <print_hello_world+Public@protonmail.com> | 2020-01-02 13:52:54 +0100 |
---|---|---|
committer | rusty-snake <print_hello_world+Public@protonmail.com> | 2020-01-02 13:53:05 +0100 |
commit | 35927cb101278560cd145b4fb364770fac91a4ed (patch) | |
tree | 9811a9e116302b29e8e2768aa55d6c7b6c26ce18 | |
parent | tests: use pid 1, which will also exist in containers (diff) | |
download | firejail-35927cb101278560cd145b4fb364770fac91a4ed.tar.gz firejail-35927cb101278560cd145b4fb364770fac91a4ed.tar.zst firejail-35927cb101278560cd145b4fb364770fac91a4ed.zip |
Fix #3105 -- add allow-ruby.inc
-rw-r--r-- | etc/allow-ruby.inc | 2 | ||||
-rw-r--r-- | etc/templates/profile.template | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/etc/allow-ruby.inc b/etc/allow-ruby.inc new file mode 100644 index 000000000..3165a981a --- /dev/null +++ b/etc/allow-ruby.inc | |||
@@ -0,0 +1,2 @@ | |||
1 | noblacklist ${PATH}/ruby | ||
2 | noblacklist /usr/lib/ruby | ||
diff --git a/etc/templates/profile.template b/etc/templates/profile.template index dcf6dd201..7bfc3cf0d 100644 --- a/etc/templates/profile.template +++ b/etc/templates/profile.template | |||
@@ -87,6 +87,9 @@ include globals.local | |||
87 | # Allow lua (blacklisted by disable-interpreters.inc) | 87 | # Allow lua (blacklisted by disable-interpreters.inc) |
88 | #include allow-lua.inc | 88 | #include allow-lua.inc |
89 | 89 | ||
90 | # Allow ruby (blacklisted by disable-interpreters.inc) | ||
91 | #include allow-ruby.inc | ||
92 | |||
90 | # Allows files commonly used by IDEs | 93 | # Allows files commonly used by IDEs |
91 | #include allow-common-devel.inc | 94 | #include allow-common-devel.inc |
92 | 95 | ||