1 /*
2  * Copyright (C) Igor Sysoev
3  * Copyright (C) NGINX, Inc.
4  */
5 
6 #ifndef _NXT_CAPABILITY_INCLUDED_
7 #define _NXT_CAPABILITY_INCLUDED_
8 
9 typedef struct {
10     uint8_t  setid;     /* 1 bit */
11     uint8_t  chroot;    /* 1 bit */
12 } nxt_capabilities_t;
13 
14 
15 NXT_EXPORT nxt_int_t nxt_capability_set(nxt_task_t *task,
16     nxt_capabilities_t *cap);
17 
18 #endif /* _NXT_CAPABILITY_INCLUDED_ */
19