diff options
author | Andreas Kling <kling@serenityos.org> | 2020-01-21 13:14:26 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-01-21 13:27:08 +0100 |
commit | 6081c7651582065c36d5316ae526140b2a4adc46 (patch) | |
tree | ccd294776b578004a339dac44ed2ac8310b87de3 /Makefile.subdir | |
parent | efbd1620d9b3b74243b11fc3d6d9cab6b9f93174 (diff) | |
download | serenity-6081c7651582065c36d5316ae526140b2a4adc46.zip |
Kernel: Make O_RDONLY non-zero
Sergey suggested that having a non-zero O_RDONLY would make some things
less confusing, and it seems like he's right about that.
We can now easily check read/write permissions separately instead of
dancing around with the bits.
This patch also fixes unveil() validation for O_RDWR which previously
forgot to check for "r" permission.
Diffstat (limited to 'Makefile.subdir')
0 files changed, 0 insertions, 0 deletions