lkml.org 
[lkml]   [2009]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH 3/3a] ptrace: add _ptrace_may_access()
    * Ingo Molnar (mingo@elte.hu) wrote:
    > * Oleg Nesterov <oleg@redhat.com> wrote:
    > > Agreed, but what about security_operations->ptrace_may_access ?
    > > It has the same (bad) name, but returns the error code or 0 on
    > > success.
    >
    > Bad code should generally be fixed, or in exceptional circumstances
    > it can tolerated if it's pre-existing bad code, but it should never
    > be propagated. It has not spread _that_ widely yet, and is isolated
    > to the security subsystem:

    And the security hooks tend to all follow the 0 success -ve ERR on error.


    \
     
     \ /
      Last update: 2009-05-07 11:01    [W:0.021 / U:63.508 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site