User-mode Linux: Port driver host system independence strengthened.
PATCH 1/1 User-mode Linux: Port driver host system independence strengthened.
Port driver no longer need a telnet daemon and port-helper at fixed locations on the host system. Fixed locations are still checked. If detection failed, it will look for links or programs named uml.telnetd and port-helper in user pathes list.
---
--- linux-2.6.21.1/arch/um/drivers/port_user.c.orig 2007-05-20
13:57:31.000000000 +0200
+++ linux-2.6.21.1/arch/um/drivers/port_user.c 2007-05-20 13:59:23.000000000 +0200
@@ -177,6 +177,12 @@ int port_connection(int fd, int *socket,
"/usr/lib/uml/port-helper", NULL };
struct port_pre_exec_data data;+ if(os_access(argv[0], OS_ACC_X_OK) < 0)
+ argv[0] = "uml.telnetd";
+
+ if(os_access(argv[2], OS_ACC_X_OK) < 0)
+ argv[2] = "port-helper";
+
new = os_accept_connection(fd);
if(new < 0)
return new;-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 5 lines · Jean-Yves Didier
Port driver no longer need a telnet daemon and port-helper at fixed locations on the host system. Fixed locations are still checked. If detection failed, it will look for links or programs named uml.telnetd and port-helper in user pathes list.
I suppose... I take it this is useful when you can't convince your system manager to install stuff?
Jeff
Signature · 11 lines
Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel