diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2012-09-26 01:10:42 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:51:55 +0200 |
commit | 9664bee729d487bcc0a0bc35859f8e13d5421c75 (patch) | |
tree | b428a16618e36ed864a8d76ea3435e19a452bf90 /source/kde/kdelibs/kdesu-allow_NOPASS_in_suauth.patch | |
parent | 75a4a592e5ccda30715f93563d741b83e0dcf39e (diff) | |
download | current-9664bee729d487bcc0a0bc35859f8e13d5421c75.tar.gz |
Slackware 14.0slackware-14.0
Wed Sep 26 01:10:42 UTC 2012
Slackware 14.0 x86_64 stable is released!
We're perfectionists here at Slackware, so this release has been a long
time a-brewing. But we think you'll agree that it was worth the wait.
Slackware 14.0 combines modern components, ease of use, and flexible
configuration... our "KISS" philosophy demands it.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
Thanks to everyone who helped make this happen. The Slackware team, the
upstream developers, and (of course) the awesome Slackware user
community.
Have fun! :-)
Diffstat (limited to 'source/kde/kdelibs/kdesu-allow_NOPASS_in_suauth.patch')
-rw-r--r-- | source/kde/kdelibs/kdesu-allow_NOPASS_in_suauth.patch | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/source/kde/kdelibs/kdesu-allow_NOPASS_in_suauth.patch b/source/kde/kdelibs/kdesu-allow_NOPASS_in_suauth.patch deleted file mode 100644 index 64b4d5af..00000000 --- a/source/kde/kdelibs/kdesu-allow_NOPASS_in_suauth.patch +++ /dev/null @@ -1,61 +0,0 @@ -diff -Naur kdesu/stub.cpp kdesu.new/stub.cpp ---- kdesu/stub.cpp 2008-05-21 08:08:55.000000000 -0300 -+++ kdesu.new/stub.cpp 2009-10-13 01:32:10.000000000 -0300 -@@ -105,6 +105,7 @@ - int StubProcess::ConverseStub(int check) - { - QByteArray line, tmp; -+ - while (1) - { - line = readLine(); -@@ -117,7 +118,17 @@ - enableLocalEcho(false); - if (check) writeLine("stop"); - else writeLine("ok"); -- } else if (line == "display") { -+ break; -+ } -+ } -+ -+ while (1) -+ { -+ line = readLine(); -+ if (line.isNull()) -+ return -1; -+ -+ if (line == "display") { - writeLine(display()); - } else if (line == "display_auth") { - #ifdef Q_WS_X11 -diff -Naur kdesu/su.cpp kdesu.new/su.cpp ---- kdesu/su.cpp 2008-05-21 08:08:55.000000000 -0300 -+++ kdesu.new/su.cpp 2009-10-19 00:21:31.000000000 -0200 -@@ -258,13 +258,6 @@ - ////////////////////////////////////////////////////////////////////////// - case WaitForPrompt: - { -- // In case no password is needed. -- if (line == "kdesu_stub") -- { -- unreadLine(line); -- return ok; -- } -- - while(waitMS(fd(),100)>0) - { - // There is more output available, so the previous line -@@ -279,6 +272,13 @@ - kDebug(900) << k_lineinfo << "Read line <" << more << ">"; - } - -+ // In case no password is needed. -+ if (line == "kdesu_stub") -+ { -+ unreadLine(line); -+ return ok; -+ } -+ - // Match "Password: " with the regex ^[^:]+:[\w]*$. - const uint len = line.length(); - for (i=0,j=0,colon=0; i<len; i++) |