bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feeble attempt at using xattr gnu.translator


From: Samuel Thibault
Subject: Re: Feeble attempt at using xattr gnu.translator
Date: Mon, 11 May 2020 10:58:22 +0200
User-agent: NeoMutt/20170609 (1.8.3)

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 EINVAL;
> >> > 
> >> > hmm; so even when there are no arguments, VALUE must end with 0?!
> >> 
> >> That
> >
> > That's a bit sad, but I'm not so surprised either. I don't remember if
> > that was discussed at the time.
> 
> At first glance it felt like a bug/non-finished thing; setttrans does
> not require the user to resort to \0-hackery.

It does not because settrans is supposed to *be* the user-visible
interface. setfattr is not supposed to be.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]