History

audit: convert sessionid unset to a macro

Use a macro, "AUDIT_SID_UNSET", to replace each instance of initialization and comparison to an audit session ID.

Richard Guy Briggs committed 8 years ago

Commit f0b75211 parent 326bee05 files · +7 −5Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/audit.h+1−0
@@ -465,6 +465,7 @@ struct audit_tty_status { · 464 unmodified lines
465465 };
466466
467467 #define AUDIT_UID_UNSET (unsigned int)-1
468+#define AUDIT_SID_UNSET ((unsigned int)-1)
468469
469470 /* audit_rule_data supports filter rules with both integer and string
470471 * fields. It corresponds with AUDIT_ADD_RULE, AUDIT_DEL_RULE and