"interrupted system call" fixed

2020-05-11 Thread Samuel Thibault
Hello, Thanks to the X server triggering the issue reliably, I could fix an issue in the glibc that manifested as "interrupted system call" errors in multithreaded applications. The fix is available in the libc0.3 2.30-8 Debian package, and upstream as commit 61416e192 ('hurd: Add missing sigstate

Re: Feeble attempt at using xattr gnu.translator

2020-05-11 Thread Samuel Thibault
Jan Nieuwenhuizen, le lun. 11 mai 2020 10:53:58 +0200, a ecrit: > Samuel Thibault writes: > > > Samuel Thibault, le lun. 11 mai 2020 10:42:08 +0200, a ecrit: > >> > diskfs_S_file_set_translator (struct protid *cred, > >> > [...] > >> > if (passivelen && passive[passivelen - 1]) > >> > return

Re: Feeble attempt at using xattr gnu.translator

2020-05-11 Thread Jan Nieuwenhuizen
Samuel Thibault writes: > Samuel Thibault, le lun. 11 mai 2020 10:42:08 +0200, a ecrit: >> > diskfs_S_file_set_translator (struct protid *cred, >> > [...] >> > if (passivelen && passive[passivelen - 1]) >> > return EINVAL; >> > >> > hmm; so even when there are no arguments, VALUE must end w

Re: Feeble attempt at using xattr gnu.translator

2020-05-11 Thread Samuel Thibault
Samuel Thibault, le lun. 11 mai 2020 10:42:08 +0200, a ecrit: > > diskfs_S_file_set_translator (struct protid *cred, > > [...] > > if (passivelen && passive[passivelen - 1]) > > return EINVAL; > > > > hmm; so even when there are no arguments, VALUE must end with 0?! > > That That's a bit s

Re: Feeble attempt at using xattr gnu.translator

2020-05-11 Thread Samuel Thibault
Jan Nieuwenhuizen, le lun. 11 mai 2020 10:33:53 +0200, a ecrit: >gnu.translator empty if no passive translator > translator and arguments: "/hurd/foo\0arg1\0arg2\0" > > ah...so there's a nice hack (way??) to also pass arguments... ? It's not hack, it's how it's passe

Re: Feeble attempt at using xattr gnu.translator

2020-05-11 Thread Jan Nieuwenhuizen
Samuel Thibault writes: Hello Samuel, > Did you have a look at Shengyu Zhang's work on xattr? That's about > summer 2016. Ah, that's a helpful pointer. What I notice is that Shengyu's last message says "not merged yet", to which Richard Braun responds https://lists.gnu.org/archive/html/bug