• Bill Budge's avatar
    [Memory] Add base::OS::SetPermissions method. · 0df1471a
    Bill Budge authored
    - Adds SetPermissions method which returns bool result.
    - Eliminates Guard, SetReadAndWritable, SetReadAndExecutable, and
      SetReadWriteAndExecutable methods.
    - Adds some Fuchsia memory allocation implementation.
    - Some minor fixes in usage of OS::AllocatePageSize and
      OS::CommitPageSize.
    - Adds DCHECKs for sanitizing parameters to OS::Allocate/Free.
    
    Bug: chromium:756050
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: I966ec6f029dd0371d70eca20bae197d87956f8b5
    Reviewed-on: https://chromium-review.googlesource.com/760657
    Commit-Queue: Bill Budge <bbudge@chromium.org>
    Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49430}
    0df1471a
allocation.cc 6.05 KB