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

* Re: [PATCH] um: Don't hardcode path as it is architecture dependent
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2019-05-14 10:26 UTC (permalink / raw)
  To: Ritesh Raj Sarraf
  Cc: stable, debian-kernel, Ritesh Raj Sarraf, Richard Weinberger

On Tue, May 14, 2019 at 03:46:57PM +0530, Ritesh Raj Sarraf wrote:
> 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(-)

What is the git commit id of this patch in Linus's tree?

thanks,

greg k-h

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

* Re: [PATCH] um: Don't hardcode path as it is architecture dependent
  2019-05-14 10:26 ` Greg KH
@ 2019-05-14 11:06   ` Ritesh Raj Sarraf
  2019-05-14 12:18     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Ritesh Raj Sarraf @ 2019-05-14 11:06 UTC (permalink / raw)
  To: Greg KH; +Cc: stable, debian-kernel, Richard Weinberger

[-- Attachment #1: Type: text/plain, Size: 830 bytes --]

Hello Greg,

On Tue, 2019-05-14 at 12:26 +0200, Greg KH wrote:
> On Tue, May 14, 2019 at 03:46:57PM +0530, Ritesh Raj Sarraf wrote:
> > 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(-)
> 
> What is the git commit id of this patch in Linus's tree?

The git commit id should be: 9ca19a3a3e2482916c475b90f3d7fa2a03d8e5ed
The web url is: 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9ca19a3a3e2482916c475b90f3d7fa2a03d8e5ed


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH] um: Don't hardcode path as it is architecture dependent
  2019-05-14 11:06   ` Ritesh Raj Sarraf
@ 2019-05-14 12:18     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2019-05-14 12:18 UTC (permalink / raw)
  To: Ritesh Raj Sarraf; +Cc: stable, debian-kernel, Richard Weinberger

On Tue, May 14, 2019 at 04:36:38PM +0530, Ritesh Raj Sarraf wrote:
> Hello Greg,
> 
> On Tue, 2019-05-14 at 12:26 +0200, Greg KH wrote:
> > On Tue, May 14, 2019 at 03:46:57PM +0530, Ritesh Raj Sarraf wrote:
> > > 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(-)
> > 
> > What is the git commit id of this patch in Linus's tree?
> 
> The git commit id should be: 9ca19a3a3e2482916c475b90f3d7fa2a03d8e5ed

Thanks, now queued up.

greg k-h

^ permalink raw reply	[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.