Searched refs:fown (Results 1 – 2 of 2) sorted by relevance
/fs/ |
D | fcntl.c | 709 struct fown_struct *fown, int sig) in sigio_perm() argument 716 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm() 717 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm() 718 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm() 719 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm() 725 struct fown_struct *fown, in send_sigio_to_task() argument 732 int signum = READ_ONCE(fown->signum); in send_sigio_to_task() 734 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task() 778 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument 784 read_lock(&fown->lock); in send_sigio() [all …]
|
/fs/notify/dnotify/ |
D | dnotify.c | 83 struct fown_struct *fown; in dnotify_handle_event() local 102 fown = &dn->dn_filp->f_owner; in dnotify_handle_event() 103 send_sigio(fown, dn->dn_fd, POLL_MSG); in dnotify_handle_event()
|