Lines Matching refs:perm
97 key_perm_t perm, in __integrity_init_keyring() argument
104 KGIDT_INIT(0), cred, perm, in __integrity_init_keyring()
124 key_perm_t perm; in integrity_init_keyring() local
126 perm = (KEY_POS_ALL & ~KEY_POS_SETATTR) | KEY_USR_VIEW in integrity_init_keyring()
142 perm |= KEY_USR_WRITE; in integrity_init_keyring()
145 return __integrity_init_keyring(id, perm, restriction); in integrity_init_keyring()
149 off_t size, key_perm_t perm) in integrity_add_key() argument
158 NULL, data, size, perm, in integrity_add_key()
178 key_perm_t perm; in integrity_load_x509() local
188 perm = (KEY_POS_ALL & ~KEY_POS_SETATTR) | KEY_USR_VIEW | KEY_USR_READ; in integrity_load_x509()
191 rc = integrity_add_key(id, (const void *)data, size, perm); in integrity_load_x509()
198 const void *data, size_t len, key_perm_t perm) in integrity_load_cert() argument
204 return integrity_add_key(id, data, len, perm); in integrity_load_cert()