commit | f5bfa9dcbac4e851e0830643c885ec0dd07faff6 | [log] [tgz] |
---|---|---|
author | Wez <wez@google.com> | Fri Feb 14 08:05:10 2025 -0800 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 14 08:05:10 2025 -0800 |
tree | f955a8063e2ad618a5931f357f52f9763184134e | |
parent | 53801a35085804c5be74c801b1c25294651c369e [diff] |
[sestarnix] Write xattrs to O_TMPFILEs under fs_use_xattr Technically under fs_use_xattr even temporary files (those created without any entry in the parent directory) should have the security label persisted to their xattrs. In practice this should not be visible, since by definition such a file won't be evicted from the Starnix directory entry cache until all FDs are closed, at which point it is deleted, so there's no need to read the label back from the xattr. Bug: 379095802 Change-Id: Id0b08780ce935fb57da530d36dc52d5008d32717 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1205386 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Ambre Williams <ambre@google.com> Fuchsia-Auto-Submit: Wez <wez@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.