Home
last modified time | relevance | path

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

/linux-6.15/fs/
H A Dfcntl.c837 uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || in sigio_perm()
838 uid_eq(fown->uid, cred->suid) || uid_eq(fown->uid, cred->uid)) && in sigio_perm()
909 type = fown->pid_type; in send_sigio()
910 pid = fown->pid; in send_sigio()
940 struct fown_struct *fown; in send_sigurg() local
947 fown = file_f_owner(file); in send_sigurg()
948 if (!fown) in send_sigurg()
953 type = fown->pid_type; in send_sigurg()
954 pid = fown->pid; in send_sigurg()
1116 struct fown_struct *fown; in kill_fasync_rcu() local
[all …]
/linux-6.15/tools/testing/selftests/landlock/
H A Dscoped_signal_test.c404 FIXTURE(fown) {}; in FIXTURE() argument
414 FIXTURE_VARIANT(fown) in FIXTURE_VARIANT() argument
420 FIXTURE_VARIANT_ADD(fown, no_sandbox) { in FIXTURE_VARIANT_ADD() argument
426 FIXTURE_VARIANT_ADD(fown, sandbox_before_fork) { in FIXTURE_VARIANT_ADD() argument
432 FIXTURE_VARIANT_ADD(fown, sandbox_before_setown) { in FIXTURE_VARIANT_ADD() argument
438 FIXTURE_VARIANT_ADD(fown, sandbox_after_setown) { in FIXTURE_VARIANT_ADD() argument
443 FIXTURE_SETUP(fown) in FIXTURE_SETUP() argument
448 FIXTURE_TEARDOWN(fown) in FIXTURE_TEARDOWN() argument
456 TEST_F(fown, sigurg_socket) in TEST_F() argument
/linux-6.15/security/landlock/
H A Dtask.c391 struct fown_struct *fown, int signum) in hook_file_send_sigiotask() argument
397 lockdep_assert_held(&fown->lock); in hook_file_send_sigiotask()
398 subject = &landlock_file(fown->file)->fown_subject; in hook_file_send_sigiotask()
427 .layer_plus_one = landlock_file(fown->file)->fown_layer + 1, in hook_file_send_sigiotask()
H A Dfs.c1775 static bool control_current_fowner(struct fown_struct *const fown) in control_current_fowner() argument
1783 lockdep_assert_held(&fown->lock); in control_current_fowner()
1790 p = pid_task(fown->pid, fown->pid_type); in control_current_fowner()
/linux-6.15/fs/notify/dnotify/
H A Ddnotify.c96 struct fown_struct *fown; in dnotify_handle_event() local
112 fown = file_f_owner(dn->dn_filp); in dnotify_handle_event()
113 send_sigio(fown, dn->dn_fd, POLL_MSG); in dnotify_handle_event()
/linux-6.15/include/linux/
H A Dsecurity.h485 struct fown_struct *fown, int sig);
1178 struct fown_struct *fown, in security_file_send_sigiotask() argument
H A Dlsm_hook_defs.h206 struct fown_struct *fown, int sig)
H A Dfs.h1170 extern void send_sigio(struct fown_struct *fown, int fd, int band);
/linux-6.15/security/
H A Dsecurity.c3080 struct fown_struct *fown, int sig) in security_file_send_sigiotask() argument
3082 return call_int_hook(file_send_sigiotask, tsk, fown, sig); in security_file_send_sigiotask()
/linux-6.15/security/smack/
H A Dsmack_lsm.c1922 struct fown_struct *fown, int signum) in smack_file_send_sigiotask() argument
1935 file = fown->file; in smack_file_send_sigiotask()
/linux-6.15/security/selinux/
H A Dhooks.c3951 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask() argument
3959 file = fown->file; in selinux_file_send_sigiotask()