[Toybox] dirtree: add DIRTREE_NOSTAT flag

Mark Salyzyn salyzyn at android.com
Thu Oct 27 07:22:37 PDT 2016


On 10/26/2016 09:07 PM, Rob Landley wrote:
> On 10/26/2016 03:12 PM, Mark Salyzyn wrote:
>> >From the AOSP gerrit fixing internal bug 32399196
>> ( https://android-review.googlesource.com/#/c/295731 )
>>
>> Change subject: dirtree: add DIRTREE_NOSTAT flag
>>
>> Prevents a superfluous attribute request. Flag returned on callbacks,
>> subsequent recursive callbacks have a responsibility to issue:
>>
>> fstatat(dirtree_parentfd(dirtree), dirtree->name, &dirtree->st,
>>          AT_SYMLINK_NOFOLLOW);
> If you're going to send me git commits anyway, could you do:
>
>    git format-patch -1 $COMMITHASH
>
> And then attach the resulting file to the message?
>
> Thanks,
>
> Rob

Enclosed the two files, you might wish to remove the Bug:# footer?

-- Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dirtree-add-DIRTREE_NOSTAT-flag.patch
Type: text/x-patch
Size: 2920 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20161027/4b5cde2e/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ps-only-stat-proc-pid.patch
Type: text/x-patch
Size: 1522 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20161027/4b5cde2e/attachment-0009.bin>


More information about the Toybox mailing list