OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cap_data
(Results
1 - 2
of
2
) sorted by null
/system/extras/ext4_utils/
contents.c
469
struct vfs_cap_data
cap_data
;
local
470
memset(&
cap_data
, 0, sizeof(
cap_data
));
472
cap_data
.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE;
473
cap_data
.data[0].permitted = (uint32_t) (capabilities & 0xffffffff);
474
cap_data
.data[0].inheritable = 0;
475
cap_data
.data[1].permitted = (uint32_t) (capabilities >> 32);
476
cap_data
.data[1].inheritable = 0;
479
XATTR_CAPS_SUFFIX, &
cap_data
, sizeof(
cap_data
));
[
all
...]
/bootable/recovery/updater/
install.c
828
struct vfs_cap_data
cap_data
;
local
829
memset(&
cap_data
, 0, sizeof(
cap_data
));
830
cap_data
.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE;
831
cap_data
.data[0].permitted = (uint32_t) (parsed.capabilities & 0xffffffff);
832
cap_data
.data[0].inheritable = 0;
833
cap_data
.data[1].permitted = (uint32_t) (parsed.capabilities >> 32);
834
cap_data
.data[1].inheritable = 0;
835
if (setxattr(filename, XATTR_NAME_CAPS, &
cap_data
, sizeof(
cap_data
), 0) < 0)
[
all
...]
Completed in 816 milliseconds