Searched refs:rtk (Results 1 – 2 of 2) sorted by relevance
2405 struct role_trans_key *rtk = NULL; in policydb_read() local2577 rtk = kmalloc(sizeof(*rtk), GFP_KERNEL); in policydb_read()2578 if (!rtk) in policydb_read()2590 rtk->role = le32_to_cpu(buf[0]); in policydb_read()2591 rtk->type = le32_to_cpu(buf[1]); in policydb_read()2599 rtk->tclass = p->process_class; in policydb_read()2612 rtk = NULL; in policydb_read()2710 kfree(rtk); in policydb_read()2831 struct role_trans_key *rtk = key; in role_trans_write_one() local2839 buf[0] = cpu_to_le32(rtk->role); in role_trans_write_one()[all …]
1877 struct role_trans_key rtk = { in security_compute_sid() local1883 rtd = policydb_roletr_search(policydb, &rtk); in security_compute_sid()
Completed in 16 milliseconds