relrod / rublets

An IRC bot that uses SELinux Sandboxes to let you evaluate code in a large number languages.
14 stars 1 forks source link

Allow sandbox_net_t_users to be optional in the config. #17

Closed awilfox closed 11 years ago

awilfox commented 11 years ago

I did not want any users to be able to run network code from my Rublets instance, so I did not include sandbox_net_t_users in my rublets.yml file. This caused an exception. This patch will check for the presence of sandbox_net_t_users in the config before map.

relrod commented 11 years ago

I think it would be better to nuke this functionality altogether. It never worked right (needs custom policy that I never ended up writing) and it could be done better if we do decide to do it one day. Thoughts?

relrod commented 11 years ago

How's that? :)