summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/memdev
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-08-19 18:03:15 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-19 18:05:54 -0700
commit6335704625819914768800c16e82623a65fa6755 (patch)
treed68a1d75fd2f281b932212770bde241635a2102c /pkg/sentry/devices/memdev
parent25babd63519151eb6e70d847d8fd0172c1d7090f (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 'pkg/sentry/devices/memdev')
0 files changed, 0 insertions, 0 deletions