1. 29 Feb, 2016 1 commit
    • Luis R. Rodriguez's avatar
      firmware: change kernel read fail to dev_dbg() · 8e516aa5
      Luis R. Rodriguez authored
      When we now use the new kernel_read_file_from_path() we
      are reporting a failure when we iterate over all the paths
      possible for firmware. Before using kernel_read_file_from_path()
      we only reported a failure once we confirmed a file existed
      with filp_open() but failed with fw_read_file_contents().
      
      With kernel_read_file_from_path() both are done for us and
      we obviously are now reporting too much information given that
      some optional paths will always fail and clutter the logs.
      
      fw_get_filesystem_firmware() already has a check for failure
      and uses an internal flag, FW_OPT_NO_WARN, but this does not
      let us capture other unxpected errors. This enables that
      as changed by Neil via commit:
      
      "firmware: Be a bit more verbose about direct firmware loading failure"
      Reported-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Cc: Neil Horman <nhorman@tuxdriver.com>
      Cc: Heiner Kallweit <hkallweit1@gmail.com>
      Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>
      Cc: Kees Cook <keescook@chromium.org>
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@kernel.org>
      Acked-by: default avatarKees Cook <keescook@chromium.org>
      Acked-by: default avatarMing Lei <ming.lei@canonical.com>
      Signed-off-by: default avatarJames Morris <james.l.morris@oracle.com>
      8e516aa5
  2. 26 Feb, 2016 2 commits
  3. 22 Feb, 2016 1 commit
  4. 21 Feb, 2016 12 commits
  5. 20 Feb, 2016 5 commits
  6. 18 Feb, 2016 10 commits
  7. 16 Feb, 2016 1 commit
  8. 11 Feb, 2016 1 commit
    • Casey Schaufler's avatar
      Smack: Remove pointless hooks · 491a0b08
      Casey Schaufler authored
      Prior to the 4.2 kernel there no no harm in providing
      a security module hook that does nothing, as the default
      hook would get called if the module did not supply one.
      With the list based infrastructure an empty hook adds
      overhead. This patch removes the three Smack hooks that
      don't actually do anything.
      Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
      491a0b08
  9. 10 Feb, 2016 7 commits