09 Sep, 2009

8 commits

  • Don't implement per-filesystem 'extX_permission()' functions that have
    to be called for every path component operation, and instead just expose
    the actual ACL checking so that the VFS layer can now do it for us.

    Reviewed-by: James Morris
    Acked-by: Serge Hallyn
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • shmfs wants purely standard POSIX ACL semantics, so we can use the new
    generic VFS layer POSIX ACL checking rather than cooking our own
    'permission()' function.

    Reviewed-by: James Morris
    Acked-by: Serge Hallyn
    Acked-by: Hugh Dickins
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • This is stage one in flattening out the callchains for the common
    permission testing. Rather than have most filesystem implement their
    own inode->i_op->permission function that just calls back down to the
    VFS layers 'generic_permission()' with the per-filesystem ACL checking
    function, the filesystem can just expose its 'check_acl' function
    directly, and let the VFS layer do everything for it.

    This is all just preparatory - no filesystem actually enables this yet.

    Reviewed-by: James Morris
    Acked-by: Serge Hallyn
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Don't call down to the generic inode_permission() function just to
    call the inode-specific permission function - just do it directly.

    The generic inode_permission() code does things like checking MAY_WRITE
    and devcgroup_inode_permission(), neither of which are relevant for the
    light pathname walk permission checks (we always do just MAY_EXEC, and
    the inode is never a special device).

    Reviewed-by: James Morris
    Acked-by: Serge Hallyn
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • This function is only called for path components that are already known
    to be directories (they have a '->lookup' method). So don't bother
    doing that whole S_ISDIR() testing, the whole point of the 'lite()'
    version is that we know that we are looking at a directory component,
    and that we're only checking name lookup permission.

    Reviewed-by: James Morris
    Acked-by: Serge Hallyn
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Instead of returning EAGAIN and having the caller do something
    special for that case, just do the special case directly.

    Reviewed-by: James Morris
    Acked-by: Serge Hallyn
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Not only is that a supremely timing-critical path, but it's hopefully
    some day going to be lockless for the common case, and ima can't do
    that.

    Plus the integrity code doesn't even care about non-regular files, so it
    was always a total waste of time and effort.

    Acked-by: Serge Hallyn
    Acked-by: Mimi Zohar
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • eDP is exclusive connector too, and add missing crtc_mask
    setting for TV.

    This fixes

    http://bugzilla.kernel.org/show_bug.cgi?id=14139

    Signed-off-by: Zhenyu Wang
    Reported-and-tested-by: Carlos R. Mafra
    Signed-off-by: Linus Torvalds

    Zhenyu Wang
     

08 Sep, 2009

5 commits


07 Sep, 2009

2 commits

  • This adds some rv350+ register for LTE/GTE discard,
    and enables the rv515 two sided stencil register.
    It also disables the DEPTHXY_OFFSET register which
    can be used to workaround the CS checker.
    Moves rs690 to proper place in rs600 and uses correct
    table on rs600.

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • - As ima_counts_put() may be called after the inode has been freed,
    verify that the inode is not NULL, before dereferencing it.

    - Maintain the IMA file counters in may_open() properly, decrementing
    any counter increments on subsequent errors.

    Reported-by: Ciprian Docan
    Reported-by: J.R. Okajima
    Signed-off-by: Mimi Zohar
    Acked-by: Eric Paris

    Mimi Zohar
     

06 Sep, 2009

25 commits