bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] Basic support for checking NFSv4 ACLs in Linux


From: Andreas Grünbacher
Subject: Re: [PATCH] Basic support for checking NFSv4 ACLs in Linux
Date: Tue, 29 Nov 2022 11:58:37 +0100

Am Mo., 28. Nov. 2022 um 08:29 Uhr schrieb Ondrej Valousek
<ondrej.valousek.xm@renesas.com>:
> Hi Andreas,
>
> - I do not quite understand. I did not bother copying the who value into 
> extra buffer hence I am using strncmp instead of strcmp and therefore can't 
> use strlen. The checks are sufficient there.

Please ask yourself if a who string of "@" with wholen == 1 would
match the following test:

  strncmp(bufp, ACE4_WHO_OWNER, wholen) == 0

Thanks,
Andreas



reply via email to

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