Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A Dfcntl.c694 struct fown_struct *fown, int sig) in sigio_perm() argument
701 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm()
702 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm()
703 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm()
704 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
710 struct fown_struct *fown, in send_sigio_to_task() argument
717 int signum = READ_ONCE(fown->signum); in send_sigio_to_task()
719 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task()
765 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument
772 read_lock_irqsave(&fown->lock, flags); in send_sigio()
[all …]
/openbmc/linux/fs/notify/dnotify/
H A 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()
/openbmc/linux/include/linux/
H A Dsecurity.h403 struct fown_struct *fown, int sig);
1034 struct fown_struct *fown, in security_file_send_sigiotask() argument
H A Dlsm_hook_defs.h186 struct fown_struct *fown, int sig)
H A Dfs.h1071 extern void send_sigio(struct fown_struct *fown, int fd, int band);
1108 extern int send_sigurg(struct fown_struct *fown);
/openbmc/linux/security/
H A 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()
/openbmc/linux/security/smack/
H A Dsmack_lsm.c1906 struct fown_struct *fown, int signum) in smack_file_send_sigiotask() argument
1919 file = container_of(fown, struct file, f_owner); in smack_file_send_sigiotask()
/openbmc/linux/security/selinux/
H A Dhooks.c3928 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask() argument
3936 file = container_of(fown, struct file, f_owner); in selinux_file_send_sigiotask()