~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to security/apparmor/domain.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                cred = get_task_cred(tracer);
74
74
                tracerp = aa_cred_profile(cred);
75
75
        }
76
 
        rcu_read_unlock();
77
76
 
78
77
        /* not ptraced */
79
78
        if (!tracer || unconfined(tracerp))
82
81
        error = aa_may_ptrace(tracer, tracerp, to_profile, PTRACE_MODE_ATTACH);
83
82
 
84
83
out:
 
84
        rcu_read_unlock();
85
85
        if (cred)
86
86
                put_cred(cred);
87
87