Searched refs:sizeofcaps (Results 1 – 1 of 1) sorted by relevance
/external/libcap/libcap/ |
D | cap_file.c | 217 int sizeofcaps; in cap_get_fd() local 222 sizeofcaps = fgetxattr(fildes, XATTR_NAME_CAPS, in cap_get_fd() 224 if (sizeofcaps < ssizeof(rawvfscap.magic_etc)) { in cap_get_fd() 228 result = _fcaps_load(&rawvfscap, result, sizeofcaps); in cap_get_fd() 247 int sizeofcaps; in cap_get_file() local 252 sizeofcaps = getxattr(filename, XATTR_NAME_CAPS, in cap_get_file() 254 if (sizeofcaps < ssizeof(rawvfscap.magic_etc)) { in cap_get_file() 258 result = _fcaps_load(&rawvfscap, result, sizeofcaps); in cap_get_file() 283 int sizeofcaps; in cap_set_fd() local 299 } else if (_fcaps_save(&rawvfscap, cap_d, &sizeofcaps) != 0) { in cap_set_fd() [all …]
|