Remove chroot from some processes

This commit is contained in:
2024-05-12 16:42:59 +01:00
parent 21a222d855
commit b6e33c1052
2 changed files with 3 additions and 11 deletions

View File

@@ -1,10 +1,8 @@
#include "djumbai_enqueue.h"
int main() {
//Change the root of the djumbai_enqueue process so it doesn't have access to anything else.
chroot("/djumbai/queue/");
const char *message_queue_path =
"mailqueue";
"/djumbai/fifos/mailqueue";
// Open the FIFO for writing
int queue_fd;