Commit Graph

  • 9c3792718c Kernel: Remove waitpid() debug messages and add more checks apio 2022-10-30 19:24:56 +0100
  • e244c150c2 Kernel, libc: Add ECHILD apio 2022-10-30 19:24:26 +0100
  • c68d040484 Scheduler: Make sure we are in the kernel's address space when resuming a blocked process apio 2022-10-30 19:10:46 +0100
  • a7e4f2bdd2 sh: Make it much more versatile apio 2022-10-30 19:09:18 +0100
  • e58aa361c8 sh: Show message when child called abort() apio 2022-10-30 18:36:52 +0100
  • 00f90246c8 Kernel: Implement very basic escape sequences for TextRenderer apio 2022-10-30 18:34:40 +0100
  • 08c4dac2c2 Kernel: Enable -Wvla apio 2022-10-30 18:20:16 +0100
  • b4ccd786f9 remove-port.sh: export DESTDIR apio 2022-10-30 18:19:12 +0100
  • 97df9d8d3a Ports: Add nasm port apio 2022-10-30 18:14:57 +0100
  • 948361bec5 printf: Show which format specifier is unknown apio 2022-10-30 18:08:29 +0100
  • d186d573dd libc: Document strftime in time.h apio 2022-10-30 17:48:54 +0100
  • d5a6c7f27f libc: Implement strftime() apio 2022-10-30 17:47:47 +0100
  • 4c096bd36c uptime: break time down into more understandable units apio 2022-10-30 10:31:59 +0100
  • af0f4d2037 Kernel: Remove /dev/uptime apio 2022-10-30 10:16:53 +0100
  • 6df5b8a703 Make backspace work apio 2022-10-30 10:08:52 +0100
  • e640c6e245 Kernel, libc, userspace: Add file timestamps (atime,ctime,mtime) apio 2022-10-30 09:57:17 +0100
  • 8d46c9bbe2 Kernel, libc: Fix a big bug in printf() apio 2022-10-30 09:53:23 +0100
  • e705810af3 apps: Add a new date utility apio 2022-10-30 09:09:24 +0100
  • e2b5c1bfdd uptime: Use clock_gettime instead of reading from /dev/uptime apio 2022-10-30 09:09:03 +0100
  • 324fb42ee2 libc: Add support for the new time functionality in the kernel apio 2022-10-30 09:08:29 +0100
  • 688a640a16 Kernel: Add the clock_gettime syscall, which replaces clock as it can be used for more stuff apio 2022-10-30 09:07:59 +0100
  • baf97840e9 Kernel: Keep track of boot time apio 2022-10-30 09:07:03 +0100
  • a9da58421f su: do not pass out-of-bounds argv to execv when argc is 1 apio 2022-10-29 20:13:40 +0200
  • d1e4bc5504 Kernel: Use framebuffer virtual address instead of physical address apio 2022-10-29 20:10:49 +0200
  • 8395eb16f6 session: endpwent on exit apio 2022-10-29 10:18:39 +0200
  • 7aad256acd Update README.md apio 2022-10-29 10:13:36 +0200
  • 33ed6e5c17 su: endpwent on exit apio 2022-10-29 10:01:51 +0200
  • 8375701bf6 session, su: Split password-collecting logic into a separate function apio 2022-10-29 10:01:44 +0200
  • 3e052c72a0 init: don't wait before executing the session binary apio 2022-10-29 10:01:17 +0200
  • 32e09d3417 libc: Stub out more functionality so part of binutils builds apio 2022-10-29 09:39:12 +0200
  • 9db1e8cdb3 Inform of the default user configuration in the MOTD apio 2022-10-28 21:58:17 +0200
  • e9092ab235 sh: Display username instead of shell's PID in prompt apio 2022-10-28 21:57:07 +0200
  • 0b838572e1 apps: Add a new session program which manages user login apio 2022-10-28 21:56:52 +0200
  • 702cc0442c endpwent: Close all opened instances of /etc/passwd, including those used by getpwuid() and getpwnam() apio 2022-10-28 21:02:55 +0200
  • 2ca20c1a1e compilation fix apio 2022-10-28 21:02:23 +0200
  • 91470851cd stat: Show username of file owner apio 2022-10-28 21:00:33 +0200
  • 5aba1c5f15 su: Make it setuid root, ask for a password, and accept a username apio 2022-10-28 20:57:13 +0200
  • 477af66cdc ps: Show usernames of processes, using getpwuid() apio 2022-10-28 20:55:39 +0200
  • 7d0e442cde libc: Add /etc/passwd and the pwd.h API apio 2022-10-28 20:55:00 +0200
  • e05f3f5325 Kernel: Read file modes from the initrd, filtering out write permissions apio 2022-10-28 20:52:10 +0200
  • a2d9ada4dc oopsie apio 2022-10-28 19:38:04 +0200
  • b8296eb92d su: Also set group ID apio 2022-10-28 17:55:56 +0200
  • fa0dc4b18c apps: Remove sym and crash apio 2022-10-28 17:53:22 +0200
  • 68d0d0b759 apps: Add a new su utility apio 2022-10-28 17:52:46 +0200
  • 8f0e358360 libc: Add setuid, setgid, seteuid, setegid apio 2022-10-28 17:52:39 +0200
  • 09a615bd99 Kernel, libc: Expose processes' UID and GID in pstat() apio 2022-10-28 17:31:34 +0200
  • acdc2d3ad7 init: Open /dev/console for appending apio 2022-10-28 17:31:00 +0200
  • 17671fd435 libc: Implement getuid, geteuid, getgid, getegid apio 2022-10-28 17:24:28 +0200
  • 1c4f1ab867 Kernel, libc: Add setuid() and setgid() system calls apio 2022-10-28 17:19:26 +0200
  • 2269ec267c apps: Add a 'stat' utility apio 2022-10-28 17:14:20 +0200
  • b1729689df libc: Open stdout and stderr write-only on init apio 2022-10-28 17:14:09 +0200
  • 77d331b258 init: Open /etc/motd with O_CLOEXEC to avoid leaking this file to children apio 2022-10-28 17:13:45 +0200
  • c312d81de4 Kernel, libc: Add st_uid and st_gid to stat, and handle st_mode differently apio 2022-10-28 17:13:20 +0200
  • 26b20938de Kernel, libc: Use mode in mkdir() apio 2022-10-28 17:11:35 +0200
  • 0115cce750 Kernel/VFS: Add file owners and file modes, and check those in system calls apio 2022-10-28 17:10:28 +0200
  • 6ddfc5ee52 Kernel: Invoke sys_stat when asked apio 2022-10-28 17:06:33 +0200
  • 16dc227a05 Kernel: Add UID and GID fields to Task apio 2022-10-28 17:06:13 +0200
  • 3effe8b004 Kernel: Add EACCES to std/errno.h apio 2022-10-28 17:02:27 +0200
  • b2f321c0b8 libc: Parse the mode string apio 2022-10-28 17:02:08 +0200
  • 8ed0ff1381 libc: Ensure /dev/random is opened with O_CLOEXEC on init apio 2022-10-27 17:50:15 +0200
  • d93a4062a2 libc: Do not use the heavy variadic syscall() function for wrappers apio 2022-10-27 17:42:00 +0200
  • 0eb0ca4028 libc: Add an empty locale.h apio 2022-10-27 17:23:59 +0200
  • 7155cf8d6b libc: Add alloca.h apio 2022-10-27 17:23:50 +0200
  • 703b0a1435 libc: Make tv_usec in timeval signed, as it should be apio 2022-10-27 17:20:46 +0200
  • 50cda50f01 Kernel, libc: Add F_GETFD, F_SETFD and FD_CLOEXEC apio 2022-10-27 17:17:24 +0200
  • fcf53ef6a5 Kernel: Make waitpid() block by default unless WNOHANG is specified apio 2022-10-27 17:05:42 +0200
  • da8a3de480 It's actually S_ISCHR in this case apio 2022-10-27 08:10:35 +0200
  • cdb1f46b93 libc: Add S_ISDEV apio 2022-10-27 08:09:10 +0200
  • 06e6429567 Kernel: Reorganize a bit of scheduler code apio 2022-10-27 08:07:34 +0200
  • f9dad8a8d6 Kernel, libc: Stub out struct stat.st_dev apio 2022-10-27 08:01:33 +0200
  • 9b0f6b6595 Kernel, libc: Add O_EXCL apio 2022-10-27 07:55:59 +0200
  • 211c76f920 libc: Provide a definition for timeval apio 2022-10-27 07:55:02 +0200
  • 1c35eabb2b open(): Add a third optional mode argument apio 2022-10-27 07:52:57 +0200
  • a3c6635f3e Kernel, libc: Add O_APPEND and stub out O_CREAT and O_TRUNC apio 2022-10-27 07:43:55 +0200
  • 651ffe6d64 Ports: Simplify remove-port.sh apio 2022-10-26 22:00:31 +0200
  • d875224045 Ports: Add mpc, mpfr and gmp ports apio 2022-10-26 21:56:43 +0200
  • f004122735 cat: Remove unnecessary include apio 2022-10-26 20:55:08 +0200
  • 41f7232b77 Devices: Return EOF after first read for some devices apio 2022-10-26 20:54:47 +0200
  • d5a64319f9 apps: Add cat apio 2022-10-26 20:51:20 +0200
  • 2512acc716 ls: Use command-line arguments apio 2022-10-26 20:30:22 +0200
  • e1f58c0163 Kernel: If wrapping a line at screen bottom, scroll properly apio 2022-10-26 20:14:24 +0200
  • 6892fd96d0 sh: Split a command into arguments and pass those on apio 2022-10-26 20:06:21 +0200
  • a4e430d35e Kernel: count the null byte while calculating how much stack space argv will use apio 2022-10-26 20:05:24 +0200
  • 23b12d2d56 sh: Clear exit status if we do not execute another command apio 2022-10-26 19:39:04 +0200
  • 5492b1b44d sh: Implement our own execvp() while we wait for libc. apio 2022-10-26 19:36:09 +0200
  • 796d61020b argv might be null when we're init apio 2022-10-26 19:22:50 +0200
  • 4f6333ca17 compilation fix apio 2022-10-26 19:17:26 +0200
  • 8eb986df63 libc: Add program_invocation_name apio 2022-10-26 19:17:05 +0200
  • 7d20c507b1 Kernel, libc, userspace: Implement command-line arguments (argv) apio 2022-10-26 18:57:06 +0200
  • 0bad662c2f sh: If fork() fails, show an error containing fork apio 2022-10-26 17:13:47 +0200
  • 9b1e50ae27 libc: Add EACCES apio 2022-10-25 20:29:56 +0200
  • 57658f2d3e libc: Add EOPNOTSUPP apio 2022-10-25 20:28:12 +0200
  • 13fce2c4b3 libc: Update headers with more comments apio 2022-10-25 19:27:24 +0200
  • af452e2b2a Kernel, libc: Add dup2() apio 2022-10-25 18:58:06 +0200
  • af46b8d9ac Kernel: Cleanup file descriptor validation apio 2022-10-25 18:35:17 +0200
  • ec2c314234 Kernel: Add /dev/null apio 2022-10-25 17:59:55 +0200
  • 8cfede341f Tools: Fix run.sh and update rebuild-and-run.sh to use fast-run.sh apio 2022-10-24 21:18:28 +0200
  • ada7f1e701 Update README.md apio 2022-10-24 21:15:22 +0200
  • 7c460855cc Update README.md with information about hourly builds apio 2022-10-24 21:12:22 +0200
  • 35da7e0223 Fix up install-built-ports.sh if ports.list is not present apio 2022-10-24 20:52:52 +0200