Lines Matching refs:fown
700 struct fown_struct *fown, int sig)
707 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) ||
708 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) ||
709 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) &&
710 !security_file_send_sigiotask(p, fown, sig));
716 struct fown_struct *fown,
723 int signum = READ_ONCE(fown->signum);
725 if (!sigio_perm(p, fown, signum))
771 void send_sigio(struct fown_struct *fown, int fd, int band)
778 read_lock_irqsave(&fown->lock, flags);
780 type = fown->pid_type;
781 pid = fown->pid;
789 send_sigio_to_task(p, fown, fd, band, type);
794 send_sigio_to_task(p, fown, fd, band, type);
799 read_unlock_irqrestore(&fown->lock, flags);
803 struct fown_struct *fown, enum pid_type type)
805 if (sigio_perm(p, fown, SIGURG))
809 int send_sigurg(struct fown_struct *fown)
817 read_lock_irqsave(&fown->lock, flags);
819 type = fown->pid_type;
820 pid = fown->pid;
830 send_sigurg_to_task(p, fown, type);
835 send_sigurg_to_task(p, fown, type);
840 read_unlock_irqrestore(&fown->lock, flags);
988 struct fown_struct *fown;
998 fown = &fa->fa_file->f_owner;
1002 if (!(sig == SIGURG && fown->signum == 0))
1003 send_sigio(fown, fa->fa_fd, band);