libc
libc copied to clipboard
Correct the value of FAN_MARK_IGNORE
This PR aligns the value of FAN_MARK_IGNORE
in libc with that in uapi/linux/fanotify.h
.
Previously, it was incorrectly set to the value of FAN_MARK_MOUNT
, which can cause subtle but catastrophic bugs when one tries to mark a file as ignored.
r? @JohnTitor
rustbot has assigned @JohnTitor. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r? to explicitly pick a reviewer
I've also gone through and compared all of the other fanotify constants with those in uapi/linux/fanotify.h
to see if I could spot any other mismatches, but it looks like everything else is correct.