Remove chroot from some processes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user