Searched refs:cap_header (Results 1 – 2 of 2) sorted by relevance
27 struct __user_cap_header_struct cap_header; in capset_0100() local30 cap_header.pid = getpid(); in capset_0100()31 cap_header.version = _LINUX_CAPABILITY_VERSION_1; in capset_0100()33 if (capget(&cap_header, &cap_data) < 0) { in capset_0100()37 printf("capheader: %x %d\n", cap_header.version, cap_header.pid); in capset_0100()46 if (capset(&cap_header, &cap_data) < 0) { in capset_0100()49 printf("%d\n", capget(&cap_header, &cap_data)); in capset_0100()50 printf("capheader: %x %d\n", cap_header.version, cap_header.pid); in capset_0100()
28 cap_user_header_t cap_header = &cap_header_data; in capget_0100() local33 cap_header->pid = getpid(); in capget_0100()34 cap_header->version = _LINUX_CAPABILITY_VERSION_1; in capget_0100()36 int result = capget(cap_header, cap_data); in capget_0100()