Re: PROBLEM: A Capability LSM Module serious bug

From: Liang Bin (liangbin01@private)
Date: Mon Dec 08 2003 - 17:41:04 PST

  • Next message: Liang Bin: "Re: PROBLEM: A Capability LSM Module serious bug"

    you are right! it can be remove:)
    
    Serge E. Hallyn writes:
    
    > In the following:
    > 
    > +       task->keep_capabilities = 0;
    > +
    > +       if ((task->uid && task->euid && task->suid) && !task->keep_capabilities)
    > +               cap_clear (task->cap_permitted);
    > +       else
    > +               task->cap_permitted = CAP_INIT_EFF_SET;
    > 
    > The check for (!task_keep_capabilities) can be safely removed, right?
    > 
    > -serge
    
    
    



    This archive was generated by hypermail 2b30 : Mon Dec 08 2003 - 17:42:04 PST