Lines Matching refs:perm
99 key_perm_t perm, in __integrity_init_keyring() argument
106 KGIDT_INIT(0), cred, perm, in __integrity_init_keyring()
128 key_perm_t perm; in integrity_init_keyring() local
131 perm = (KEY_POS_ALL & ~KEY_POS_SETATTR) | KEY_USR_VIEW in integrity_init_keyring()
159 perm |= KEY_USR_WRITE; in integrity_init_keyring()
162 ret = __integrity_init_keyring(id, perm, restriction); in integrity_init_keyring()
169 off_t size, key_perm_t perm) in integrity_add_key() argument
178 NULL, data, size, perm, in integrity_add_key()
198 key_perm_t perm; in integrity_load_x509() local
208 perm = (KEY_POS_ALL & ~KEY_POS_SETATTR) | KEY_USR_VIEW | KEY_USR_READ; in integrity_load_x509()
211 rc = integrity_add_key(id, (const void *)data, size, perm); in integrity_load_x509()
218 const void *data, size_t len, key_perm_t perm) in integrity_load_cert() argument
224 return integrity_add_key(id, data, len, perm); in integrity_load_cert()