ladybird/Libraries/LibC
Andreas Kling 6081c76515 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.
2020-01-21 13:27:08 +01:00
..
arpa Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
bits Kernel+AK: Add/fix uintptr_t and intptr_t definitions 2020-01-20 13:13:03 +01:00
net Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
netinet Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
sys Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
alloca.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
assert.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
assert.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
crt0.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
crti.S Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
crtn.S Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ctype.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ctype.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
cxxabi.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
dirent.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
dirent.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
dlfcn.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
dlfcn.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
endian.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
errno.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
errno_numbers.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
fcntl.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
fcntl.h Kernel: Make O_RDONLY non-zero 2020-01-21 13:27:08 +01:00
fd_set.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
float.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
getopt.cpp LibC: Ensure getopt error messages end with a newline 2019-09-17 21:56:42 +02:00
getopt.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
grp.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
grp.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
iconv.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
inttypes.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ioctl.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
libcinit.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
libgen.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
libgen.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
limits.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
locale.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
locale.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Makefile LibC: Move even more methods and globals out of crt0.o 2020-01-13 13:03:30 +01:00
malloc.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
mallocdefs.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
memory.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
mman.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
mman.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
mntent.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
mntent.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
netdb.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
netdb.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
poll.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
poll.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
pwd.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
pwd.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
qsort.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
scanf.cpp LibC: Some build fixes for strange platforms 2019-09-29 21:02:13 +02:00
sched.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
sched.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
serenity.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
serenity.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
setjmp.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
setjmp.S Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
signal.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
signal.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
signal_numbers.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stat.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stdarg.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stdbool.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stddef.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stdint.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stdio.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stdio.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
stdlib.cpp LibC: Use the templated type consistently in strtol_impl<T> 2020-01-18 11:41:04 +01:00
stdlib.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
string.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
string.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
strings.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
strings.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
syslog.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
syslog.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
termcap.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
termcap.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
termios.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
termios.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
time.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
time.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
times.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ulimit.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ulimit.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
unistd.cpp Kernel: Add a basic implementation of unveil() 2020-01-20 22:12:04 +01:00
unistd.h Kernel: Add a basic implementation of unveil() 2020-01-20 22:12:04 +01:00
utime.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
utime.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
utmp.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
utsname.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
wchar.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
wchar.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00