X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=include%2Flinux%2Ffanotify.h;h=e37f559c95e1316dec36cc549c63234d671f062d;hb=5dd03f55fd2f21916ce248bb2e68bbfb39d94fe5;hp=ed479b6fef7b065b0d612dc9cfbbd3d8a78743cd;hpb=2529a0df0f64dab1f60ae08e038b89c53a6b4c02;p=net-next-2.6.git diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h index ed479b6fef7..e37f559c95e 100644 --- a/include/linux/fanotify.h +++ b/include/linux/fanotify.h @@ -28,12 +28,13 @@ #define FAN_CLASS_NOTIF 0x00000000 #define FAN_CLASS_CONTENT 0x00000004 #define FAN_CLASS_PRE_CONTENT 0x00000008 - #define FAN_ALL_CLASS_BITS (FAN_CLASS_NOTIF | FAN_CLASS_CONTENT | \ FAN_CLASS_PRE_CONTENT) +#define FAN_UNLIMITED_QUEUE 0x00000010 + #define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK | \ - FAN_ALL_CLASS_BITS) + FAN_ALL_CLASS_BITS | FAN_UNLIMITED_QUEUE) /* flags used for fanotify_modify_mark() */ #define FAN_MARK_ADD 0x00000001