Searched refs:cap_hdr (Results 1 – 2 of 2) sorted by relevance
1707 struct __user_cap_header_struct cap_hdr = {}; in namespace_sandbox_proc() local1709 cap_hdr.version = _LINUX_CAPABILITY_VERSION_3; in namespace_sandbox_proc()1710 cap_hdr.pid = getpid(); in namespace_sandbox_proc()1711 if (syscall(SYS_capget, &cap_hdr, &cap_data)) in namespace_sandbox_proc()1716 if (syscall(SYS_capset, &cap_hdr, &cap_data)) in namespace_sandbox_proc()
3185 struct __user_cap_header_struct cap_hdr = {};3187 cap_hdr.version = _LINUX_CAPABILITY_VERSION_3;3188 cap_hdr.pid = getpid();3189 if (syscall(SYS_capget, &cap_hdr, &cap_data))3194 if (syscall(SYS_capset, &cap_hdr, &cap_data))