blob: 0fa22f26257084bdb541e0013728305703cbdbd9 (
plain) (
tree)
|
|
/*
* Copyright (C) Igor Sysoev
* Copyright (C) NGINX, Inc.
*/
#ifndef _NXT_CAPABILITY_INCLUDED_
#define _NXT_CAPABILITY_INCLUDED_
typedef struct {
nxt_bool_t setid;
nxt_bool_t chroot;
} nxt_capabilities_t;
NXT_EXPORT nxt_int_t nxt_capability_set(nxt_task_t *task,
nxt_capabilities_t *cap);
#endif /* _NXT_CAPABILITY_INCLUDED_ */
|