[roll] Roll fuchsia [starnix] use PTRACE_MODE_ATTACH_FSCREDS for /proc/<pid>/mem

Linux uses PTRACE_MODE_ATTACH_FSCREDS when opening /proc/<pid>/mem,
checking the caller's filesystem credentials. Starnix was incorrectly
using PTRACE_MODE_ATTACH_REALCREDS (checking real credentials).

This change aligns Starnix with Linux behavior.

Also updated procfs_mem_test.cc to add a symmetric test case where
uid=1000 and fsuid=0 accessing a root process. This test passes on Linux
host.

Original-Original-Fixed: 512201569
Test: fx test procfs_mem_test
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1621498
Original-Original-Revision: b16824fad379b2aecf66f016668cbe0cde2326d3
GitOrigin-RevId: 69279ccc4797b03571ce4ee64d5c5ee67fd2e118
Change-Id: Iea7f9462110c90d69a22d27ad3f548fd9e05501f
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1639234
Cr-Commit-Position: refs/heads/main@{#194080}
1 file changed
tree: 7f2c1563f97938ae2a2c74bc4d9b4ecf59fe8f41
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. 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.