[roll] Roll fuchsia [sestarnix] Revise handling of set/get/removexattr access checks

Access-checks for user, security, system and trusted attributes
are revised to align with the xattr(7) man page descriptions.

Discretionary capability and access checks are now made before any
LSM checks.

LSM checks are applied via check_fs_node_set/get_xattr_access with
the fs_node_set/getsecurity hooks responsible only for handling
actual updates or requests for the "security.selinux" attribute.
All other "security.*" attributes accesses are delegated to the
FsNode implementation to service via FsNodeOps::set/get_xattr().

Original-Bug: 450104899, 460215348
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1419934
Original-Revision: 04c97345ac22e6fc8b10f9f051a52cb3e3a332e3
GitOrigin-RevId: 1cd394af438f723393b73f6c73a06f8b1393d93e
Change-Id: Ifb92f170e6f7365cd8dc9321d83aceadeb7d4654
1 file changed
tree: 4c6423a542ddd0721cae28a13b263b7b51e1fa19
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
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 in one of the communication channels documented at get involved.

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.