All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] um: Don't hardcode path as it is architecture dependent
@ 2019-05-14 10:16 Ritesh Raj Sarraf
  2019-05-14 10:26 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Ritesh Raj Sarraf @ 2019-05-14 10:16 UTC (permalink / raw)
  To: stable
  Cc: debian-kernel, Ritesh Raj Sarraf, Ritesh Raj Sarraf, Richard Weinberger

Dear Stable Team,
Request for inclusion into the stable branches of Linux. This change
went into 4.20 but 4.19 is the LTS release that many of the Linux
Vendors are rebasing on. Hence, it'd be nice to see this part of the LTS
releases, at least 4.19.


The current code fails to run on amd64 because of hardcoded reference to
i386

Signed-off-by: Ritesh Raj Sarraf <rrs@researchut.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
---
 arch/um/drivers/port_user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/um/drivers/port_user.c b/arch/um/drivers/port_user.c
index 9a8e1b64c22e..5f56d11b886f 100644
--- a/arch/um/drivers/port_user.c
+++ b/arch/um/drivers/port_user.c
@@ -168,7 +168,7 @@ int port_connection(int fd, int *socket, int *pid_out)
 {
 	int new, err;
 	char *argv[] = { "/usr/sbin/in.telnetd", "-L",
-			 "/usr/lib/uml/port-helper", NULL };
+			 OS_LIB_PATH "/uml/port-helper", NULL };
 	struct port_pre_exec_data data;
 
 	new = accept(fd, NULL, 0);
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-14 12:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-14 10:16 [PATCH] um: Don't hardcode path as it is architecture dependent Ritesh Raj Sarraf
2019-05-14 10:26 ` Greg KH
2019-05-14 11:06   ` Ritesh Raj Sarraf
2019-05-14 12:18     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.