Skip to content

Commit

Permalink
bus/driver: return ProcessFD via GetConnectionCredentials()
Browse files Browse the repository at this point in the history
As per the new addition to the D-Bus spec, return the pid FD of the
connection via GetConnectionCredentials(). Only do so if we got the
FD from SO_PEERPIDFD, which is safe against recycle attacks.

Signed-off-by: Luca Boccassi <bluca@debian.org>
  • Loading branch information
bluca committed Aug 1, 2023
1 parent 18fb06e commit 3e1b681
Showing 1 changed file with 178 additions and 67 deletions.
Loading

0 comments on commit 3e1b681

Please sign in to comment.