Lines Matching refs:sid
681 u32 sid, len; in sel_write_context() local
690 length = security_context_to_sid(state, buf, size, &sid, GFP_KERNEL); in sel_write_context()
694 length = security_sid_to_context(state, sid, &canon, &len); in sel_write_context()
1129 u32 sid, *sids = NULL; in sel_write_user() local
1156 length = security_context_str_to_sid(state, con, &sid, GFP_KERNEL); in sel_write_user()
1160 length = security_get_user_sids(state, sid, user, &sids, &nsids); in sel_write_user()
1432 u32 sid; in sel_make_bools() local
1466 SECCLASS_FILE, &sid); in sel_make_bools()
1470 sid = SECINITSID_SECURITY; in sel_make_bools()
1473 isec->sid = sid; in sel_make_bools()
1753 u32 sid, len; in sel_read_initcon() local
1756 sid = file_inode(file)->i_ino&SEL_INO_MASK; in sel_read_initcon()
1757 ret = security_sid_to_context(fsi->state, sid, &con, &len); in sel_read_initcon()
2116 isec->sid = SECINITSID_DEVNULL; in sel_fill_super()