Home
last modified time | relevance | path

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

/linux/security/landlock/
H A Dtask.c434 struct fown_struct *fown, int signum) in hook_file_send_sigiotask()
441 lockdep_assert_held(&fown->lock); in hook_file_send_sigiotask()
442 subject = &landlock_file(fown->file)->fown_subject; in hook_file_send_sigiotask()
462 if (task_tgid(tsk) == landlock_file(fown->file)->fown_tg)
487 .layer_plus_one = landlock_file(fown->file)->fown_layer + 1,
393 hook_file_send_sigiotask(struct task_struct * tsk,struct fown_struct * fown,int signum) hook_file_send_sigiotask() argument
H A Dfs.c2009 static bool control_current_fowner(struct fown_struct *const fown)
2017 lockdep_assert_held(&fown->lock);
2024 if (fown->pid_type != PIDTYPE_PID && fown->pid_type != PIDTYPE_TGID)
2032 p = pid_task(fown->pid, fown->pid_type);
1767 control_current_fowner(struct fown_struct * const fown) control_current_fowner() argument
/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/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.h1345 extern void send_sigio(struct fown_struct *fown, int fd, int band);
/linux/security/selinux/
H A Dhooks.c4228 struct fown_struct *fown, int signum) in selinux_file_send_sigiotask() argument
4236 file = fown->file; in selinux_file_send_sigiotask()