From 9dd38744c5f94479525489c1217db4e4aa6b652b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 29 Nov 2020 00:50:57 +0000 Subject: [PATCH] Add a comment about auth_admin_keep. --- src/util/externalcommandhelper.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/externalcommandhelper.cpp b/src/util/externalcommandhelper.cpp index ae5216a..6c58213 100644 --- a/src/util/externalcommandhelper.cpp +++ b/src/util/externalcommandhelper.cpp @@ -332,6 +332,9 @@ bool ExternalCommandHelper::isCallerAuthorized() // Cache successful authentication requests, so that clients don't need // to authenticate multiple times during long partitioning operations. + // auth_admin_keep is not used intentionally because with current architecture + // it might lead to data loss if user cancels sfdisk partition boundary adjustment + // after partition data was moved. if (m_serviceWatcher->watchedServices().contains(message().service())) { return true; }