diff options
author | 2019-08-02 12:29:04 -0500 | |
---|---|---|
committer | 2019-08-02 12:29:04 -0500 | |
commit | 060058bb29f70b244e685b3c704eb0641b736f73 (patch) | |
tree | 76f5761ad3729960e6d89b493fd39eb8c7e6649a /ChangeLog.txt | |
parent | 097ca3e245200c4a4333964af59a106c42ff3bca (diff) | |
download | pseudo-060058bb29f70b244e685b3c704eb0641b736f73.tar.gz pseudo-060058bb29f70b244e685b3c704eb0641b736f73.tar.bz2 pseudo-060058bb29f70b244e685b3c704eb0641b736f73.zip |
use *correct* flags for open/openat, also apply them for related statHEADross/mastermaster
When statting a file that we may or may not be opening with O_NOFOLLOW,
we should use lstat (or AT_SYMLINK_NOFOLLOW) to try to get information
about the right file.
Also when we want to check whether a bit is set, we should use & rather
than |. I am an experienced programmer and know the difference between
those.
Diffstat (limited to 'ChangeLog.txt')
-rw-r--r-- | ChangeLog.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 329b262..f681596 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2019-08-02: + * (seebs) Pass flags & O_NOFOLLOW, also use that to influence + stat types. Note. &. Not |. + 2019-08-01: * (seebs) Pass flags|O_NOFOLLOW on when resolving paths with openat. |