diff options
| author | Luca Boccassi <luca.boccassi@gmail.com> | 2026-04-30 00:21:16 +0300 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-06-01 02:31:37 +0300 |
| commit | 4c08a9f38c50c0df7091b5567be7a3bbac92de0b (patch) | |
| tree | f41066e7a51509a677fed60e77c5fc7af522fdc4 /scripts | |
| parent | dab2b4c66aa0f44ccb6a0096906e5680c604fe39 (diff) | |
| download | linux-4c08a9f38c50c0df7091b5567be7a3bbac92de0b.tar.xz | |
liveupdate: add LIVEUPDATE_SESSION_GET_NAME ioctl
Userspace when requesting a session via the ioctl specifies a name and
gets a FD, but then there is no ioctl to go back the other way and get
the name given a LUO session FD. This is problematic especially when
there is a userspace orchestrator that wants to check what FDs it is
handling for clients without having to do manual string scraping of
procfs, or without procfs at all.
Add a ioctl to simply get the name from an FD.
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20260429212221.814107-4-luca.boccassi@gmail.com
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
