[go: nahoru, domu]

Additional features for Sid class.

This CL adds some additional features to the Sid class including getting
a Sid from a list of sub-authorities and getting the ALL RESTRICTED
PACKAGES sid. It also makes the PSID constructor explicit because it was
possible to accidentally create a SID from an opaque pointer.

Bug: 760977
Cq-Include-Trybots: master.tryserver.chromium.win:win10_chromium_x64_rel_ng
Change-Id: I48d4f9924b5cc11162e21b1369a132e41d283398
Reviewed-on: https://chromium-review.googlesource.com/712157
Commit-Queue: James Forshaw <forshaw@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508337}
5 files changed