Deleted
Added
nxt_main_process.c (1235:4d5998f60f20) | nxt_main_process.c (1236:46331b9ef11a) |
---|---|
1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8#include <nxt_runtime.h> --- 1586 unchanged lines hidden (view full) --- 1595 } 1596#endif 1597 1598 if (!flag) { 1599 nxt_alert(task, "unknown namespace flag: \"%V\"", &name); 1600 return NXT_ERROR; 1601 } 1602 | 1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8#include <nxt_runtime.h> --- 1586 unchanged lines hidden (view full) --- 1595 } 1596#endif 1597 1598 if (!flag) { 1599 nxt_alert(task, "unknown namespace flag: \"%V\"", &name); 1600 return NXT_ERROR; 1601 } 1602 |
1603 if (nxt_conf_get_integer(value) == 0) { 1604 continue; /* process shares everything by default */ | 1603 if (nxt_conf_get_boolean(value)) { 1604 init->isolation.clone.flags |= flag; |
1605 } | 1605 } |
1606 1607 init->isolation.clone.flags |= flag; | |
1608 } 1609 1610 return NXT_OK; 1611} | 1606 } 1607 1608 return NXT_OK; 1609} |