Commit Graph

778 Commits

Author SHA1 Message Date
7d20c507b1 Kernel, libc, userspace: Implement command-line arguments (argv)
The only thing missing now is for sh to pass them on.
2022-10-26 18:57:06 +02:00
0bad662c2f sh: If fork() fails, show an error containing fork 2022-10-26 17:13:47 +02:00
9b1e50ae27 libc: Add EACCES 2022-10-25 20:29:56 +02:00
57658f2d3e libc: Add EOPNOTSUPP 2022-10-25 20:28:12 +02:00
13fce2c4b3 libc: Update headers with more comments 2022-10-25 19:27:24 +02:00
af452e2b2a Kernel, libc: Add dup2() 2022-10-25 18:58:06 +02:00
af46b8d9ac Kernel: Cleanup file descriptor validation 2022-10-25 18:35:17 +02:00
ec2c314234 Kernel: Add /dev/null 2022-10-25 17:59:55 +02:00
8cfede341f Tools: Fix run.sh and update rebuild-and-run.sh to use fast-run.sh 2022-10-24 21:18:28 +02:00
ada7f1e701 Update README.md 2022-10-24 21:15:22 +02:00
7c460855cc Update README.md with information about hourly builds 2022-10-24 21:12:22 +02:00
35da7e0223 Fix up install-built-ports.sh if ports.list is not present 2022-10-24 20:52:52 +02:00
d458c5c848 Fix kernel/Makefile 2022-10-24 20:52:11 +02:00
1716a81e82 no need to unset filter-lines 2022-10-24 20:48:57 +02:00
b17ff6319a libc: compilation fix for libc's printf 2022-10-24 20:47:00 +02:00
040fbde462 Unset LD and AR so gcc doesn't get confused 2022-10-24 18:33:29 +00:00
bd56c7f496 Unset LD and AR so binutils doesn't get confused during the build process 2022-10-24 18:32:57 +00:00
33f6765a5c libc: Make the userspace printf much better 2022-10-24 17:21:40 +02:00
315d2f9f24 libc: actually return buf in getcwd() 2022-10-24 17:08:40 +02:00
0dec5f7bad libc: Add dummy getcwd() 2022-10-24 17:05:28 +02:00
e7d41fa6dc ports: Add a little script to list installed ports 2022-10-23 20:11:30 +02:00
3db342e897 tools: only unset filter-lines if it is not set 2022-10-23 20:07:26 +02:00
2d807e3ca5 tools: Add prefix messages that tell us where we're at in a build, inspired by SerenityOS :) 2022-10-23 20:03:29 +02:00
fb0fc29087 Adjust install-built-ports.sh 2022-10-23 19:27:34 +02:00
c7598b08e0 BUILD FASTER 2022-10-23 19:27:19 +02:00
b615166373 libc: Stub out tmpfile() as well as add an empty math.h 2022-10-23 18:58:48 +02:00
58b01b74e2 Kernel, libc: Add stat() 2022-10-23 18:35:32 +02:00
0c04246300 Next version! 2022-10-23 17:24:18 +02:00
185757e2a7 600th commit!
1. Update the bc patch to remove an unnecessary line.
2. Update README.md to mention the port system.
3. Improve the port system!!
2022-10-23 17:15:38 +02:00
1a82bbb234 ports: Add a port system
The only port right now is bc, which works... kind of.
It compiles, and runs, but is really janky. At least it runs!!
2022-10-23 16:44:50 +02:00
865018e7f8 libc: Implement dirfd, rewinddir, telldir and seekdir 2022-10-23 14:59:06 +02:00
e457b88b04 Kernel, libc: Implement O_DIRECTORY and use that in dirent.h 2022-10-23 14:46:27 +02:00
8bf2904d74 libc: Implement a basic subset of dirent.h 2022-10-23 14:41:45 +02:00
32db366781 apps: Add a little ls utility that lists the files in /bin 2022-10-23 14:06:11 +02:00
14367f07b5 Kernel: Add support for getdents() to DeviceFS 2022-10-23 14:05:55 +02:00
78d72c2f0c Kernel, libc: Add a getdents() system call
This is meant to be a low-level interface to implement dirent.h on top of.
2022-10-23 14:03:46 +02:00
19ee21ae5a libc: Make string_to_integer_type static 2022-10-23 12:28:25 +02:00
35616993f8 libc: Add div(), ldiv(), and lldiv() 2022-10-23 12:26:48 +02:00
51bd7de17b libc: Patch mman.h so libgcov builds 2022-10-23 12:10:05 +02:00
43180b777e libc: Stub out qsort() 2022-10-23 11:19:08 +02:00
9dc8bfbdce libc: Define a dummy FILENAME_MAX 2022-10-23 11:17:22 +02:00
bd8825231a libc: Stub out sscanf() 2022-10-23 11:16:36 +02:00
d82238b485 libc: Add return value to ungetc() 2022-10-23 11:14:18 +02:00
d75de5f423 libc: Partially implement ungetc 2022-10-23 11:12:54 +02:00
51580bb846 libc: Add abs(), labs() and llabs()
Just needed to alias them to GCC builtins.
2022-10-23 11:10:26 +02:00
c02f2e128d libc: Stub out ungetc() 2022-10-23 10:34:49 +02:00
f0eeaa25a3 libc: More inttypes.h 2022-10-23 10:31:56 +02:00
0c33fcdff2 libc: Stub out setvbuf, and add S_ISREG 2022-10-23 10:09:20 +02:00
fa35e883d7 libc: Stub out strftime 2022-10-23 10:01:03 +02:00
8f17578e2e Update README.md 2022-10-22 21:43:55 +02:00