/linux-6.12.1/fs/ |
D | fcntl.c | 832 struct fown_struct *fown, int sig) in sigio_perm() argument 839 ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || in sigio_perm() 840 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm() 841 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm() 842 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm() 848 struct fown_struct *fown, in send_sigio_to_task() argument 855 int signum = READ_ONCE(fown->signum); in send_sigio_to_task() 857 if (!sigio_perm(p, fown, signum)) in send_sigio_to_task() 903 void send_sigio(struct fown_struct *fown, int fd, int band) in send_sigio() argument 910 read_lock_irqsave(&fown->lock, flags); in send_sigio() [all …]
|
/linux-6.12.1/tools/testing/selftests/landlock/ |
D | scoped_signal_test.c | 326 FIXTURE(fown) {}; in FIXTURE() argument 336 FIXTURE_VARIANT(fown) in FIXTURE_VARIANT() argument 342 FIXTURE_VARIANT_ADD(fown, no_sandbox) { in FIXTURE_VARIANT_ADD() argument 348 FIXTURE_VARIANT_ADD(fown, sandbox_before_fork) { in FIXTURE_VARIANT_ADD() argument 354 FIXTURE_VARIANT_ADD(fown, sandbox_before_setown) { in FIXTURE_VARIANT_ADD() argument 360 FIXTURE_VARIANT_ADD(fown, sandbox_after_setown) { in FIXTURE_VARIANT_ADD() argument 365 FIXTURE_SETUP(fown) in FIXTURE_SETUP() argument 370 FIXTURE_TEARDOWN(fown) in FIXTURE_TEARDOWN() argument 378 TEST_F(fown, sigurg_socket) in TEST_F() argument
|
/linux-6.12.1/security/landlock/ |
D | task.c | 286 struct fown_struct *fown, int signum) in hook_file_send_sigiotask() argument 292 lockdep_assert_held(&fown->lock); in hook_file_send_sigiotask() 294 landlock_file(fown->file)->fown_domain, signal_scope); in hook_file_send_sigiotask()
|
/linux-6.12.1/fs/notify/dnotify/ |
D | dnotify.c | 97 struct fown_struct *fown; in dnotify_handle_event() local 113 fown = file_f_owner(dn->dn_filp); in dnotify_handle_event() 114 send_sigio(fown, dn->dn_fd, POLL_MSG); in dnotify_handle_event()
|
/linux-6.12.1/include/linux/ |
D | security.h | 435 struct fown_struct *fown, int sig); 1115 struct fown_struct *fown, in security_file_send_sigiotask() argument
|
D | lsm_hook_defs.h | 205 struct fown_struct *fown, int sig)
|
D | fs.h | 1119 extern void send_sigio(struct fown_struct *fown, int fd, int band);
|
/linux-6.12.1/security/ |
D | security.c | 3077 struct fown_struct *fown, int sig) in security_file_send_sigiotask() argument 3079 return call_int_hook(file_send_sigiotask, tsk, fown, sig); in security_file_send_sigiotask()
|
/linux-6.12.1/security/smack/ |
D | smack_lsm.c | 1940 struct fown_struct *fown, int signum) in smack_file_send_sigiotask() argument 1953 file = fown->file; in smack_file_send_sigiotask()
|
/linux-6.12.1/security/selinux/ |
D | hooks.c | 3943 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask() argument 3951 file = fown->file; in selinux_file_send_sigiotask()
|