Menu

#387 TIP #220 (Escalate Privileges in VFS Close Callback)

open
5
2004-10-29
2004-10-29
No

This entry will hold the reference implementation for
TIP #220.

Discussion

  • Andreas Kupries

    Andreas Kupries - 2004-11-01

    Logged In: YES
    user_id=75003

    Ref.impl. V1. Simple escalation. Allows the VFS to shoot
    itself in the foot by opening a channel R only, getting it W
    in close, and trying to write, failing, maybe crashing.
    Tomorrow we will extend that to keep max and effective perms
    around.

     
  • Andreas Kupries

    Andreas Kupries - 2004-11-01

    TIP Ref. Impl. v1

     
  • Andreas Kupries

    Andreas Kupries - 2004-11-02

    TIP Ref. Impl. v2

     
  • Andreas Kupries

    Andreas Kupries - 2004-11-02

    Logged In: YES
    user_id=75003

    Ref.impl. v2. Store max perms as well, ensure that the
    channel will not get more privileges on restore than it had
    at creation time.