commit | 96258a5339712139e632ed7de31dbe83a1e82708 | [log] [tgz] |
---|---|---|
author | Wez <wez@fuchsia.infra.roller.google.com> | Thu Feb 27 16:03:16 2025 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Feb 27 16:04:35 2025 -0800 |
tree | 36afe33e777cbf52a42688248d1d5e75b484d96f | |
parent | b20cb1f2c112cebd6d9f564a499d8d975976235d [diff] |
[roll] Roll fuchsia [sestarnix] Introduce a socket-or-file meta-class for permissions To allow FsNodes to be labeled with socket-like security classes, with existing permission checks that currently presume a file-like security class, introduce an internal meta-class, FsNodeClass. FsNodeClass permissions may be instantiated similarly to the common file-like permissions, using for_class(class). Call-sites which only make sense for FsNodes that are file-like (e.g. the may_link() access-check helper) now need to check for FsNodeClass::File, and error-return or panic. The generic "socket" class and common "socket" permissions enum are also defined, as placeholders for additional socket classes and permissions to be added in later changes. Original-Bug: 364568517 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1216206 Original-Revision: 3128197b907c8a4c30829f9eeb9f946f46aa4c7a GitOrigin-RevId: f1b46169f24de9cd927fff69f6cac9bcc140e8b3 Change-Id: Ieb57a5917f5fc234eb7f46fe193d87ef91fe546b
This repository contains Fuchsia's Global Integration manifest files.
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 in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.