diff options
author | Jakob Unterwurzacher | 2017-12-05 23:31:07 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-12-05 23:31:07 +0100 |
commit | 03bf604fc08abc9bb2d75bde21c96c9df4894a3b (patch) | |
tree | 3f96a2032ca78fd27f677d8833a6ad03d7598684 /mount.go | |
parent | 926cb93b50d6a573dbbef59ff841960b9d824c37 (diff) |
syscallcompat: OpenNofollow: use O_DIRECTORY flag
...when opening intermedia directories to give us an
extra layer of safety.
From the FreeBSD man page:
This flag can be used to prevent applications with elevated
privileges from opening files which are even unsafe to open with O_RDONLY,
such as device nodes.
Diffstat (limited to 'mount.go')
0 files changed, 0 insertions, 0 deletions