Re: [PATCH v4 4/4] fsmonitor: normalize FSEvents event paths to the real path

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

 





On 9/6/22 3:33 PM, Eric DeCosta wrote:


[...]

This is informative:

https://developer.apple.com/forums/thread/120665

-Eric



How strange........

Have you tried the:
   fcntl(F_GETPATH)
vs fcntl(F_GETPATH_NOFIRMLINK)
vs realpath()

comparison suggested in the comments and does it return
anything sensical?  Such that we could record both spellings
when the daemon starts up.  I think we'd have to do it on
an open fd on the worktree root directory.

Jeff


https://developer.apple.com/forums/thread/120665



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux