-#define CP_ERROR 1u /* Error report */
-#define CP_WRWORLD 2u /* Check write by world */
-#define CP_WRGRP 4u /* Check write by any group */
-#define CP_WROTHGRP 8u /* Check write by other group */
-#define CP_WROTHUSR 16u /* Check write by other user */
-#define CP_SYMLINK 32u /* Report symbolic links */
-#define CP_REPORT 64u /* Make user-readable reports */
-#define CP_STICKYOK 128u /* Don't care if sticky is set */
+/* Problem types */
+#define CP_PROBLEMS 0x1fu /* Mask of problem bits */
+#define CP_ERROR 0x01u /* Error report */
+#define CP_WRWORLD 0x02u /* Check write by world */
+#define CP_WRGRP 0x04u /* Check write by any group */
+#define CP_WROTHGRP 0x08u /* Check write by other group */
+#define CP_WROTHUSR 0x10u /* Check write by other user */
+
+/* Other flags */
+#define CP_SYMLINK 0x100u /* Report symbolic links */
+#define CP_REPORT 0x200u /* Make user-readable reports */
+#define CP_STICKYOK 0x400u /* Don't care if sticky is set */