1#ifndef __VSF_LINUX_SYS_CAPABILITY_H__
2#define __VSF_LINUX_SYS_CAPABILITY_H__
6#if VSF_LINUX_CFG_RELATIVE_PATH == ENABLED
17#if VSF_LINUX_CFG_WRAPPER == ENABLED
18#define capget VSF_LINUX_WRAPPER(capget)
19#define capset VSF_LINUX_WRAPPER(capset)
22#if VSF_LINUX_APPLET_USE_SYS_CAPABILITY == ENABLED
29# ifndef __VSF_APPLET__
34#if defined(__VSF_APPLET__) && (defined(__VSF_APPLET_LIB__) || defined(__VSF_APPLET_LINUX_SYS_CAPABILITY_LIB__))\
35 && VSF_APPLET_CFG_ABI_PATCH != ENABLED && VSF_LINUX_APPLET_USE_SYS_CAPABILITY == ENABLED
37#ifndef VSF_LINUX_APPLET_SYS_CAPABILITY_VPLT
38# if VSF_LINUX_USE_APPLET == ENABLED
39# define VSF_LINUX_APPLET_SYS_CAPABILITY_VPLT \
40 ((vsf_linux_sys_capability_vplt_t *)(VSF_LINUX_APPLET_VPLT->sys_capability_vplt))
42# define VSF_LINUX_APPLET_SYS_CAPABILITY_VPLT \
43 ((vsf_linux_sys_capability_vplt_t *)vsf_vplt((void *)0))
47#define VSF_LINUX_APPLET_SYS_CAPABILITY_ENTRY(__NAME) \
48 VSF_APPLET_VPLT_ENTRY_FUNC_ENTRY(VSF_LINUX_APPLET_SYS_CAPABILITY_VPLT, __NAME)
49#define VSF_LINUX_APPLET_SYS_CAPABILITY_IMP(...) \
50 VSF_APPLET_VPLT_ENTRY_FUNC_IMP(VSF_LINUX_APPLET_SYS_CAPABILITY_VPLT, __VA_ARGS__)
Definition capability.h:24
Definition capability.h:23
VSF_APPLET_VPLT_ENTRY_FUNC_DEF(capset)
vsf_vplt_info_t info
Definition capability.h:24
VSF_APPLET_VPLT_ENTRY_FUNC_DEF(capget)
#define capset
Definition capability.h:19
__VSF_VPLT_DECORATOR__ vsf_linux_sys_capability_vplt_t vsf_linux_sys_capability_vplt
Definition vsf_linux.c:4820
#define capget
Definition capability.h:18
#define __VSF_VPLT_DECORATOR__
Definition vsf_cfg.h:93