D4997: Support for long running kcheckpass supporting multiple authentications

Roman Gilg noreply at phabricator.kde.org
Sun Mar 26 18:10:27 UTC 2017


subdiff added inline comments.

INLINE COMMENTS

> authenticator.h:63
>  public:
> -    explicit KCheckPass(const QString &password, QObject *parent = nullptr);
> +    enum class AuthenticationMode {
> +        Delayed,

Can we only use the enum class in Authenticator, instead of duplicating it here?

> kcheckpass.c:394
> +            }
> +            if (uid != geteuid()) {
> +                // we don't support multiple auth for setuid kcheckpass

Shouldn't we test this before we write the result to the socket (and then write an error as result)?

REVISION DETAIL
  https://phabricator.kde.org/D4997

To: graesslin, #plasma
Cc: subdiff, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170326/574e3ba6/attachment.html>


More information about the Plasma-devel mailing list