Re: BUG: /proc/self/exe reports relative paths, should always return absolute paths?

2017-09-20 Thread Samuel Thibault
Svante Signell, on mer. 20 sept. 2017 08:46:49 +0200, wrote: > I changed the patch for __execve() to keep file_name if the path is absolute > and > call realpath() for relative paths. But then if you call a script that looks at $0 from a relative path, it'll break. > (I did also a cetcwd()

Re: X Terminal issues

2017-09-20 Thread Samuel Thibault
Samuel Thibault, on jeu. 21 sept. 2017 00:24:28 +0200, wrote: > Riccardo Mottola, on mer. 20 sept. 2017 23:53:17 +0200, wrote: > > xterm: Error 27, errno 1073741849: Inappropriate ioctl for device > > Reason: spawn: ioctl() failed on TIOCLSET > > There are probably a lot more things like that

Re: X Terminal issues

2017-09-20 Thread Samuel Thibault
Hello, Riccardo Mottola, on mer. 20 sept. 2017 23:53:17 +0200, wrote: > xterm: Error 27, errno 1073741849: Inappropriate ioctl for device > Reason: spawn: ioctl() failed on TIOCLSET Mmm, this is indeed not implemented. We should probably not expose it in bits/ioctls.h. There are probably a lot

X Terminal issues

2017-09-20 Thread Riccardo Mottola
Hi HURDers, Both if I start xterm as uxterm, I get these errors: $ uxterm xterm: Error 27, errno 1073741849: Inappropriate ioctl for device Reason: spawn: ioctl() failed on TIOCLSET $ xterm xterm: Error 27, errno 1073741849: Inappropriate ioctl for device Reason: spawn: ioctl() failed on

Re: [PATCH] eth-multiplxer: Implement ds_device_close()

2017-09-20 Thread Joan Lledó
Ooops!! I forgot that! :) 2017-09-20 20:06 GMT+02:00 James Clarke : > On 20 Sep 2017, at 11:08, Joan Lledó wrote: >> >> --- >> eth-multiplexer/Makefile | 2 +- >> eth-multiplexer/device_impl.c | 5 + >> 2 files changed, 6 insertions(+), 1

Re: [PATCH] eth-multiplxer: Implement ds_device_close()

2017-09-20 Thread James Clarke
On 20 Sep 2017, at 11:08, Joan Lledó wrote: > > --- > eth-multiplexer/Makefile | 2 +- > eth-multiplexer/device_impl.c | 5 + > 2 files changed, 6 insertions(+), 1 deletion(-) > > diff --git a/eth-multiplexer/Makefile b/eth-multiplexer/Makefile > index

[PATCH] eth-multiplxer: Implement ds_device_close()

2017-09-20 Thread Joan Lledó
--- eth-multiplexer/Makefile | 2 +- eth-multiplexer/device_impl.c | 5 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/eth-multiplexer/Makefile b/eth-multiplexer/Makefile index cefa0abd..2b19de6d 100644 --- a/eth-multiplexer/Makefile +++ b/eth-multiplexer/Makefile @@

[PATCH] eth-multiplxer: Implement ds_device_close()

2017-09-20 Thread Joan Lledó
Hello, One difference between pfinet and lwip translators is that pfinet doesn't delete interfaces (or I haven't found how to do it) while lwip does. For instance, if one starts pfinet with: settrans -fga /servers/socket/2 /hurd/pfinet -i /dev/eth1 -a 192.168.123.178 -m 255.255.255.0 -g

Re: BUG: /proc/self/exe reports relative paths, should always return absolute paths?

2017-09-20 Thread Svante Signell
On Mon, 2017-09-18 at 20:56 +0200, Samuel Thibault wrote: > Svante Signell, on lun. 18 sept. 2017 19:45:39 +0200, wrote: > > lrwxr-xr-x 1 root root 26 Aug 17 07:38 /usr/sbin/update-fmtutil -> update- > > tl- > > stacked-conffile > > > > In this case the link name should not be resolved. Any