• Home
  • Raw
  • Download

Lines Matching refs:fown

437                              struct fown_struct *fown, int sig)  in sigio_perm()  argument
444 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm()
445 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm()
446 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm()
447 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
453 struct fown_struct *fown, in send_sigio_to_task() argument
460 int signum = ACCESS_ONCE(fown->signum); in send_sigio_to_task()
462 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task()
494 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument
501 read_lock(&fown->lock); in send_sigio()
503 type = fown->pid_type; in send_sigio()
509 pid = fown->pid; in send_sigio()
515 send_sigio_to_task(p, fown, fd, band, group); in send_sigio()
519 read_unlock(&fown->lock); in send_sigio()
523 struct fown_struct *fown, int group) in send_sigurg_to_task() argument
525 if (sigio_perm(p, fown, SIGURG)) in send_sigurg_to_task()
529 int send_sigurg(struct fown_struct *fown) in send_sigurg() argument
537 read_lock(&fown->lock); in send_sigurg()
539 type = fown->pid_type; in send_sigurg()
545 pid = fown->pid; in send_sigurg()
553 send_sigurg_to_task(p, fown, group); in send_sigurg()
557 read_unlock(&fown->lock); in send_sigurg()
705 struct fown_struct *fown; in kill_fasync_rcu() local
715 fown = &fa->fa_file->f_owner; in kill_fasync_rcu()
719 if (!(sig == SIGURG && fown->signum == 0)) in kill_fasync_rcu()
720 send_sigio(fown, fa->fa_fd, band); in kill_fasync_rcu()