aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-07 09:46:37 +0000
committerOmar Polo <op@omarpolo.com>2021-07-07 09:46:37 +0000
commita8a1f439210de9538b196c6bb5470c306379128c (patch)
tree53c25939117755a85860dab8670cc7faaad56635 /sandbox.c
parent68ef1170922d8c457b529dd7f64dc207a3c8b5a3 (diff)
style(9)-ify
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/sandbox.c b/sandbox.c
index 7ac56de..6d57b86 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -53,8 +53,10 @@ sandbox_server_process(void)
void
sandbox_executor_process(void)
{
- /* We cannot capsicum the executor process because it needs
- * to fork(2)+execve(2) cgi scripts */
+ /*
+ * We cannot capsicum the executor process because it needs to
+ * fork(2)+execve(2) cgi scripts
+ */
return;
}
@@ -435,18 +437,22 @@ sandbox_server_process(void)
void
sandbox_executor_process(void)
{
- /* We cannot use seccomp for the executor process because we
+ /*
+ * We cannot use seccomp for the executor process because we
* don't know what the child will do. Also, our filter will
* be inherited so the child cannot set its own seccomp
- * policy. */
+ * policy.
+ */
return;
}
void
sandbox_logger_process(void)
{
- /* To be honest, here we could use a seccomp policy to only
- * allow writev(2) and memory allocations. */
+ /*
+ * To be honest, here we could use a seccomp policy to only
+ * allow writev(2) and memory allocations.
+ */
return;
}