Home
last modified time | relevance | path

Searched refs:otype (Results 1 – 3 of 3) sorted by relevance

/security/selinux/ss/
Dpolicydb.c1881 struct filename_trans_datum *otype; in filename_trans_read() local
1896 otype = NULL; in filename_trans_read()
1905 otype = kmalloc(sizeof(*otype), GFP_KERNEL); in filename_trans_read()
1906 if (!otype) in filename_trans_read()
1930 otype->otype = le32_to_cpu(buf[3]); in filename_trans_read()
1936 rc = hashtab_insert(p->filename_trans, ft, otype); in filename_trans_read()
1947 kfree(otype); in filename_trans_read()
1955 kfree(otype); in filename_trans_read()
3334 struct filename_trans_datum *otype = data; in filename_write_helper() local
3352 buf[3] = cpu_to_le32(otype->otype); in filename_write_helper()
Dpolicydb.h99 u32 otype; /* expected of new object */ member
Dservices.c1663 struct filename_trans_datum *otype; in filename_compute_type() local
1678 otype = hashtab_search(policydb->filename_trans, &ft); in filename_compute_type()
1679 if (otype) in filename_compute_type()
1680 newcontext->type = otype->otype; in filename_compute_type()