1. 16 1月, 2017 2 次提交
  2. 07 5月, 2014 1 次提交
  3. 15 8月, 2013 1 次提交
  4. 12 5月, 2013 1 次提交
  5. 28 4月, 2013 2 次提交
  6. 10 4月, 2012 2 次提交
  7. 04 4月, 2012 1 次提交
  8. 10 9月, 2011 1 次提交
    • J
      apparmor: sparse fix: add apparmor.h to lib.c · 32c3df63
      James Morris 提交于
      Fix the following sparse warnings:
      security/apparmor/lib.c:37:6: warning: symbol 'aa_split_fqname' was not declared. Should it be static?
      security/apparmor/lib.c:63:6: warning: symbol 'aa_info_message' was not declared. Should it be static?
      security/apparmor/lib.c:83:6: warning: symbol 'kvmalloc' was not declared. Should it be static?
      security/apparmor/lib.c:123:6: warning: symbol 'kvfree' was not declared. Should it be static?
      Signed-off-by: NJames Morris <jmorris@namei.org>
      32c3df63
  9. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  10. 08 9月, 2010 1 次提交
    • J
      AppArmor: Fix splitting an fqname into separate namespace and profile names · 04ccd53f
      John Johansen 提交于
      As per Dan Carpenter <error27@gmail.com>
        If we have a ns name without a following profile then in the original
        code it did "*ns_name = &name[1];".  "name" is NULL so "*ns_name" is
        0x1.  That isn't useful and could cause an oops when this function is
        called from aa_remove_profiles().
      
      Beyond this the assignment of the namespace name was wrong in the case
      where the profile name was provided as it was being set to &name[1]
      after name  = skip_spaces(split + 1);
      
      Move the ns_name assignment before updating name for the split and
      also add skip_spaces, making the interface more robust.
      Signed-off-by: NJohn Johansen <john.johansen@canonical.com>
      Signed-off-by: NJames Morris <jmorris@namei.org>
      04ccd53f
  11. 02 8月, 2010 1 次提交