Commit Graph

4 Commits (75a3c72cee5bcfecb0642ce77d436e257d2719dc)

Author SHA1 Message Date
Stef Dunlap 75a3c72cee Add SSL and SASL compatibility 2023-02-11 18:46:14 -05:00
Stef Dunlap cb2d5aa868 Kill off any forked processes on timeout
Previously we bwrap-ed the whole our.rb script. In this commit we switch
it so that our.rb is run outside of bwrap, but every user command it
executes is done inside bwrap. This allows us to use bwrap's
"--die-with-parent" (along with "--unshare-pid") to kill off any forked
processes when the parent processes is killed due to a timeout.
2023-02-11 17:39:31 -05:00
Stef Dunlap fb94656f49 Timeout commands if they run for longer than three seconds 2023-02-11 17:39:31 -05:00
Stef Dunlap e6d32c5cab Add persistent storage in CMDS_DIR/data 2023-02-11 17:39:31 -05:00