Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Dfcntl.c702 struct fown_struct *fown, int sig) in sigio_perm() argument
709 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm()
710 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm()
711 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm()
712 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
718 struct fown_struct *fown, in send_sigio_to_task() argument
725 int signum = READ_ONCE(fown->signum); in send_sigio_to_task()
727 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task()
773 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument
780 read_lock_irqsave(&fown->lock, flags); in send_sigio()
[all …]
/linux-6.6.21/fs/notify/dnotify/
Ddnotify.c98 struct fown_struct *fown; in dnotify_handle_event() local
114 fown = &dn->dn_filp->f_owner; in dnotify_handle_event()
115 send_sigio(fown, dn->dn_fd, POLL_MSG); in dnotify_handle_event()
/linux-6.6.21/include/linux/
Dsecurity.h403 struct fown_struct *fown, int sig);
1034 struct fown_struct *fown, in security_file_send_sigiotask() argument
Dlsm_hook_defs.h186 struct fown_struct *fown, int sig)
Dfs.h1071 extern void send_sigio(struct fown_struct *fown, int fd, int band);
1108 extern int send_sigurg(struct fown_struct *fown);
/linux-6.6.21/security/
Dsecurity.c2822 struct fown_struct *fown, int sig) in security_file_send_sigiotask() argument
2824 return call_int_hook(file_send_sigiotask, 0, tsk, fown, sig); in security_file_send_sigiotask()
/linux-6.6.21/security/smack/
Dsmack_lsm.c1905 struct fown_struct *fown, int signum) in smack_file_send_sigiotask() argument
1918 file = container_of(fown, struct file, f_owner); in smack_file_send_sigiotask()
/linux-6.6.21/security/selinux/
Dhooks.c3918 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask() argument
3926 file = container_of(fown, struct file, f_owner); in selinux_file_send_sigiotask()