libc icon indicating copy to clipboard operation
libc copied to clipboard

Correct the value of FAN_MARK_IGNORE

Open severen opened this issue 3 months ago • 2 comments

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.

severen avatar Mar 17 '24 06:03 severen

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

rustbot avatar Mar 17 '24 06:03 rustbot

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.

severen avatar Mar 17 '24 06:03 severen