Lines Matching defs:fown
718 struct fown_struct *fown, int sig)
725 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) ||
726 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) ||
727 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) &&
728 !security_file_send_sigiotask(p, fown, sig));
734 struct fown_struct *fown,
741 int signum = READ_ONCE(fown->signum);
743 if (!sigio_perm(p, fown, signum))
789 void send_sigio(struct fown_struct *fown, int fd, int band)
796 read_lock_irqsave(&fown->lock, flags);
798 type = fown->pid_type;
799 pid = fown->pid;
807 send_sigio_to_task(p, fown, fd, band, type);
812 send_sigio_to_task(p, fown, fd, band, type);
817 read_unlock_irqrestore(&fown->lock, flags);
821 struct fown_struct *fown, enum pid_type type)
823 if (sigio_perm(p, fown, SIGURG))
827 int send_sigurg(struct fown_struct *fown)
835 read_lock_irqsave(&fown->lock, flags);
837 type = fown->pid_type;
838 pid = fown->pid;
848 send_sigurg_to_task(p, fown, type);
853 send_sigurg_to_task(p, fown, type);
858 read_unlock_irqrestore(&fown->lock, flags);
1000 struct fown_struct *fown;
1010 fown = &fa->fa_file->f_owner;
1014 if (!(sig == SIGURG && fown->signum == 0))
1015 send_sigio(fown, fa->fa_fd, band);