Home
last modified time | relevance | path

Searched defs:perm (Results 1 – 14 of 14) sorted by relevance

/system/sepolicy/tools/
Dsepolicy-check.c57 int check_perm(avtab_ptr_t current, perm_datum_t *perm) { in check_perm()
66 perm_datum_t *perm, policydb_t *policy, avtab_t *avtab) { in expand_and_check()
120 perm_datum_t *perm = NULL; in check_rule() local
235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; in main() local
/system/core/init/
Ddescriptors.cpp37 gid_t gid, int perm, const std::string& context) in DescriptorInfo()
74 gid_t gid, int perm, const std::string& context) in SocketInfo()
96 gid_t gid, int perm, const std::string& context) in FileInfo()
Ddevices.h45 mode_t perm() const { return perm_; } in perm() function
65 SysfsPermissions(const std::string& name, const std::string& attribute, mode_t perm, uid_t uid, in SysfsPermissions()
Ddescriptors.h45 int perm() const { return perm_; } in perm() function
Dueventd_parser.cpp53 mode_t perm = strtol(perm_string.c_str(), &end_pointer, 8); in ParsePermissionsLine() local
Ddevices.cpp139 Permissions::Permissions(const std::string& name, mode_t perm, uid_t uid, gid_t gid) in Permissions()
Dutil.cpp84 int CreateSocket(const char* name, int type, bool passcred, mode_t perm, uid_t uid, gid_t gid, in CreateSocket()
Dservice.cpp716 int perm = args.size() > 3 ? std::strtoul(args[3].c_str(), 0, 8) : -1; in AddDescriptor() local
/system/security/keystore/
Dpermissions.cpp98 const char* get_perm_label(perm_t perm) { in get_perm_label()
136 static bool keystore_selinux_check_access(uid_t uid, perm_t perm, pid_t spid, const char* ssid) { in keystore_selinux_check_access()
179 bool has_permission(uid_t uid, perm_t perm, pid_t spid, const char* sid) { in has_permission()
/system/bt/stack/gatt/
Dgatt_db.cc87 tGATT_PERM perm = attr.permission; in gatts_check_attr_readability() local
366 uint16_t gatts_add_characteristic(tGATT_SVC_DB& db, tGATT_PERM perm, in gatts_add_characteristic()
398 uint16_t gatts_add_char_descr(tGATT_SVC_DB& db, tGATT_PERM perm, in gatts_add_char_descr()
521 tGATT_PERM perm = p_attr->permission; in gatts_write_attr_perm_check() local
654 tGATT_PERM perm) { in allocate_attr_in_db()
/system/hwservicemanager/
DAccessControl.cpp95 …Permission(const CallingContext& source, const char *targetContext, const char *perm, const char *… in checkPermission()
113 bool AccessControl::checkPermission(const CallingContext& source, const char *perm, const char *int… in checkPermission()
/system/sepolicy/tools/sepolicy-analyze/
Dneverallow.c189 perm_datum_t *perm = NULL; in read_classperms() local
/system/keymaster/key_blob_utils/
Docb.c230 const vector unsigned char perm = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0}; in double_block() local
/system/core/liblog/tests/
Dliblog_test.cpp1891 bool perm = (gid == AID_ROOT) || (uid == AID_ROOT); in TEST() local