Lines Matching refs:hdr
69 struct __user_cap_header_struct hdr;
71 hdr.pid = g_pid;
73 hdr.version = _LINUX_CAPABILITY_VERSION_1;
74 int ret = capset(&hdr, data);
78 hdr.version = _LINUX_CAPABILITY_VERSION_2;
79 ret = capset(&hdr, data);
83 hdr.version = _LINUX_CAPABILITY_VERSION_3;
84 ret = capset(&hdr, data);
98 struct __user_cap_header_struct hdr;
100 hdr.pid = g_pid;
102 hdr.version = INVALID_VERSION;
104 int ret = capset(&hdr, data);
119 struct __user_cap_header_struct hdr;
121 hdr.pid = INVALID_PID;
122 hdr.version = _LINUX_CAPABILITY_VERSION_2;
125 int ret = capset(&hdr, data);
140 struct __user_cap_header_struct hdr;
142 hdr.pid = UNUSED_PID;
143 hdr.version = _LINUX_CAPABILITY_VERSION_2;
146 int ret = capset(&hdr, data);