diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-08-19 18:03:15 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-19 18:05:54 -0700 |
commit | 6335704625819914768800c16e82623a65fa6755 (patch) | |
tree | d68a1d75fd2f281b932212770bde241635a2102c /runsc/boot/controller.go | |
parent | 25babd63519151eb6e70d847d8fd0172c1d7090f (diff) |
Remove path walk from localFile.Mknod
Replace mknod call with mknodat equivalent to protect
against symlink attacks. Also added Mknod tests.
Remove goferfs reliance on gofer to check for file
existence before creating a synthetic entry.
Updates #2923
PiperOrigin-RevId: 327544516
Diffstat (limited to 'runsc/boot/controller.go')
0 files changed, 0 insertions, 0 deletions