aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2022-09-22 11:51:24 +0200
committerBartosz Golaszewski <[email protected]>2022-09-26 14:15:38 +0200
commit0ae3109a839192920f09338e9abc4d5321107865 (patch)
tree26b0bc8c7d79a2dc4f3edf81d0ae1077972fb851 /lib/mpi/mpi-sub-ui.c
parent361c1ca384c93013e08bd117e4fe23ca9739e3f7 (diff)
gpiolib: cdev: add fdinfo output for line request file descriptors
Add fdinfo output for file descriptors created for user-space line requests in GPIO uAPI v2. The fdinfo file now contains the name of the GPIO chip that is the "parent" of the request as well as offsets of the lines requested. This allows user-space to parse the /proc/$PID/fdinfo entries and deduce the PID of the process that requested a specific line. Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Kent Gibson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions