Lines Matching refs:fown
717 struct fown_struct *fown, int sig)
724 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) ||
725 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) ||
726 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) &&
727 !security_file_send_sigiotask(p, fown, sig));
733 struct fown_struct *fown,
740 int signum = READ_ONCE(fown->signum);
742 if (!sigio_perm(p, fown, signum))
788 void send_sigio(struct fown_struct *fown, int fd, int band)
795 read_lock_irqsave(&fown->lock, flags);
797 type = fown->pid_type;
798 pid = fown->pid;
806 send_sigio_to_task(p, fown, fd, band, type);
811 send_sigio_to_task(p, fown, fd, band, type);
816 read_unlock_irqrestore(&fown->lock, flags);
820 struct fown_struct *fown, enum pid_type type)
822 if (sigio_perm(p, fown, SIGURG))
826 int send_sigurg(struct fown_struct *fown)
834 read_lock_irqsave(&fown->lock, flags);
836 type = fown->pid_type;
837 pid = fown->pid;
847 send_sigurg_to_task(p, fown, type);
852 send_sigurg_to_task(p, fown, type);
857 read_unlock_irqrestore(&fown->lock, flags);
1005 struct fown_struct *fown;
1015 fown = &fa->fa_file->f_owner;
1019 if (!(sig == SIGURG && fown->signum == 0))
1020 send_sigio(fown, fa->fa_fd, band);