Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/
H A Dfcntl.c717 struct fown_struct *fown, int sig) in sigio_perm() argument
724 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm()
725 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm()
726 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm()
727 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
733 struct fown_struct *fown, in send_sigio_to_task() argument
740 int signum = READ_ONCE(fown->signum); in send_sigio_to_task()
742 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task()
788 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument
795 read_lock_irqsave(&fown->lock, flags); in send_sigio()
[all …]
/OK3568_Linux_fs/kernel/fs/notify/dnotify/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsecurity.h381 struct fown_struct *fown, int sig);
971 struct fown_struct *fown, in security_file_send_sigiotask() argument
H A Dlsm_hook_defs.h173 struct fown_struct *fown, int sig)
H A Dfs.h1148 extern void send_sigio(struct fown_struct *fown, int fd, int band);
1373 extern int send_sigurg(struct fown_struct *fown);
/OK3568_Linux_fs/kernel/security/
H A Dsecurity.c1549 struct fown_struct *fown, int sig) in security_file_send_sigiotask() argument
1551 return call_int_hook(file_send_sigiotask, 0, tsk, fown, sig); in security_file_send_sigiotask()
/OK3568_Linux_fs/kernel/security/smack/
H A Dsmack_lsm.c1773 struct fown_struct *fown, int signum) in smack_file_send_sigiotask() argument
1786 file = container_of(fown, struct file, f_owner); in smack_file_send_sigiotask()
/OK3568_Linux_fs/kernel/security/selinux/
H A Dhooks.c3899 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask() argument
3907 file = container_of(fown, struct file, f_owner); in selinux_file_send_sigiotask()