Lines Matching refs:fown

433                              struct fown_struct *fown, int sig)  in sigio_perm()  argument
440 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm()
441 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm()
442 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm()
443 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
449 struct fown_struct *fown, in send_sigio_to_task() argument
456 int signum = ACCESS_ONCE(fown->signum); in send_sigio_to_task()
458 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task()
490 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument
497 read_lock(&fown->lock); in send_sigio()
499 type = fown->pid_type; in send_sigio()
505 pid = fown->pid; in send_sigio()
511 send_sigio_to_task(p, fown, fd, band, group); in send_sigio()
515 read_unlock(&fown->lock); in send_sigio()
519 struct fown_struct *fown, int group) in send_sigurg_to_task() argument
521 if (sigio_perm(p, fown, SIGURG)) in send_sigurg_to_task()
525 int send_sigurg(struct fown_struct *fown) in send_sigurg() argument
533 read_lock(&fown->lock); in send_sigurg()
535 type = fown->pid_type; in send_sigurg()
541 pid = fown->pid; in send_sigurg()
549 send_sigurg_to_task(p, fown, group); in send_sigurg()
553 read_unlock(&fown->lock); in send_sigurg()
701 struct fown_struct *fown; in kill_fasync_rcu() local
711 fown = &fa->fa_file->f_owner; in kill_fasync_rcu()
715 if (!(sig == SIGURG && fown->signum == 0)) in kill_fasync_rcu()
716 send_sigio(fown, fa->fa_fd, band); in kill_fasync_rcu()