Home
last modified time | relevance | path

Searched refs:fown (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/fs/
Dfcntl.c709 struct fown_struct *fown, int sig) in sigio_perm() argument
716 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm()
717 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm()
718 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm()
719 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
725 struct fown_struct *fown, in send_sigio_to_task() argument
732 int signum = READ_ONCE(fown->signum); in send_sigio_to_task()
734 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task()
778 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument
785 read_lock_irqsave(&fown->lock, flags); in send_sigio()
[all …]
/linux-4.19.296/fs/notify/dnotify/
Ddnotify.c91 struct fown_struct *fown; in dnotify_handle_event() local
110 fown = &dn->dn_filp->f_owner; in dnotify_handle_event()
111 send_sigio(fown, dn->dn_fd, POLL_MSG); in dnotify_handle_event()
/linux-4.19.296/include/linux/
Dsecurity.h334 struct fown_struct *fown, int sig);
872 struct fown_struct *fown, in security_file_send_sigiotask() argument
Dlsm_hooks.h1576 struct fown_struct *fown, int sig);
Dfs.h1085 extern void send_sigio(struct fown_struct *fown, int fd, int band);
1305 extern int send_sigurg(struct fown_struct *fown);