Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-05 | syscallcompat: OpenNofollow: use O_DIRECTORY flag | Jakob Unterwurzacher | |
...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. | |||
2017-12-05 | syscallcompat: OpenNofollow: fix relPath="" case | Jakob Unterwurzacher | |
Sometimes want to open baseDir itself. This case was broken, fix it. | |||
2017-12-02 | syscallcompat: add OpenNofollow helper | Jakob Unterwurzacher | |
OpenNofollow = symlink-race-safe Open Prepares fixing https://github.com/rfjakob/gocryptfs/issues/165 |