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 (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
465};465};
466 466
467#define AUDIT_UID_UNSET (unsigned int)-1467#define AUDIT_UID_UNSET (unsigned int)-1
468#define AUDIT_SID_UNSET ((unsigned int)-1)
468 469
469/* audit_rule_data supports filter rules with both integer and string470/* audit_rule_data supports filter rules with both integer and string
470 * fields. It corresponds with AUDIT_ADD_RULE, AUDIT_DEL_RULE and471 * fields. It corresponds with AUDIT_ADD_RULE, AUDIT_DEL_RULE and

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t