Re: [PATCH 1/1] landlock: Mention -1 return code on failure

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

 



Hi Petr,

On Fri, Jul 12, 2024 at 03:25:22PM GMT, Petr Vorel wrote:
> > Hi Petr,
> > > +On error,
> > > +\-1 is returned and
> > > +.I errno
> > > +is set to indicate the cause of the error.
> 
> > I think the common wording is s/the cause of //
> 
> > Michael unified these a few years ago.
> 
> Yes, you're right, it's mentioned in Changes.old.
> But I copied that from man/man2/mount_setattr.2 and it's on several places:
> 
> $ git grep "the cause of the error" man/ | wc -l
> 12
> 
> I'll send v2 later today or on Monday.

Hmmm, thanks for investigating.  Would you mind also sending a patch for
fixing those 12 cases?

Have a lovely day!
Alex


-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux