devela::_dep::nc

Constant FANOTIFY_USER_INIT_FLAGS

pub const FANOTIFY_USER_INIT_FLAGS: u32 = _; // 7_683u32
Available on crate feature dep_nc only.
Expand description

fanotify_init() flags that are allowed for user without CAP_SYS_ADMIN.

FAN_CLASS_NOTIF is the only class we allow for unprivileged group. We do not allow unprivileged groups to get file descriptors in events, so one of the flags for reporting file handles is required.