/kernel/linux/linux-5.10/fs/ |
H A D | fcntl.c | 717 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 D | fcntl.c | 700 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 D | dnotify.c | 80 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 D | dnotify.c | 98 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 D | security.h | 382 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 D | fs.h | 1117 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 D | security.c | 1596 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 D | security.h | 403 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 D | fs.h | 1071 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 D | security.c | 2810 * @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 D | smack_lsm.c | 1792 * @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 D | smack_lsm.c | 1897 * @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 D | hooks.c | 3869 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 D | hooks.c | 3919 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
|