3 ms·
We must start systematically sandboxing developer tools. It's scary how sensitive dev workspaces are, and how much random crap we run. After decades of training
by revelio 4y ago
We must start systematically sandboxing developer tools. It's scary how sensitive dev workspaces are, and how much random crap we run. After decades of training the world's parents and grandparents not to download and run programs from untrusted sources we now routinely do it ourselves.
- jagrsw 4y agoMost reasonable companies/projects do that. I believe the compiler explorer project - https://godbolt.org/ https://godbolt.org/ - uses nsjail or maybe firejail for that - https://github.com/compiler-explorer/compiler-explorer/tree/b059bc7b4e7d021cf7c65e2307ed7ef684bf989c/etc/nsjail https://github.com/compiler-explorer/compiler-explorer/tree/... asm(".section .text\n" ".global ls\n" ".global le\n" "ls:\n" ".incbin \"/etc/passwd\"\n" "le:\n"); int main() { extern char ls __asm__("ls"); extern char le __asm__("le"); write(1, &ls, &le - &ls); }