File tree 1 file changed +15
-2
lines changed
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,22 @@ libc_bitflags! {
96
96
/// final data.
97
97
FAN_CLASS_PRE_CONTENT ;
98
98
99
- /// Remove the limit of 16384 events for the event queue.
99
+ /// Remove the limit on the number of events in the event queue.
100
+ ///
101
+ /// Prior to Linux kernel 5.13, this limit was hardcoded to 16384. After
102
+ /// 5.13, one can change it via file `/proc/sys/fs/fanotify/max_queued_events`.
103
+ ///
104
+ /// See `fanotify(7)` for details about this limit. Use of this flag
105
+ /// requires the `CAP_SYS_ADMIN` capability.
100
106
FAN_UNLIMITED_QUEUE ;
101
- /// Remove the limit of 8192 marks.
107
+ /// Remove the limit on the number of fanotify marks per user.
108
+ ///
109
+ /// Prior to Linux kernel 5.13, this limit was hardcoded to 8192 (per
110
+ /// group, not per user). After 5.13, one can change it via file
111
+ /// `/proc/sys/fs/fanotify/max_user_marks`.
112
+ ///
113
+ /// See `fanotify(7)` for details about this limit. Use of this flag
114
+ /// requires the `CAP_SYS_ADMIN` capability.
102
115
FAN_UNLIMITED_MARKS ;
103
116
104
117
/// Make `FanotifyEvent::pid` return pidfd. Since Linux 5.15.
You can’t perform that action at this time.
0 commit comments