diff options
author | Eric Paris <eparis@redhat.com> | 2013-11-27 17:35:17 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2014-01-13 22:31:46 -0500 |
commit | 4440e8548153e9e6d56db9abe6f3bc0e5b9eb74f (patch) | |
tree | 1752c5edd77a746fdb2aad2806b31fbe4dd39a76 /kernel/auditsc.c | |
parent | ff235f51a138fc61e1a22dcb8b072d9c78c2a8cc (diff) | |
download | op-kernel-dev-4440e8548153e9e6d56db9abe6f3bc0e5b9eb74f.zip op-kernel-dev-4440e8548153e9e6d56db9abe6f3bc0e5b9eb74f.tar.gz |
audit: convert all sessionid declaration to unsigned int
Right now the sessionid value in the kernel is a combination of u32,
int, and unsigned int. Just use unsigned int throughout.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 05634b3..5c23734 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -2011,7 +2011,7 @@ int audit_set_loginuid(kuid_t loginuid) /* are we setting or clearing? */ if (uid_valid(loginuid)) - sessionid = atomic_inc_return(&session_id); + sessionid = (unsigned int)atomic_inc_return(&session_id); task->sessionid = sessionid; task->loginuid = loginuid; |