commit | 6be3a77f17bafebf00ed1e33a85a3f481d72240d | [log] [tgz] |
---|---|---|
author | Wez <wez@google.com> | Tue Feb 11 12:57:19 2025 -0800 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 11 12:57:19 2025 -0800 |
tree | df723bbf9107dcb6e763eaf20a149201a48da2e9 | |
parent | d572c53c521e7ec7a624044b697fc9c015dc3ec2 [diff] |
[sestarnix] Add a `name` argument to `fs_node_init_on_create()` SELinux `type_transition` rules include a form that is conditional on the name of the new file node (i.e. the final element of its initial path). This mechanism is mostly used to label `anon_inode` instances, but is also supported for new file nodes. Add a `name` argument to the init-on-create and can-create new file hooks. Bug: 385075470 Change-Id: Ib813da80e38add7b16f0fdc21133afba5d8717be Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1177812 Commit-Queue: Wez <wez@google.com> Reviewed-by: Ambre Williams <ambre@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.