25 Commits

Author SHA1 Message Date
Theodore Dubois
e7ba8f306f Add real implementation of statx
Fixes #2418
2024-10-20 18:24:12 -07:00
Theodore Dubois
99916762dd Replace the APK HTTP server with a filesystem
This avoids the local network permission prompt.
2020-11-27 16:01:52 -08:00
Theodore Dubois
dbc77285b8 Remove follow_links argument of fd_ops.stat
Only realfs was using it, and it wasn't really necessary there since
path_normalize already followed the last symlink if needed.
2019-12-29 14:18:26 -08:00
Theodore Dubois
635a8437f8 Add a bunch of half-assed permission checks 2019-07-28 21:04:38 -07:00
Theodore Dubois
088e7b727d Implement ptys
Also a bunch of somewhat related changes, I was too lazy to break this into more than one commit
2019-01-21 12:20:43 -08:00
Theodore Dubois
f8028736b4 Make mounting filesystems possible 2018-12-22 19:38:41 -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
8b47bee6a9 Add calls to get and set resource limits 2018-01-10 14:47:38 -08:00
Theodore Dubois
b16f41bd4f Implement fchownat 2017-11-20 15:43:49 -08: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
Theodore Dubois
ce87c4c12b Add ad-hoc filesystem 2017-10-11 10:19:01 -07:00
Theodore Dubois
8e43c06f85 Add strace to some calls 2017-09-21 12:26:40 -07:00
Theodore Dubois
5ce9d14c8d Implement fstatat64 2017-09-17 10:16:00 -07:00
Theodore Dubois
03895b21f1 Finish renaming pathname to path 2017-09-14 15:48:39 -07:00
Theodore Dubois
e8488b1b32 Implement openat 2017-09-14 15:31:59 -07:00
Theodore Dubois
2bca06f83c Rollback to filesystem with paths 2017-09-13 12:56:52 -07:00
Theodore Dubois
9221e562d6 Add openat, fstatfs, and strace 2017-09-07 18:16:38 -07:00
Theodore Dubois
274b7531af Refactor filesystem to not use paths 2017-09-06 15:39:04 -07:00
Theodore Dubois
9590764920 Implement basic TTY support
cat works, sh doesn't work. one step forward, two steps back.
2017-08-18 16:55:20 -07:00
Theodore Dubois
881904231c Fix a large number of bugs 2017-08-02 20:18:45 -07:00
Theodore Dubois
d4c211be72 Implement EFAULT 2017-08-01 19:28:20 -07:00
Theodore Dubois
947597002f Implement resolving symlinks in path_normalize 2017-07-27 15:02:08 -07:00
Theodore Dubois
3e590e92d2 Support putting the root filesystem in a directory
Also added repz cmpsb, support for executing dynamic libraries,
set_tid_address stub, and found an alternative to setup.c.
2017-07-23 18:15:59 -07:00
Theodore Dubois
bfa3e60e92 Refactor filesystem to make paths more sane 2017-07-17 17:57:23 -07:00