Home
last modified time | relevance | path

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

/Linux-v5.10/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()
780 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument
786 read_lock(&fown->lock); in send_sigio()
[all …]
/Linux-v5.10/fs/notify/dnotify/
Ddnotify.c80 struct fown_struct *fown; in dnotify_handle_event() local
96 fown = &dn->dn_filp->f_owner; in dnotify_handle_event()
97 send_sigio(fown, dn->dn_fd, POLL_MSG); in dnotify_handle_event()
/Linux-v5.10/include/linux/
Dsecurity.h377 struct fown_struct *fown, int sig);
960 struct fown_struct *fown, in security_file_send_sigiotask() argument
Dlsm_hook_defs.h171 struct fown_struct *fown, int sig)
Dfs.h1114 extern void send_sigio(struct fown_struct *fown, int fd, int band);
1339 extern int send_sigurg(struct fown_struct *fown);
/Linux-v5.10/security/
Dsecurity.c1561 struct fown_struct *fown, int sig) in security_file_send_sigiotask() argument
1563 return call_int_hook(file_send_sigiotask, 0, tsk, fown, sig); in security_file_send_sigiotask()
/Linux-v5.10/security/smack/
Dsmack_lsm.c1772 struct fown_struct *fown, int signum) in smack_file_send_sigiotask() argument
1785 file = container_of(fown, struct file, f_owner); in smack_file_send_sigiotask()
/Linux-v5.10/security/selinux/
Dhooks.c3821 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask() argument
3829 file = container_of(fown, struct file, f_owner); in selinux_file_send_sigiotask()