Home | History | Annotate | Download | only in src

Lines Matching refs:hdr

135 	struct __user_cap_header_struct hdr;
154 memset(&m.hdr, 0, sizeof(m.hdr));
155 (void)capget(&m.hdr, NULL); // Returns -EINVAL
156 if (m.hdr.version == _LINUX_CAPABILITY_VERSION_3 ||
157 m.hdr.version == _LINUX_CAPABILITY_VERSION_2) {
159 } else if (m.hdr.version == _LINUX_CAPABILITY_VERSION_1) {
168 m.hdr.pid = (unsigned)syscall(__NR_gettid);
170 m.hdr.pid = (unsigned)getpid();
229 m.hdr.pid = pid;
238 snprintf(buf, sizeof(buf), "/proc/%u/status", m.hdr.pid ? m.hdr.pid :
271 rc = capget((cap_user_header_t)&m.hdr, (cap_user_data_t)&m.data);
498 rc = capset((cap_user_header_t)&m.hdr,