[roll] Roll fuchsia [starnix] Reset FSUID and FSGID unconditionally on exec

When executing a new program Linux resets the filesystem UID and
GID to match the task's effective UID and GID, so that the process
starts in the expected state (see credentials(7)).

Starnix is fixed to always reset these values, rather than doing
so only when executing programs with SUID/SGID set.

A new exec_test.cc is added, and a test-helper renamed and updated
to allow this and the existing suid_test.cc suite to share it.

Original-Original-Bug: 512533943
Test: fx test starnix_syscalls_cpp_tests
Test: fx test linux_syscalls_cpp_tests
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1643897
Original-Original-Revision: 71d43c310b9249097b5c44d9a15e9ac56c3f1f11
GitOrigin-RevId: 089286a6a50ed75cfbd08ccc6b04bd3f46fa277d
Change-Id: Ic52238a934a24e68ac626399e956f4994f5226a2
1 file changed
tree: 85aa02722cdb0900e7d304ebb64cc9af7cf09927
  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.