From 2dc04aaecba268b79f79fdfa2484c15bb4a71970 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Thu, 13 Nov 2014 16:16:07 +0100 Subject: add patch series --- ...003-startup-also-open-console-for-reading.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 debian/patches/0003-startup-also-open-console-for-reading.patch (limited to 'debian/patches/0003-startup-also-open-console-for-reading.patch') diff --git a/debian/patches/0003-startup-also-open-console-for-reading.patch b/debian/patches/0003-startup-also-open-console-for-reading.patch new file mode 100644 index 00000000..6fbd7c97 --- /dev/null +++ b/debian/patches/0003-startup-also-open-console-for-reading.patch @@ -0,0 +1,26 @@ +From fe60aba84594f4f367b8edc86cd044c26c2f224e Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Fri, 7 Nov 2014 16:15:17 +0100 +Subject: [PATCH hurd 03/14] startup: also open `console' for reading + +* startup/startup.c (main): Also open `console' for reading. +--- + startup/startup.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/startup/startup.c b/startup/startup.c +index ff58270..e177075 100644 +--- a/startup/startup.c ++++ b/startup/startup.c +@@ -557,7 +557,7 @@ main (int argc, char **argv, char **envp) + master device ports, and the console. */ + if (task_get_bootstrap_port (mach_task_self (), &bootport) + || fsys_getpriv (bootport, &host_priv, &device_master, &fstask) +- || device_open (device_master, D_WRITE, "console", &consdev)) ++ || device_open (device_master, D_READ|D_WRITE, "console", &consdev)) + crash_mach (); + + wire_task_self (); +-- +2.1.1 + -- cgit v1.2.3