-
073c90e948
InitRD: leak an unused pointer so kmalloc() doesn't map memory all the time
apio
2022-10-20 18:49:00 +0200
-
7d71bd192d
Tools: Add a fast-run.sh script which does not build, only run
apio
2022-10-20 18:48:25 +0200
-
de167c3c67
sh: Show last command' exit status in prompt if non-zero
apio
2022-10-20 08:21:18 +0200
-
cd9ecc1746
Kernel: Return EFAULT when the kernel believes the wstatus pointer is invalid
apio
2022-10-20 08:20:56 +0200
-
44bd93b8b4
apps: Add a hello app
apio
2022-10-19 21:13:47 +0200
-
f682258fc9
sym: do not sleep
apio
2022-10-19 21:13:38 +0200
-
2c813f5901
apps: Add more simple apps
apio
2022-10-19 21:11:38 +0200
-
47bdfecedb
Devices: Add /dev/uptime
apio
2022-10-19 21:11:12 +0200
-
1938a059a2
Kernel: Free the last spawned thread's PID on exit
apio
2022-10-19 20:51:54 +0200
-
aebd860947
libc: Add stdin
apio
2022-10-19 20:43:04 +0200
-
ba57f32f39
init: wait less before starting sh
apio
2022-10-19 20:36:27 +0200
-
a815beacfb
sh: add builtins
apio
2022-10-19 20:34:10 +0200
-
20db8eaba6
Init: exit if the primary child process exits
apio
2022-10-19 20:33:59 +0200
-
51665a04b7
Kernel: Restart if init exits
apio
2022-10-19 20:33:41 +0200
-
7e9744419e
sh: Improve it
apio
2022-10-19 20:16:21 +0200
-
3c5c92c7c3
sh: Add a simple interactive shell
apio
2022-10-19 19:42:05 +0200
-
7ec221c36d
libc: Move __luna_syscall* declarations to asm
apio
2022-10-19 17:50:09 +0200
-
5816f54293
libc: Move SYS_* constants to sys/syscall.h
apio
2022-10-19 17:49:55 +0200
-
b035795eb3
Kernel: Move errno.h and (k)assert.h out of the main include directory
apio
2022-10-19 17:41:23 +0200
-
aa90e4a8d9
libc: Implement freopen()
apio
2022-10-19 17:32:59 +0200
-
f3af3e252b
Kernel: refresh task_misbehave()
apio
2022-10-19 17:26:36 +0200
-
ef8ba3dec4
Kernel: Do not hang when a user task misbehaves
apio
2022-10-19 17:25:56 +0200
-
656667812a
Kernel: reparent child processes to PID 1 when their parent exits
apio
2022-10-19 17:16:01 +0200
-
a29f7f8df2
Kernel: waitpid: support -1 as PID (wait for any child)
apio
2022-10-19 17:15:30 +0200
-
48d4a5910a
Kernel: Add a few convenience functions to manipulate userland memory
apio
2022-10-19 17:13:16 +0200
-
755242719c
VMM: Add a few memsets
apio
2022-10-19 07:56:08 +0200
-
671f2a2de3
Kernel, libc: Implement waitpid()
apio
2022-10-18 21:30:52 +0200
-
bb00e3c112
Kernel: Guard against recursive panics
apio
2022-10-18 21:08:21 +0200
-
59506b8852
Kernel: Show current_task's name in the log
apio
2022-10-18 18:41:17 +0200
-
f1bfa6bec8
Build system: more cflags + stripping
apio
2022-10-18 18:28:28 +0200
-
01564cb905
libc: Adapt libc to getprocid() + add getppid()
apio
2022-10-18 17:36:33 +0200
-
52d391507d
Kernel: Rename the getpid() syscall to getprocid()
apio
2022-10-18 17:36:17 +0200
-
a9d3bdba6f
Kernel: Keep track of a task's PPID
apio
2022-10-18 17:18:37 +0200
-
bdf1bb15a1
StackTracer: only show kernel addresses for now, until there are more checks
apio
2022-10-18 17:14:09 +0200
-
48d68a3e31
Kernel: Switch back to kernel address space on kernel panic
apio
2022-10-18 17:13:43 +0200
-
92d8c9d4d5
Next version!
apio
2022-10-17 21:28:35 +0200
-
3c1146f2c5
libc: Implement setjmp() and longjmp()
old-0.12
apio
2022-10-17 21:22:18 +0200
-
511ad67a9a
fdopen: Check for malloc errors
apio
2022-10-17 20:54:32 +0200
-
e17a21dbad
libc: Use fdopen() after calling open() in fopen()
apio
2022-10-17 20:54:09 +0200
-
494b48bbe3
init: Adjust init
apio
2022-10-17 20:53:09 +0200
-
4f41b9ed37
Scheduler: Implement a find_by_pid function
apio
2022-10-17 20:40:38 +0200
-
8b17065718
Kernel, libc: Rename gettid() to getpid() and move it to unistd.h
apio
2022-10-17 20:08:44 +0200
-
87ef210759
Kernel, libc: Remove spawn()
apio
2022-10-17 19:55:01 +0200
-
55808d5cc4
Update README.md with new features
apio
2022-10-17 19:39:34 +0200
-
1e96a45f33
Change 'tid' to 'PID' in init.c
apio
2022-10-17 19:39:26 +0200
-
a2c05de604
mmap(), mprotect(), munmap(): Check more stuff
apio
2022-10-17 19:32:24 +0200
-
c2ecc4fe95
Update README.md
apio
2022-10-17 19:32:02 +0200
-
593daba651
Kernel: Remove unused headers in main.cpp
apio
2022-10-17 19:23:53 +0200
-
ea8a42b8c0
Kernel: Add a name field to the Task structure
apio
2022-10-17 19:12:47 +0200
-
e7522c21ca
libc: Document fork()
apio
2022-10-17 18:56:04 +0200
-
34fc6996b0
UserHeap: allocate needed memory in request_virtual_pages
apio
2022-10-17 18:52:11 +0200
-
92634048fc
UserHeap: some nice improvements
apio
2022-10-17 18:49:19 +0200
-
64f5078494
Kernel, libc: Implement fork()
apio
2022-10-17 18:43:35 +0200
-
966fdc76d7
Move userspace task to userspace memory
apio
2022-10-17 17:30:05 +0200
-
b334e1cd50
VMM: check if the entry is already present
apio
2022-10-17 17:26:16 +0200
-
682be58d97
AddressSpace: copy instead of linking
apio
2022-10-17 17:24:33 +0200
-
3bf4f854c7
init: return 0 at the end of main
apio
2022-10-17 17:19:31 +0200
-
8b70635e79
Do not strip apps
apio
2022-10-17 17:19:23 +0200
-
250db2c90f
Scheduler: add an append_task() function
apio
2022-10-17 17:14:22 +0200
-
c2fa4f380d
Kernel: Use the new Task member functions
apio
2022-10-17 17:07:25 +0200
-
ce10fb5743
fcntl(F_DUPFD): Allocate any file descriptor greater than or equal to arg
apio
2022-10-17 17:01:22 +0200
-
891651f2d6
Task: Move functions operating on Task to member functions
apio
2022-10-17 17:00:07 +0200
-
e34045a78c
Kernel: on stack smashing detection, do not trigger a normal panic
apio
2022-10-16 19:04:24 +0200
-
9b39d618de
Kernel, libc: Implement spawn()
apio
2022-10-16 18:48:35 +0200
-
a1146a5ce2
Panic: show panic message on screen
apio
2022-10-16 18:23:33 +0200
-
6d821d2638
libc: Add support for mkdir()
apio
2022-10-16 17:37:29 +0200
-
f35bbe52b7
fnctl: Do not switch on cmd
apio
2022-10-16 17:27:15 +0200
-
e1e86ab889
libc: Add support for EEXIST, ENOTDIR, ENOSPC, ENOTSUP and EPIPE to strerror()
apio
2022-10-16 17:24:58 +0200
-
d2e2883a79
Kernel: Make mkdir() accessible to userspace
apio
2022-10-16 17:22:12 +0200
-
18fbccafb7
VFS: add an exists() function
apio
2022-10-16 16:58:18 +0200
-
0a46feb162
Add strnlen test
apio
2022-10-16 16:00:14 +0200
-
d62eb6c791
Tests: Add test framework
apio
2022-10-16 15:31:58 +0200
-
f8154ce230
Kernel: Implement mkdir() from a single path
apio
2022-10-16 14:45:25 +0200
-
8c0a57f0c2
Kernel: Copy strrchr, dirname and basename over from libc
apio
2022-10-16 14:36:25 +0200
-
08eb18307b
The kernel page directory is already there
#13
apio
2022-10-16 10:35:21 +0200
-
9070d17477
wait before letting the fork run for now
apio
2022-10-16 09:58:13 +0200
-
145ea40945
fork() is almost working
apio
2022-10-15 20:30:54 +0200
-
16f797eeee
AddressSpace: make clone() perform a deep copy
apio
2022-10-15 20:10:05 +0200
-
397b1a2819
Kernel: add memmem
apio
2022-10-15 18:59:05 +0200
-
7ab80014e1
More fork() work
apio
2022-10-15 18:42:53 +0200
-
e672f3994b
libc: Add support for fork()
apio
2022-10-15 18:19:47 +0200
-
20cffdb66c
Add an initial fork() implementation
apio
2022-10-15 18:01:35 +0200
-
-
1624f0360d
exec: More logging
apio
2022-10-15 17:47:57 +0200
-
d30010d524
apps/sym: Read from the end of the file
apio
2022-10-15 17:45:53 +0200
-
68403dc029
Kernel: Make AddressSpaces reference-counted
apio
2022-10-15 17:40:33 +0200
-
eca7227fda
StackTracer: Stop when instruction is at nullptr
apio
2022-10-15 17:31:57 +0200
-
aca1367158
Kernel: Switch to strlcpy() as well
apio
2022-10-15 17:30:34 +0200
-
42b6b927c9
libc: Implement strlcpy(), and make strncpy() standard-compliant
apio
2022-10-15 17:24:22 +0200
-
48f38bdcef
libc: More inttypes.h
apio
2022-10-15 16:53:26 +0200
-
45afd3e243
Replace the rand() which reads from /dev/random with a Mersenne PRNG.
apio
2022-10-15 16:46:54 +0200
-
18f1f8b7ca
Add VERY HACKY rand() implementation.
apio
2022-10-15 16:31:08 +0200
-
dd358eca29
libc/libgen.cpp: Remove #include <luna.h>
apio
2022-10-15 16:09:54 +0200
-
116e7326a4
libc: Implement dirname() and basename()
apio
2022-10-15 16:08:27 +0200
-
5256166e7a
libc: Fix strrchr
apio
2022-10-15 16:06:41 +0200
-
6953a28ce8
libc: Implement strrchr()
apio
2022-10-15 15:16:19 +0200
-
f13c48b562
libc: make strerror() return "Unknown error" instead of an invalid pointer
apio
2022-10-15 15:14:30 +0200
-
7139b4403f
libc: Add EPIPE (not returned by anything yet)
apio
2022-10-15 15:14:02 +0200
-
e3e33bacbc
libc: Add stubbed signal.h header
apio
2022-10-15 15:13:38 +0200
-
8d552b1522
libc: Add setjmp.h stub functions (not implemented)
apio
2022-10-15 15:13:25 +0200
-
46f60b192a
libc: Add libgen.h stub functions (not implemented)
apio
2022-10-15 15:13:10 +0200