Searched refs:fown (Results 1 – 2 of 2) sorted by relevance
/fs/ |
D | fcntl.c | 437 struct fown_struct *fown, int sig) in sigio_perm() argument 444 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm() 445 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm() 446 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm() 447 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm() 453 struct fown_struct *fown, in send_sigio_to_task() argument 460 int signum = ACCESS_ONCE(fown->signum); in send_sigio_to_task() 462 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task() 494 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument 501 read_lock(&fown->lock); in send_sigio() [all …]
|
/fs/notify/dnotify/ |
D | dnotify.c | 94 struct fown_struct *fown; in dnotify_handle_event() local 112 fown = &dn->dn_filp->f_owner; in dnotify_handle_event() 113 send_sigio(fown, dn->dn_fd, POLL_MSG); in dnotify_handle_event()
|