Skip to content
  1. Jan 14, 2014
  2. Nov 22, 2013
  3. Nov 06, 2013
    • Eric Paris's avatar
      audit: fix type of sessionid in audit_set_loginuid() · 9175c9d2
      Eric Paris authored
      
      
      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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      9175c9d2
  4. Nov 05, 2013
Loading