-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audit update #1199
base: master
Are you sure you want to change the base?
Audit update #1199
Changes from 2 commits
1a51b2f
b2c8eff
7ef9252
d5961cf
620107a
2f998da
46a4532
b53c48f
00fad2e
c9e5d54
c655225
a39e4df
6d9391c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,6 +182,12 @@ extern int audit_fd; | |
extern void audit_help_open (void); | ||
/* Use AUDIT_NO_ID when a name is provided to audit_logger instead of an ID */ | ||
#define AUDIT_NO_ID ((unsigned int) -1) | ||
#ifndef AUDIT_GRP_MGMT | ||
#define AUDIT_GRP_MGMT 1132 /* Group account was modified */ | ||
#endif | ||
#ifndef AUDIT_GRP_CHAUTHTOK | ||
#define AUDIT_GRP_CHAUTHTOK 1133 /* Group account password was changed */ | ||
#endif | ||
Comment on lines
+185
to
+190
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason for those specific values? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They come from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, please try removing them, and if builds everywhere, let's forget about them (and if not, reintroduce them). |
||
typedef enum { | ||
SHADOW_AUDIT_FAILURE = 0, | ||
SHADOW_AUDIT_SUCCESS = 1} shadow_audit_result; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding
b2c8eff
You could move the filename in the subject to the prefix:
Also, could you add some little explanation in the commit message of what this update is about?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or will you squash the commits? (I think it would make sense to squash them.)