Lines Matching refs:hdr
133 struct __user_cap_header_struct hdr;
152 memset(&m.hdr, 0, sizeof(m.hdr));
153 (void)capget(&m.hdr, NULL); // Returns -EINVAL
154 if (m.hdr.version == _LINUX_CAPABILITY_VERSION_3 ||
155 m.hdr.version == _LINUX_CAPABILITY_VERSION_2) {
157 } else if (m.hdr.version == _LINUX_CAPABILITY_VERSION_1) {
166 m.hdr.pid = (unsigned)syscall(__NR_gettid);
168 m.hdr.pid = (unsigned)getpid();
227 m.hdr.pid = pid;
236 snprintf(buf, sizeof(buf), "/proc/%u/status", m.hdr.pid ? m.hdr.pid :
267 rc = capget((cap_user_header_t)&m.hdr, (cap_user_data_t)&m.data);
494 rc = capset((cap_user_header_t)&m.hdr,