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()
155 perm |= KEY_USR_WRITE; in integrity_init_keyring()
158 ret = __integrity_init_keyring(id, perm, restriction); in integrity_init_keyring()
165 off_t size, key_perm_t perm) in integrity_add_key() argument
174 NULL, data, size, perm, in integrity_add_key()
194 key_perm_t perm; in integrity_load_x509() local
204 perm = (KEY_POS_ALL & ~KEY_POS_SETATTR) | KEY_USR_VIEW | KEY_USR_READ; in integrity_load_x509()
207 rc = integrity_add_key(id, (const void *)data, size, perm); in integrity_load_x509()
214 const void *data, size_t len, key_perm_t perm) in integrity_load_cert() argument
220 return integrity_add_key(id, data, len, perm); in integrity_load_cert()