Home
last modified time | relevance | path

Searched refs:sizeofcaps (Results 1 – 1 of 1) sorted by relevance

/external/libcap/libcap/
Dcap_file.c194 int sizeofcaps; in cap_get_fd() local
199 sizeofcaps = fgetxattr(fildes, XATTR_NAME_CAPS, in cap_get_fd()
201 if (sizeofcaps < ssizeof(rawvfscap.magic_etc)) { in cap_get_fd()
205 result = _fcaps_load(&rawvfscap, result, sizeofcaps); in cap_get_fd()
224 int sizeofcaps; in cap_get_file() local
229 sizeofcaps = getxattr(filename, XATTR_NAME_CAPS, in cap_get_file()
231 if (sizeofcaps < ssizeof(rawvfscap.magic_etc)) { in cap_get_file()
235 result = _fcaps_load(&rawvfscap, result, sizeofcaps); in cap_get_file()
250 int sizeofcaps; in cap_set_fd() local
266 } else if (_fcaps_save(&rawvfscap, cap_d, &sizeofcaps) != 0) { in cap_set_fd()
[all …]