Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/landlock/
H A Dscoped_signal_test.c427 FIXTURE(fown) {};
437 FIXTURE_VARIANT(fown)
443 FIXTURE_VARIANT_ADD(fown, no_sandbox) {
449 FIXTURE_VARIANT_ADD(fown, sandbox_before_fork) {
455 FIXTURE_VARIANT_ADD(fown, sandbox_before_setown) {
461 FIXTURE_VARIANT_ADD(fown, sandbox_after_setown) { in FIXTURE_SETUP() argument
466 FIXTURE_SETUP(fown) in FIXTURE_TEARDOWN() argument
471 FIXTURE_TEARDOWN(fown)
479 TEST_F(fown, sigurg_socket) in TEST_F()
422 FIXTURE(fown) FIXTURE() argument
432 FIXTURE_VARIANT(fown) FIXTURE_VARIANT() argument
438 FIXTURE_VARIANT_ADD(fown,no_sandbox) FIXTURE_VARIANT_ADD() argument
444 FIXTURE_VARIANT_ADD(fown,sandbox_before_fork) FIXTURE_VARIANT_ADD() argument
450 FIXTURE_VARIANT_ADD(fown,sandbox_before_setown) FIXTURE_VARIANT_ADD() argument
456 FIXTURE_VARIANT_ADD(fown,sandbox_after_setown) FIXTURE_VARIANT_ADD() argument
474 TEST_F(fown,sigurg_socket) TEST_F() argument
/linux/security/landlock/
H A Dtask.c458 struct fown_struct *fown, int signum) in hook_file_send_sigiotask() argument
467 lockdep_assert_held(&fown->lock); in hook_file_send_sigiotask()
468 subject = &landlock_file(fown->file)->fown_subject; in hook_file_send_sigiotask()
488 if (task_tgid(tsk) == landlock_file(fown->file)->fown_tg) in hook_file_send_sigiotask()
513 .layer_plus_one = landlock_file(fown->file)->fown_layer + 1, in hook_file_send_sigiotask()
H A Dfs.c2015 static bool control_current_fowner(struct fown_struct *const fown) in control_current_fowner() argument
2023 lockdep_assert_held(&fown->lock); in control_current_fowner()
2030 if (fown->pid_type != PIDTYPE_PID && fown->pid_type != PIDTYPE_TGID) in control_current_fowner()
2038 p = pid_task(fown->pid, fown->pid_type); in control_current_fowner()
/linux/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/security/
H A Dsecurity.c2693 * @fown: signal sender
2696 * Check permission for the file owner @fown to send SIGIO or SIGURG to the
2698 * that the fown_struct, @fown, is never outside the context of a struct file,
2700 * obtained: container_of(fown, struct file, f_owner).
2705 struct fown_struct *fown, int sig) in security_file_send_sigiotask() argument
2707 return call_int_hook(file_send_sigiotask, tsk, fown, sig); in security_file_send_sigiotask()
/linux/security/smack/
H A Dsmack_lsm.c1963 * @fown: the object the signal come from
1972 struct fown_struct *fown, int signum) in smack_file_send_sigiotask()
1985 file = fown->file; in smack_file_send_sigiotask()
1968 smack_file_send_sigiotask(struct task_struct * tsk,struct fown_struct * fown,int signum) smack_file_send_sigiotask() argument
/linux/include/linux/
H A Dfs.h1344 extern void send_sigio(struct fown_struct *fown, int fd, int band);
/linux/security/selinux/
H A Dhooks.c4350 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask()
4358 file = fown->file; in selinux_file_send_sigiotask()
4343 selinux_file_send_sigiotask(struct task_struct * tsk,struct fown_struct * fown,int signum) selinux_file_send_sigiotask() argument