lkml.org 
[lkml]   [2012]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] vfs: fix IMA lockdep circular locking dependency
    From
    Date
    On Wed, 2012-05-16 at 21:38 +1000, James Morris wrote:
    > On Wed, 16 May 2012, James Morris wrote:
    >
    > > On Tue, 15 May 2012, Linus Torvalds wrote:
    > >
    > > > Hmm?
    > >
    > > diff --git a/security/capability.c b/security/capability.c
    > > index 5bb21b1c448c..9a19c6a54e12 100644
    > > --- a/security/capability.c
    > > +++ b/security/capability.c
    > > @@ -949,7 +949,6 @@ void __init security_fixup_ops(struct
    > > security_operations *ops)
    > > set_to_cap_if_null(ops, file_alloc_security);
    > > set_to_cap_if_null(ops, file_free_security);
    > > set_to_cap_if_null(ops, file_ioctl);
    > > - set_to_cap_if_null(ops, file_mmap);
    > > set_to_cap_if_null(ops, file_mprotect);
    > > set_to_cap_if_null(ops, file_lock);
    > > set_to_cap_if_null(ops, file_fcntl);
    > >
    > >
    > > Do we need to add addr_map to the fixup ops?
    >
    > mmap_addr I mean.

    I would think so.




    \
     
     \ /
      Last update: 2012-05-16 16:01    [W:0.034 / U:1.796 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site