feat: real stat metadata across all filesystems, plus mkdir and rmdir
This commit is contained in:
@@ -23,8 +23,9 @@ extern "C" {
|
||||
#define S_ISSOCK(mode) (0)
|
||||
#define S_ISBLK(mode) (0)
|
||||
|
||||
/* Permission bits are accepted and preserved by the API for POSIX
|
||||
compatibility, but the Montauk VFS does not store them. */
|
||||
/* stat() reports real permission bits: ext2 stores them natively, the
|
||||
ramdisk takes them from the USTAR header, and FAT32 synthesizes them from
|
||||
its read-only attribute. Changing them (chmod) is still not supported. */
|
||||
#define S_IRWXU 0700
|
||||
#define S_IRUSR 0400
|
||||
#define S_IWUSR 0200
|
||||
|
||||
Reference in New Issue
Block a user