[roll] Roll fuchsia [starnix][selinux] Compute new sid for process

Implement `security_compute_sid` equivalent as documented in the
notebook and empirically determined. The components (user, role, type,
range) of the new security context default to the source components,
unless the policy contains transition or default statements specifying
otherwise.

Also remove role allow validation from SID calculation, it has been
empirically determined that this step is performed after the context has
been calculated, and after the context has been validated against the
policy to determine whether it is a valid context according to user-role
and role-type associations. Role allow validations for processes are
treated as transition failures.

Original-Fixed: 322848117

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1027152
Original-Revision: d9d5758aa6600458a27ce9410607e90c657a2aeb
GitOrigin-RevId: 5b7696d67ecb8dc53086708a13dddf390291c1c5
Change-Id: I1120a102440ee3cd2b8460a230e7e8d952f8d635
1 file changed
tree: 7956d8ff9881cdecbb5f69161713f3d949800ff3
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.