diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2016-11-10 09:41:14 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-11-20 23:28:22 +0300 |
commit | 833fc48d18ce3595990b405ae82a160b33028994 (patch) | |
tree | c7d89cf07ef9f18e1e09d3dcb87a66765e63513f /kernel/audit_tree.c | |
parent | 8443075eacb51df8539916c4170d2fdfe7c81433 (diff) | |
download | linux-833fc48d18ce3595990b405ae82a160b33028994.tar.xz |
audit: skip sessionid sentinel value when auto-incrementing
The value (unsigned int)-1 is used as a sentinel to indicate the
sessionID is unset. Skip this value when the session_id value wraps.
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/audit_tree.c')
0 files changed, 0 insertions, 0 deletions