1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/ext
Jonas 'Sortie' Termansen 29555d72bb Fix <fcntl.h> including <sys/stat.h> namespace pollution.
POSIX allows <fcntl.h> to include <sys/stat.h>, but doesn't require it.
There's little reason to do that, since they are separate headers, and
<fcntl.h> just needs the mode_t constants. Fix the code accidentally
relying on <fcntl.h> including <sys/stat.h>. The mode_t constants are now
provided in their own kernel header <sortix/mode.h>.

Additionally fix <sys/stat.h> pulling in all of <sys/types.h>, which is not
allowed by POSIX, which only requires a few types to be declared. Fix the
code accidentally relying on <sys/stat.h> including <sys/types.h>.

Finally fix <dirent.h> pulling in <stdint.h> through <sortix/dirent.h>.

The <sortix/__/dt.h> and <sortix/__/stat.h> headers are no longer required
and their contents have been merged into <sortix/__/dirent.h>.
2018-08-06 23:59:34 +02:00
..
.gitignore Add ext2 filesystem implementation. 2013-12-17 14:30:46 +01:00
block.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
block.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
blockgroup.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
blockgroup.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
device.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
device.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ext-constants.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ext-structs.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
extfs.cpp Fix st_blksize and st_blocks kernel values. 2018-03-31 00:55:33 +02:00
extfs.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
filesystem.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
filesystem.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fsmarshall.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fsmarshall.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fuse.cpp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fuse.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
inode.cpp Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
inode.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ioleast.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
Makefile Rewrite init(8). 2016-02-06 17:29:42 +01:00
util.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00