Commit Graph
31 Commits
Author SHA1 Message Date
Matt Godbolt 00ea739ab8 Rename files that confuse me every time (#4363) 2022-11-29 17:07:24 -06:00
Matt Godbolt 71486f5dc8 Remove /celibs/ hack from production 2020-11-25 12:08:00 -06:00
Matt Godbolt 2ff1004a5c Some path fixups post rename of c-e-image->infra 2020-05-14 23:23:25 -05:00
Matt Godbolt 62292fddaf Merge remote-tracking branch 'origin/master' into arm-hpc 2019-10-22 17:06:28 -05:00
Matt Godbolt 772f9b04ec Improve sandbox
Blacklists `/efs`, tested on a prod machine.
2019-10-22 08:38:23 -05:00
Matt Godbolt 5be10836f2 Tentative first steps in ARM hpc. CC @willlovett-arm 2019-10-07 22:01:08 -05:00
Patrick Quist 5f2286a975 Update standard.inc 2019-09-04 03:41:14 +02:00
Matt Godbolt b72df6cb65 whitelist /efs/compiler-explorer in readiness for directory changes 2019-09-03 19:09:50 -05:00
Matt Godbolt f212420cab Allow /etc/ld.so.conf* files so that linking finds system libraries. See #1398 2019-05-28 13:10:13 -05:00
Matt Godbolt 389c53ac6e Clarify comment in sandbox profile 2019-05-28 09:33:58 -05:00
Matt Godbolt d7bb4765ff Blacklist everything I can think of in /run. CC @apmorton for any thoughts! 2019-05-27 12:27:45 -05:00
Matt Godbolt 6482b2999f Increase virtual RAM availability for compilation. 2019-05-26 10:56:30 -05:00
Matt Godbolt 4e251dd106 Leave /tmp writable for WINE 2019-05-24 17:50:24 -05:00
Matt Godbolt 691c56b42a More tweaks to blacklisting (thanks again @apmorton) 2019-05-24 13:18:28 -05:00
Matt Godbolt a713fc1422 More blacklisting 2019-05-24 12:42:01 -05:00
Matt Godbolt 77b0805606 Another @apmorton discovery: syslog() escaped the jail! 2019-05-24 12:31:09 -05:00
Matt Godbolt fc579cf7c1 Fix @apmorton's sandbox escape (nice work Austin) 2019-05-24 12:13:07 -05:00
Matt Godbolt c44a88be5b Add address space limitations and timeouts. Use for compiler and sandbox limits. Should fix #1393 and helps #429 2019-05-24 10:32:16 -05:00
Matt Godbolt cea11b0d9a Arg terrible config files 2019-05-20 22:31:28 -05:00
Matt Godbolt b08b1bb1b4 First wave of environment variable removals 2019-05-20 22:16:53 -05:00
Matt Godbolt d516ef42cd Assume a patched CE-specific version of firejail to get a private cwd, and ensure proper cleanup and exit code 2019-05-20 15:22:32 -05:00
Matt Godbolt 0e8bcf8eba Run wine processes in a single, shared, sandbox. Keep a single long-lived CMD around which also implicitly creates the wineserver. Re-isolate ipc 2019-05-17 11:33:56 -05:00
Matt Godbolt 95b935d388 Very unlikely possible fix for WINE 2019-05-17 08:32:28 -05:00
Matt Godbolt 0f58f16a60 Use a different wine 2019-05-16 21:43:38 -05:00
Matt Godbolt 52c40dfc1e Make fonts available to wine to shut it up. Give WINE runs a private home dir (seems to prevent an occasional hang...) 2019-05-16 15:11:06 -05:00
Matt Godbolt fc97769854 Reduce amount of blacklisting required 2019-05-15 12:12:37 -05:00
Matt Godbolt fd4c5c5b18 Blacklist the /compiler-explorer-image dir 2019-05-14 14:04:27 -05:00
Matt Godbolt 3f138b1a09 Culmination of several days' worth of work towards running WINE under firejail. See #429 2019-05-13 10:45:24 -05:00
Matt Godbolt bf61974450 Tweak to get more compilers working in firejail. They love to use mmap, and like to make it executable. That's probably ok 2019-05-08 15:04:22 -05:00
Matt Godbolt 26984ce461 Move all execution to optionally run in firejail (disabled by default) 2019-05-08 14:55:22 -05:00
Matt Godbolt 4639fbedba First sketching of firejail support in mainline (woo). See #429 2019-05-07 16:20:41 -05:00