Lines Matching refs:tcp
48 printstr(tcp, tcp->u_arg[0], -1); in SYS_FUNC()
51 printstr(tcp, tcp->u_arg[1], -1); in SYS_FUNC()
54 printstr(tcp, tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
56 tprintf(", %lu, ", tcp->u_arg[3]); in SYS_FUNC()
58 print_keyring_serial_number(tcp->u_arg[4]); in SYS_FUNC()
66 printstr(tcp, tcp->u_arg[0], -1); in SYS_FUNC()
69 printstr(tcp, tcp->u_arg[1], -1); in SYS_FUNC()
72 printstr(tcp, tcp->u_arg[2], -1); in SYS_FUNC()
75 print_keyring_serial_number(tcp->u_arg[3]); in SYS_FUNC()
81 keyctl_get_keyring_id(struct tcb *tcp, key_serial_t id, int create) in keyctl_get_keyring_id() argument
88 keyctl_update_key(struct tcb *tcp, key_serial_t id, long addr, long len) in keyctl_update_key() argument
92 printstr(tcp, addr, len); in keyctl_update_key()
97 keyctl_handle_key_key(struct tcb *tcp, key_serial_t id1, key_serial_t id2) in keyctl_handle_key_key() argument
105 keyctl_read_key(struct tcb *tcp, key_serial_t id, long addr, long len) in keyctl_read_key() argument
107 if (entering(tcp)) { in keyctl_read_key()
111 if (syserror(tcp)) in keyctl_read_key()
114 long rval = tcp->u_rval > len ? in keyctl_read_key()
115 len : (tcp->u_rval ? -1 : 0); in keyctl_read_key()
116 printstr(tcp, addr, rval); in keyctl_read_key()
123 keyctl_keyring_search(struct tcb *tcp, key_serial_t id1, long addr1, in keyctl_keyring_search() argument
128 printstr(tcp, addr1, -1); in keyctl_keyring_search()
130 printstr(tcp, addr2, -1); in keyctl_keyring_search()
136 keyctl_chown_key(struct tcb *tcp, key_serial_t id, int user, int group) in keyctl_chown_key() argument
143 keyctl_instantiate_key(struct tcb *tcp, key_serial_t id1, long addr, in keyctl_instantiate_key() argument
148 printstr(tcp, addr, len); in keyctl_instantiate_key()
154 keyctl_instantiate_key_iov(struct tcb *tcp, key_serial_t id1, in keyctl_instantiate_key_iov() argument
159 tprint_iov(tcp, len, addr, 1); in keyctl_instantiate_key_iov()
165 keyctl_negate_key(struct tcb *tcp, key_serial_t id1, unsigned timeout, in keyctl_negate_key() argument
174 keyctl_reject_key(struct tcb *tcp, key_serial_t id1, unsigned timeout, in keyctl_reject_key() argument
183 keyctl_set_timeout(struct tcb *tcp, key_serial_t id, unsigned timeout) in keyctl_set_timeout() argument
190 keyctl_get_persistent(struct tcb *tcp, int uid, key_serial_t id) in keyctl_get_persistent() argument
199 keyctl_setperm_key(struct tcb *tcp, key_serial_t id, uint32_t perm) in keyctl_setperm_key() argument
211 int cmd = tcp->u_arg[0]; in SYS_FUNC()
213 if (entering(tcp)) { in SYS_FUNC()
220 keyctl_get_keyring_id(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
224 printstr(tcp, tcp->u_arg[1], -1); in SYS_FUNC()
228 keyctl_update_key(tcp, tcp->u_arg[1], in SYS_FUNC()
229 tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
236 print_keyring_serial_number(tcp->u_arg[1]); in SYS_FUNC()
241 keyctl_handle_key_key(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
247 keyctl_read_key(tcp, tcp->u_arg[1], in SYS_FUNC()
248 tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
252 keyctl_keyring_search(tcp, tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC()
253 tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC()
257 keyctl_chown_key(tcp, tcp->u_arg[1], in SYS_FUNC()
258 tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
262 keyctl_setperm_key(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
266 keyctl_instantiate_key(tcp, tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC()
267 tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC()
271 keyctl_negate_key(tcp, tcp->u_arg[1], in SYS_FUNC()
272 tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC()
276 printxval(key_reqkeys, tcp->u_arg[1], "KEY_REQKEY_DEFL_???"); in SYS_FUNC()
280 keyctl_set_timeout(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
287 keyctl_reject_key(tcp, tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC()
288 tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC()
292 keyctl_instantiate_key_iov(tcp, tcp->u_arg[1], in SYS_FUNC()
293 tcp->u_arg[2], tcp->u_arg[3], in SYS_FUNC()
294 tcp->u_arg[4]); in SYS_FUNC()
298 keyctl_get_persistent(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
303 tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC()
304 tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC()