HomeSort by relevance Sort by last modified time
    Searched defs:cap_data (Results 1 - 4 of 4) sorted by null

  /external/libchrome/sandbox/linux/system_headers/
capability.h 36 struct cap_data { struct
  /external/squashfs-tools/squashfs-tools/
android.c 100 struct vfs_cap_data cap_data; local
101 memset(&cap_data, 0, sizeof(cap_data));
104 return cap_data;
106 cap_data.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE;
107 cap_data.data[0].permitted = (uint32_t) capabilities;
108 cap_data.data[0].inheritable = 0;
109 cap_data.data[1].permitted = (uint32_t) (capabilities >> 32);
110 cap_data.data[1].inheritable = 0;
112 return cap_data;
    [all...]
  /system/extras/ext4_utils/
contents.c 480 struct vfs_cap_data cap_data; local
481 memset(&cap_data, 0, sizeof(cap_data));
483 cap_data.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE;
484 cap_data.data[0].permitted = (uint32_t) (capabilities & 0xffffffff);
485 cap_data.data[0].inheritable = 0;
486 cap_data.data[1].permitted = (uint32_t) (capabilities >> 32);
487 cap_data.data[1].inheritable = 0;
490 XATTR_CAPS_SUFFIX, &cap_data, sizeof(cap_data));
    [all...]
  /bootable/recovery/updater/
install.cpp 875 struct vfs_cap_data cap_data; local
876 memset(&cap_data, 0, sizeof(cap_data));
877 cap_data.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE;
878 cap_data.data[0].permitted = (uint32_t) (parsed.capabilities & 0xffffffff);
879 cap_data.data[0].inheritable = 0;
880 cap_data.data[1].permitted = (uint32_t) (parsed.capabilities >> 32);
881 cap_data.data[1].inheritable = 0;
882 if (setxattr(filename, XATTR_NAME_CAPS, &cap_data, sizeof(cap_data), 0) < 0)
    [all...]

Completed in 314 milliseconds