summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2013-11-06 16:47:17 +0100
committerEric Paris <eparis@redhat.com>2013-11-06 17:47:24 +0100
commit9175c9d2aed528800175ef81c90569d00d23f9be (patch)
tree8fc23922601961f97b25cf6e49dccaeee0a3b081 /security
parentaudit: call audit_bprm() only once to add AUDIT_EXECVE information (diff)
downloadlinux-9175c9d2aed528800175ef81c90569d00d23f9be.tar.xz
linux-9175c9d2aed528800175ef81c90569d00d23f9be.zip
audit: fix type of sessionid in audit_set_loginuid()
sfr pointed out that with CONFIG_UIDGID_STRICT_TYPE_CHECKS set the audit tree would not build. This is because the oldsessionid in audit_set_loginuid() was accidentally being declared as a kuid_t. This patch fixes that declaration mistake. Example of problem: kernel/auditsc.c: In function 'audit_set_loginuid': kernel/auditsc.c:2003:15: error: incompatible types when assigning to type 'kuid_t' from type 'int' oldsessionid = audit_get_sessionid(current); Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions