Lines Matching refs:fown
494 struct fown_struct *fown, int sig)
501 ret = ((fown->euid == 0 ||
502 fown->euid == cred->suid || fown->euid == cred->uid ||
503 fown->uid == cred->suid || fown->uid == cred->uid) &&
504 !security_file_send_sigiotask(p, fown, sig));
510 struct fown_struct *fown,
517 int signum = ACCESS_ONCE(fown->signum);
519 if (!sigio_perm(p, fown, signum))
551 void send_sigio(struct fown_struct *fown, int fd, int band)
558 read_lock(&fown->lock);
560 type = fown->pid_type;
566 pid = fown->pid;
572 send_sigio_to_task(p, fown, fd, band, group);
576 read_unlock(&fown->lock);
580 struct fown_struct *fown, int group)
582 if (sigio_perm(p, fown, SIGURG))
586 int send_sigurg(struct fown_struct *fown)
594 read_lock(&fown->lock);
596 type = fown->pid_type;
602 pid = fown->pid;
610 send_sigurg_to_task(p, fown, group);
614 read_unlock(&fown->lock);
728 struct fown_struct *fown;
738 fown = &fa->fa_file->f_owner;
742 if (!(sig == SIGURG && fown->signum == 0))
743 send_sigio(fown, fa->fa_fd, band);