diff options
| author | Alice Ryhl <[email protected]> | 2024-12-10 09:39:00 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-12-16 15:12:21 +0000 |
| commit | 0d8a7c7bf47aa1002e0df792cb1d0652bc824cba (patch) | |
| tree | f1e54593dbf3c752791605c4923f15dcf0dbc22f /rust/helpers/signal.c | |
| parent | Linux 6.13-rc3 (diff) | |
| download | kernel-0d8a7c7bf47aa1002e0df792cb1d0652bc824cba.tar.gz kernel-0d8a7c7bf47aa1002e0df792cb1d0652bc824cba.zip | |
rust: miscdevice: access file in fops
This allows fops to access information about the underlying struct file
for the miscdevice. For example, the Binder driver needs to inspect the
O_NONBLOCK flag inside the fops->ioctl() hook.
Signed-off-by: Alice Ryhl <[email protected]>
Reviewed-by: Lee Jones <[email protected]>
Tested-by: Lee Jones <[email protected]>
Reviewed-by: Danilo Krummrich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions
