• Tom Sepez's avatar
    Proxy mkdir, rmdir, and unlink subject to permissions. · 318fca2d
    Tom Sepez authored
    Network service requires this in some situtations.
    
    Additionally, alphabetize methods and consolidate some logic
    into helper methods along the way. As part of the consolidation,
    need to mask open() flags before checking "if allowed" and test
    for "EFAULT" earlier in some situations.
    
    Require "Create" permission for rename() for consistency.
    Use initializer-list for vectors where possible.
    Clean up hooks and tests to use bitset creation helper function.
    
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
    Change-Id: Ide22e759692baf4350b643400619885f1676db15
    Reviewed-on: https://chromium-review.googlesource.com/812452
    Commit-Queue: Tom Sepez <tsepez@chromium.org>
    Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#523255}
    318fca2d
broker_process.cc 9.81 KB