diff options
Diffstat (limited to 'source/kde/kde/patch/kate/kate_runasroot.patch')
-rw-r--r-- | source/kde/kde/patch/kate/kate_runasroot.patch | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/source/kde/kde/patch/kate/kate_runasroot.patch b/source/kde/kde/patch/kate/kate_runasroot.patch index aa067ce61..3cc919faf 100644 --- a/source/kde/kde/patch/kate/kate_runasroot.patch +++ b/source/kde/kde/patch/kate/kate_runasroot.patch @@ -1,11 +1,7 @@ ---- ./kwrite/main.cpp.orig 2021-04-22 13:26:42.398123759 -0500 -+++ ./kwrite/main.cpp 2021-04-22 13:29:08.356127024 -0500 -@@ -38,20 +38,18 @@ - extern "C" Q_DECL_EXPORT int main(int argc, char **argv) - { - #ifndef Q_OS_WIN -- // Prohibit using sudo or kdesu (but allow using the root user directly) -+ // Warn using sudo or kdesu (but allow using the root user directly) +--- ./kwrite/main.cpp.orig 2021-08-12 21:30:09.752256555 -0500 ++++ ./kwrite/main.cpp 2021-08-12 21:32:05.046259134 -0500 +@@ -41,17 +41,15 @@ + // Prohibit using sudo or kdesu (but allow using the root user directly) if (getuid() == 0) { if (!qEnvironmentVariableIsEmpty("SUDO_USER")) { - std::cout << "Executing KWrite with sudo is not possible due to unfixable security vulnerabilities. " @@ -24,8 +20,8 @@ } } #endif ---- ./kate/main.cpp.orig 2021-04-22 13:26:42.397123759 -0500 -+++ ./kate/main.cpp 2021-04-22 13:30:18.674128597 -0500 +--- ./kate/main.cpp.orig 2021-08-04 21:13:14.000000000 -0500 ++++ ./kate/main.cpp 2021-08-12 21:30:09.753256555 -0500 @@ -49,17 +49,15 @@ // Prohibit using sudo or kdesu (but allow using the root user directly) if (getuid() == 0) { |