Lines Matching defs:euid
108 * @euid: The effective user id which maps to the desired daemon id
109 * @user_ns: The namespace in which @euid applies
118 int ecryptfs_find_daemon_by_euid(struct ecryptfs_daemon **daemon, uid_t euid,
125 &ecryptfs_daemon_hash[ecryptfs_uid_hash(euid)],
127 if ((*daemon)->euid == euid && (*daemon)->user_ns == user_ns) {
140 * @euid: Effective user id for the daemon
141 * @user_ns: The namespace in which @euid applies
150 ecryptfs_spawn_daemon(struct ecryptfs_daemon **daemon, uid_t euid,
162 (*daemon)->euid = euid;
171 &ecryptfs_daemon_hash[ecryptfs_uid_hash(euid)]);
220 * @euid: The user ID owner of the message
221 * @user_ns: The namespace in which @euid applies
225 * Deletes the corresponding daemon for the given euid and pid, if
229 int ecryptfs_process_quit(uid_t euid, struct user_namespace *user_ns,
236 rc = ecryptfs_find_daemon_by_euid(&daemon, euid, user_ns);
240 "unregister unrecognized daemon [0x%p]\n", euid, pid);
273 int ecryptfs_process_response(struct ecryptfs_message *msg, uid_t euid,
319 if (ctx_euid != euid) {
323 euid, ctx_euid);
386 uid_t euid = current_euid();
389 rc = ecryptfs_find_daemon_by_euid(&daemon, euid, current_user_ns());
393 "registered\n", __func__, euid);