asleepymoon
asleepymoon pushed to main at asleepymoon/Luna 2022-10-30 09:09:06 +00:00
6df5b8a703 Make backspace work
asleepymoon pushed to main at asleepymoon/Luna 2022-10-30 08:57:36 +00:00
e640c6e245 Kernel, libc, userspace: Add file timestamps (atime,ctime,mtime)
8d46c9bbe2 Kernel, libc: Fix a big bug in printf()
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-30 08:09:44 +00:00
e705810af3 apps: Add a new date utility
e2b5c1bfdd uptime: Use clock_gettime instead of reading from /dev/uptime
324fb42ee2 libc: Add support for the new time functionality in the kernel
688a640a16 Kernel: Add the clock_gettime syscall, which replaces clock as it can be used for more stuff
baf97840e9 Kernel: Keep track of boot time
Compare 5 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-29 18:13:53 +00:00
a9da58421f su: do not pass out-of-bounds argv to execv when argc is 1
asleepymoon pushed to main at asleepymoon/Luna 2022-10-29 18:11:08 +00:00
d1e4bc5504 Kernel: Use framebuffer virtual address instead of physical address
asleepymoon pushed to main at asleepymoon/Luna 2022-10-29 08:18:52 +00:00
8395eb16f6 session: endpwent on exit
asleepymoon pushed to main at asleepymoon/Luna 2022-10-29 08:13:50 +00:00
7aad256acd Update README.md
asleepymoon pushed to main at asleepymoon/Luna 2022-10-29 08:02:04 +00:00
33ed6e5c17 su: endpwent on exit
8375701bf6 session, su: Split password-collecting logic into a separate function
3e052c72a0 init: don't wait before executing the session binary
Compare 3 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-29 07:39:31 +00:00
32e09d3417 libc: Stub out more functionality so part of binutils builds
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 19:58:30 +00:00
9db1e8cdb3 Inform of the default user configuration in the MOTD
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 19:57:25 +00:00
e9092ab235 sh: Display username instead of shell's PID in prompt
0b838572e1 apps: Add a new session program which manages user login
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 19:03:07 +00:00
702cc0442c endpwent: Close all opened instances of /etc/passwd, including those used by getpwuid() and getpwnam()
2ca20c1a1e compilation fix
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 19:00:46 +00:00
91470851cd stat: Show username of file owner
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 18:57:35 +00:00
5aba1c5f15 su: Make it setuid root, ask for a password, and accept a username
477af66cdc ps: Show usernames of processes, using getpwuid()
7d0e442cde libc: Add /etc/passwd and the pwd.h API
e05f3f5325 Kernel: Read file modes from the initrd, filtering out write permissions
a2d9ada4dc oopsie
Compare 5 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 15:56:08 +00:00
b8296eb92d su: Also set group ID
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 15:53:34 +00:00
fa0dc4b18c apps: Remove sym and crash
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 15:52:59 +00:00
68d0d0b759 apps: Add a new su utility
8f0e358360 libc: Add setuid, setgid, seteuid, setegid
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 15:31:47 +00:00
09a615bd99 Kernel, libc: Expose processes' UID and GID in pstat()
acdc2d3ad7 init: Open /dev/console for appending
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 15:24:41 +00:00
17671fd435 libc: Implement getuid, geteuid, getgid, getegid
asleepymoon pushed to main at asleepymoon/Luna 2022-10-28 15:19:44 +00:00
1c4f1ab867 Kernel, libc: Add setuid() and setgid() system calls
2269ec267c apps: Add a 'stat' utility
b1729689df libc: Open stdout and stderr write-only on init
77d331b258 init: Open /etc/motd with O_CLOEXEC to avoid leaking this file to children
c312d81de4 Kernel, libc: Add st_uid and st_gid to stat, and handle st_mode differently
Compare 11 commits »