xref: /unit/src/nxt_isolation.h (revision 2178:e1ccc158d70b)
1 /*
2  * Copyright (C) NGINX, Inc.
3  */
4 
5 #ifndef _NXT_ISOLATION_H_INCLUDED_
6 #define _NXT_ISOLATION_H_INCLUDED_
7 
8 
9 nxt_int_t nxt_isolation_main_prefork(nxt_task_t *task, nxt_process_t *process,
10     nxt_mp_t *mp);
11 
12 #if (NXT_HAVE_ISOLATION_ROOTFS)
13 nxt_int_t nxt_isolation_prepare_rootfs(nxt_task_t *task,
14     nxt_process_t *process);
15 nxt_int_t nxt_isolation_change_root(nxt_task_t *task, nxt_process_t *process);
16 #endif
17 
18 #endif /* _NXT_ISOLATION_H_INCLUDED_ */
19