audit: allow interfield comparison between gid and ogid
[firefly-linux-kernel-4.4.55.git] / include / linux / audit.h
index 838e05fc05828ff1be340ee35801e9791aafae65..fffbc2176ee152fd4a9d282bad5ab997f1ada3b8 100644 (file)
 
 /* AUDIT_FIELD_COMPARE rule list */
 #define AUDIT_COMPARE_UID_TO_OBJ_UID   1
+#define AUDIT_COMPARE_GID_TO_OBJ_GID   2
 
-#define AUDIT_MAX_FIELD_COMPARE        AUDIT_COMPARE_UID_TO_OBJ_UID
+#define AUDIT_MAX_FIELD_COMPARE        AUDIT_COMPARE_GID_TO_OBJ_GID
 /* Rule fields */
                                /* These are useful when checking the
                                 * task structure at task creation time