[roll] Roll fuchsia [starnix][vfs] Prevent opening symlinks

You can open a symlink with O_PATH and O_NOFOLLOW, which creates an
entry in /proc/self/fd. If you try to open that entry, you encounter a
magic symlink, which resolves to the original symlink.

Previously, this codepath would let you open the original symlink,
resulting in a kernel panic. Now, we detect this case and return ELOOP,
matching Linux.

Test: ProcTaskDirTest.FdOpath, ProcTaskDirTest.FdOpathSymlink
Original-Fixed: b/349451694
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1082737
Original-Revision: bae9d353768a282d47f42e62f8b4fd29e48d8b34
GitOrigin-RevId: b97d24c192097ae244ad0a8a18bab59143d2dfb3
Change-Id: I2e9878e928300cbb00d03afcce17ff929a0a3af0
1 file changed
tree: d1abaa5f84ba2ee57143f847324ec24879f507c1
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
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 via the IRC channel #fuchsia on Freenode.

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.