diff options
author | Eric Paris <eparis@redhat.com> | 2013-11-28 02:35:17 +0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2014-01-14 07:31:46 +0400 |
commit | 4440e8548153e9e6d56db9abe6f3bc0e5b9eb74f (patch) | |
tree | 1752c5edd77a746fdb2aad2806b31fbe4dd39a76 /include/linux/init_task.h | |
parent | ff235f51a138fc61e1a22dcb8b072d9c78c2a8cc (diff) | |
download | linux-4440e8548153e9e6d56db9abe6f3bc0e5b9eb74f.tar.xz |
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 'include/linux/init_task.h')
-rw-r--r-- | include/linux/init_task.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 5cd0f0949927..a143df5ee548 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h @@ -95,7 +95,7 @@ extern struct group_info init_groups; #ifdef CONFIG_AUDITSYSCALL #define INIT_IDS \ .loginuid = INVALID_UID, \ - .sessionid = -1, + .sessionid = (unsigned int)-1, #else #define INIT_IDS #endif |