D24245: Add support for passing Unix file descriptors
Albert Astals Cid
noreply at phabricator.kde.org
Mon Sep 30 23:01:33 BST 2019
aacid added a comment.
In D24245#539508 <https://phabricator.kde.org/D24245#539508>, @volkov wrote:
> Without UnixFileDescriptor you could try to write
>
> int fd = ...
> Action action(...);
> action.addArgument(QStringLiteral("fd"), fd);
>
>
> but then KAuth won't be able to detect that it'a file descriptor and will pass it to a helper as int.
Would it make more sense to add a new function
Action::addFileDescriptor(const QString &, int)?
This way we don't have to expose UnixFileDescriptor to the world
REPOSITORY
R283 KAuth
REVISION DETAIL
https://phabricator.kde.org/D24245
To: volkov, fvogt, chinmoyr, cfeck, #frameworks, security-team
Cc: aacid, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190930/1972ee0e/attachment.html>
More information about the Kde-frameworks-devel
mailing list