[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH 3/4] Improve elevation prompts


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Owen Smith <owen.smith@xxxxxxxxxx>
  • Date: Thu, 7 Nov 2019 15:53:17 +0000
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=owen.smith@xxxxxxxxxx; spf=Pass smtp.mailfrom=owen.smith@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Owen Smith <owen.smith@xxxxxxxxxx>
  • Delivery-date: Thu, 07 Nov 2019 15:53:59 +0000
  • Ironport-sdr: UsVT1cpphv5BHtB9H9kNhCTzGt3N5RNleqIrp9rBdOo+1iBpcGd8GUNwYNnKPUKrrg+jct4zrj 0kVe9WOzwHE9ydpMma5PbEU2cI0a57levevI17KnJautJ+Paj2n8/8/zKQBB9lydYvlfg7UpBf o5qNBxgsj+GdiaNc5Z6/65F+lVYk7pySml+Oj8bBnOOKkDxMNlDyKEZ9ONrXOATUk2O2zt42sR iXTI8HsYGW9P50t9U26s4Wsk6byGvvqg7VeHte7MEuxThnqCoN2gyjbTtmA+NdaXijVaYCOMG+ h98=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 src/tty/tty.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/tty/tty.c b/src/tty/tty.c
index e295f06..c3dfcf9 100644
--- a/src/tty/tty.c
+++ b/src/tty/tty.c
@@ -375,7 +375,7 @@ RequestElevation(
         return TRUE;
 
     ECHO(&Context->Device, "\r\n");
-    ECHO(&Context->Device, " run as Administrator [yes|no]: ");
+    ECHO(&Context->Device, "Run Elevated [yes|no]: ");
 
     ZeroMemory(Buffer, sizeof (Buffer));
 
@@ -396,6 +396,8 @@ RequestElevation(
     if (_tcslen(Buffer) == 0)
         return FALSE;
 
+    ECHO(&Context->Device, "\r\n");
+
     if (_tcscmp(Buffer, TEXT("yes")) != 0)
         return TRUE;
 
@@ -410,6 +412,8 @@ RequestElevation(
     Context->OriginalToken = Context->Token;
     Context->Token = LinkedToken.LinkedToken;
 
+    ECHO(&Context->Device, "Running Elevated\r\n\r\n");
+
     return TRUE;
 }
 
-- 
2.16.2.windows.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.