Home
last modified time | relevance | path

Searched refs:fown (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/
H A Dfcntl.c717 struct fown_struct *fown, int sig) in sigio_perm()
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()
740 int signum = READ_ONCE(fown->signum); in send_sigio_to_task()
742 if (!sigio_perm(p, fown, signu in send_sigio_to_task()
716 sigio_perm(struct task_struct *p, struct fown_struct *fown, int sig) sigio_perm() argument
732 send_sigio_to_task(struct task_struct *p, struct fown_struct *fown, int fd, int reason, enum pid_type type) send_sigio_to_task() argument
788 send_sigio(struct fown_struct *fown, int fd, int band) send_sigio() argument
819 send_sigurg_to_task(struct task_struct *p, struct fown_struct *fown, enum pid_type type) send_sigurg_to_task() argument
826 send_sigurg(struct fown_struct *fown) send_sigurg() argument
1005 struct fown_struct *fown; kill_fasync_rcu() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dfcntl.c700 struct fown_struct *fown, int sig) in sigio_perm()
707 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm()
708 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm()
709 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm()
710 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
716 struct fown_struct *fown, in send_sigio_to_task()
723 int signum = READ_ONCE(fown->signum); in send_sigio_to_task()
725 if (!sigio_perm(p, fown, signu in send_sigio_to_task()
699 sigio_perm(struct task_struct *p, struct fown_struct *fown, int sig) sigio_perm() argument
715 send_sigio_to_task(struct task_struct *p, struct fown_struct *fown, int fd, int reason, enum pid_type type) send_sigio_to_task() argument
771 send_sigio(struct fown_struct *fown, int fd, int band) send_sigio() argument
802 send_sigurg_to_task(struct task_struct *p, struct fown_struct *fown, enum pid_type type) send_sigurg_to_task() argument
809 send_sigurg(struct fown_struct *fown) send_sigurg() argument
988 struct fown_struct *fown; kill_fasync_rcu() local
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/linux/
H A Dsecurity.h382 struct fown_struct *fown, int sig);
972 struct fown_struct *fown, in security_file_send_sigiotask()
971 security_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int sig) security_file_send_sigiotask() argument
H A Dfs.h1117 extern void send_sigio(struct fown_struct *fown, int fd, int band);
1348 extern int send_sigurg(struct fown_struct *fown);
/kernel/linux/linux-5.10/security/
H A Dsecurity.c1596 struct fown_struct *fown, int sig) in security_file_send_sigiotask()
1598 return call_int_hook(file_send_sigiotask, 0, tsk, fown, sig); in security_file_send_sigiotask()
1595 security_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int sig) security_file_send_sigiotask() argument
/kernel/linux/linux-6.6/include/linux/
H A Dsecurity.h403 struct fown_struct *fown, int sig);
1034 struct fown_struct *fown, in security_file_send_sigiotask()
1033 security_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int sig) security_file_send_sigiotask() argument
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);
/kernel/linux/linux-6.6/security/
H A Dsecurity.c2810 * @fown: signal sender
2813 * Check permission for the file owner @fown to send SIGIO or SIGURG to the
2815 * that the fown_struct, @fown, is never outside the context of a struct file,
2817 * obtained: container_of(fown, struct file, f_owner).
2822 struct fown_struct *fown, int sig) in security_file_send_sigiotask()
2824 return call_int_hook(file_send_sigiotask, 0, tsk, fown, sig); in security_file_send_sigiotask()
2821 security_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int sig) security_file_send_sigiotask() argument
/kernel/linux/linux-5.10/security/smack/
H A Dsmack_lsm.c1792 * @fown: the object the signal come from
1801 struct fown_struct *fown, int signum) in smack_file_send_sigiotask()
1814 file = container_of(fown, struct file, f_owner); in smack_file_send_sigiotask()
1800 smack_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int signum) smack_file_send_sigiotask() argument
/kernel/linux/linux-6.6/security/smack/
H A Dsmack_lsm.c1897 * @fown: the object the signal come from
1906 struct fown_struct *fown, int signum) in smack_file_send_sigiotask()
1919 file = container_of(fown, struct file, f_owner); in smack_file_send_sigiotask()
1905 smack_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int signum) smack_file_send_sigiotask() argument
/kernel/linux/linux-5.10/security/selinux/
H A Dhooks.c3869 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask()
3877 file = container_of(fown, struct file, f_owner); in selinux_file_send_sigiotask()
3868 selinux_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int signum) selinux_file_send_sigiotask() argument
/kernel/linux/linux-6.6/security/selinux/
H A Dhooks.c3919 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask()
3927 file = container_of(fown, struct file, f_owner); in selinux_file_send_sigiotask()
3918 selinux_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int signum) selinux_file_send_sigiotask() argument

Completed in 67 milliseconds