Home | History | Annotate | Download | only in src

Lines Matching refs:hdr

89   cap_user_header_t hdr = NULL;
253 hdr = safe_malloc(sizeof(*hdr));
256 memset(hdr, 0, sizeof(*hdr));
257 capget(hdr, NULL);
259 if (hdr->version != LINUX_CAPABILITY_VERSION_1)
262 if (hdr->version != LINUX_CAPABILITY_VERSION_2)
263 hdr->version = LINUX_CAPABILITY_VERSION_3;
396 if (capset(hdr, data) == -1 || prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) == -1)
440 if (capset(hdr, data) == -1)