29 Commits

Author SHA1 Message Date
SEProblem
3d5f42c106 Implement sys_faccessat (call: 307) 2018-10-29 15:17:52 -07:00
Theodore Dubois
b06be929d2 Pass through O_TRUNC and O_APPEND 2018-10-08 12:27:55 -07:00
Theodore Dubois
e170446cc4 Store the adhoc stat info in the fd 2018-10-08 11:43:54 -07:00
Theodore Dubois
b1e34968e8 Implement readlinkat 2018-09-26 09:24:15 -07:00
Theodore Dubois
b1ff0a31fc Implement futimens 2018-08-12 20:35:00 -07:00
Theodore Dubois
da011d9752 Reimplement truncate, correctly this time 2018-02-04 20:23:01 -08:00
Theodore Dubois
eddf023669 Move pwd, root, uname out into its own struct 2018-01-21 17:24:32 -08:00
Theodore Dubois
728ca235c0 Replace files array with fdtable structure 2018-01-15 19:18:38 -08:00
Theodore Dubois
cb1329d9c9 Implement rmdir 2018-01-14 15:09:48 -08:00
Theodore Dubois
319d2b1259 Reimplement access to not call a filesystem-specific function 2018-01-10 14:48:08 -08:00
Theodore Dubois
1ed7a5da79 Implement hardlinks 2018-01-09 14:13:44 -08:00
Theodore Dubois
37de7b9f71 Redesign the fakefs database to support hardlinks 2018-01-07 17:36:15 -08:00
Theodore Dubois
f60c9276f9 Use thread-safe reference counting on fds 2017-12-26 19:45:05 -08:00
Theodore Dubois
5d2fdd3e18 Reduce magic in locking macros 2017-12-19 22:48:43 -08:00
Theodore Dubois
d6b01955ae Fix races and deadlocks in polling a tty 2017-12-19 18:40:17 -08:00
Theodore Dubois
e25302ed98 Redesign VFS mmap 2017-12-06 15:14:17 -08:00
Theodore Dubois
275dec070b Save the filesystem database on exit, translate open flags 2017-12-01 15:19:51 -08:00
Theodore Dubois
bcfc41aa82 Implement mkdir 2017-11-28 18:25:25 -08:00
Theodore Dubois
9a5202ebec Replace fchown, chown, fchmod, chmod with setattr 2017-11-27 17:15:58 -08:00
Theodore Dubois
b16f41bd4f Implement fchownat 2017-11-20 15:43:49 -08:00
Theodore Dubois
bd70020673 Implement symlink system call 2017-11-19 20:41:05 -08:00
Theodore Dubois
44967f21b7 Implement rename 2017-11-18 20:43:09 -08:00
Theodore Dubois
1fd70ada09 Use const char * for all the path pointers in the VFS 2017-11-17 23:02:41 -08:00
Theodore Dubois
37aef44173 Stop mutating the path in real fs functions 2017-11-15 17:44:11 -08:00
Theodore Dubois
cd370cd0cb Get alpine filesystem into iOS app 2017-10-30 17:16:56 -07:00
Theodore Dubois
63a9ff018e Replace extended attributes with an NDBM-API-compatible database 2017-10-28 18:52:26 -07:00
Theodore Dubois
3fa4a8da03 Declare mounts as extern in header file 2017-10-18 15:58:46 -07:00
Theodore Dubois
60bf7e5a32 Silence some "not a prototype" warnings 2017-10-18 14:37:38 -07:00
Theodore Dubois
f1e63c43e0 Rename sys directory to kernel
A number of the headers in it were conflicting with macOS system
headers.
2017-10-13 16:54:11 -07:00