1. 18 1月, 2014 1 次提交
  2. 15 1月, 2014 3 次提交
    • J
      audit: Convert int limit uses to u32 · 3e1d0bb6
      Joe Perches 提交于
      The equivalent uapi struct uses __u32 so make the kernel
      uses u32 too.
      
      This can prevent some oddities where the limit is
      logged/emitted as a negative value.
      
      Convert kstrtol to kstrtouint to disallow negative values.
      Signed-off-by: NJoe Perches <joe@perches.com>
      [eparis: do not remove static from audit_default declaration]
      3e1d0bb6
    • J
      audit: Use more current logging style · d957f7b7
      Joe Perches 提交于
      Add pr_fmt to prefix "audit: " to output
      Convert printk(KERN_<LEVEL> to pr_<level>
      Coalesce formats
      Use pr_cont
      Move a brace after switch
      Signed-off-by: NJoe Perches <joe@perches.com>
      d957f7b7
    • J
      audit: Use hex_byte_pack_upper · b8dbc324
      Joe Perches 提交于
      Using the generic kernel function causes the
      object size to increase with gcc 4.8.1.
      
      $ size kernel/audit.o*
         text	   data	    bss	    dec	    hex	filename
        18577	   6079	   8436	  33092	   8144	kernel/audit.o.new
        18579	   6015	   8420	  33014	   80f6	kernel/audit.o.old
      
      Unsigned...
      b8dbc324
  3. 14 1月, 2014 36 次提交