apio pushed to main at apio/Luna 2022-10-29 18:11:08 +00:00
d1e4bc5504 Kernel: Use framebuffer virtual address instead of physical address
apio pushed to main at apio/Luna 2022-10-29 08:18:52 +00:00
8395eb16f6 session: endpwent on exit
apio pushed to main at apio/Luna 2022-10-29 08:13:50 +00:00
7aad256acd Update README.md
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2022-10-29 07:39:31 +00:00
32e09d3417 libc: Stub out more functionality so part of binutils builds
apio pushed to main at apio/Luna 2022-10-28 19:58:30 +00:00
9db1e8cdb3 Inform of the default user configuration in the MOTD
apio pushed to main at apio/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 »
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2022-10-28 19:00:46 +00:00
91470851cd stat: Show username of file owner
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2022-10-28 15:56:08 +00:00
b8296eb92d su: Also set group ID
apio pushed to main at apio/Luna 2022-10-28 15:53:34 +00:00
fa0dc4b18c apps: Remove sym and crash
apio pushed to main at apio/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 »
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2022-10-28 15:24:41 +00:00
17671fd435 libc: Implement getuid, geteuid, getgid, getegid
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2022-10-27 15:50:28 +00:00
8ed0ff1381 libc: Ensure /dev/random is opened with O_CLOEXEC on init
apio pushed to main at apio/Luna 2022-10-27 15:42:13 +00:00
d93a4062a2 libc: Do not use the heavy variadic syscall() function for wrappers
apio pushed to main at apio/Luna 2022-10-27 15:24:12 +00:00
0eb0ca4028 libc: Add an empty locale.h
7155cf8d6b libc: Add alloca.h
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-27 15:20:59 +00:00
703b0a1435 libc: Make tv_usec in timeval signed, as it should be