Matheus
5793dda4d9
acpi: /dev/acpi
2024-09-01 21:41:08 -03:00
Matheus
65edcf0417
spinlock: helpers for ipl
2024-09-01 21:40:40 -03:00
Matheus
443295e279
kernel: misc changes
2024-09-01 20:38:13 -03:00
Matheus
c9347d14ed
Makefile: pull submodules on make
2024-09-01 19:35:21 -03:00
Matheus
75def3edfa
Merge pull request #8 from d-tatianin/uacpi-integration
...
uACPI integration
2024-09-01 19:32:10 -03:00
Matheus
9be6ff345c
pseudodevices: handle seek
2024-09-01 19:05:15 -03:00
8infy
db55f99e23
Integrate uACPI & remove own ACPI parsing code
...
This commit adds uACPI as a submodule and removes all handwritten table
parsing code as well as struct definitions, since they now work via
uACPI. There's also now an ability to shut down by using the power
button.
2024-09-01 23:12:44 +03:00
8infy
476d4bad74
io: add outw & inw helpers
2024-09-01 23:12:44 +03:00
8infy
1042c1b1b0
time: introduce a new timespec_ns helper
...
This just returns the total number of elapsed nanoseconds given a
timespec struct.
2024-09-01 23:12:44 +03:00
8infy
f306edb5ec
semaphore: introduce a semaphore_reset helper
...
This simply clears the internal counter of a semaphore.
2024-09-01 23:12:44 +03:00
8infy
7136e96fdb
spinlock: introduce helpers that clear & restore interrupts
...
These are just wrappers around acquire/release that clear and restore
interrupts respectively.
2024-09-01 23:12:44 +03:00
Matheus
0b54ccb96a
mlibc: bump commit
2024-09-01 15:48:45 -03:00
8infy
f93470be2a
mutex: introduce a MUTEX_ACQUIRE_TIMED helper
...
This is just based on the previously added semaphore_timedwait.
2024-09-01 19:40:21 +03:00
8infy
7e3922c7ad
semaphore: add a new semaphore_timedwait helper
...
This is the same as semaphore_wait except it allows for the acquire
attempt to time out after a given period of time.
2024-09-01 19:39:25 +03:00
8infy
0854d08020
interrupt: add a new 'priv' field
...
This field is needed for interrupt handlers that need context in order
to know what to do.
2024-09-01 19:37:22 +03:00
8infy
6154318ab3
kernel: add a helper to retrieve the bsp CPU
...
This is useful to be able to e.g. set affinity for the BSP CPU.
2024-09-01 19:37:09 +03:00
8infy
0ecbbff4d1
kernel: initialize pci earlier
...
There's no reason to initialize PCI so late, and this will be needed
by the following commits.
2024-09-01 19:34:21 +03:00
Matheus
4c7d4f084c
localsocket: passing of files
2024-09-01 13:34:20 -03:00
Matheus
997fbc4e2e
socket: handle control data, change recv and send arguments
2024-09-01 13:20:12 -03:00
Matheus
fe1102224e
ringbuffer: RINGBUFFER_FREESPACE
2024-09-01 13:13:00 -03:00
Matheus
29d459bdab
file: fd_insert
2024-09-01 13:11:27 -03:00
Matheus
fe6d72a7c3
sock: copy msgctrl to msg header
2024-08-31 20:30:06 -03:00
Matheus
2f0b43822b
syscalls: fix compilation
2024-08-31 20:29:45 -03:00
Matheus
cbcd4bd60f
mlibc: stub sys_getgroups
2024-08-31 20:29:18 -03:00
Matheus
324d639ac9
openssh: re enable uid test and disable IP_OPTIONS check
2024-08-31 20:28:55 -03:00
Matheus
6911bd6da4
net: reserved bind port check
2024-08-30 23:19:26 -03:00
Matheus
ca4577284e
sockfs: check for configuration
2024-08-30 23:00:28 -03:00
Matheus
3ec2d2f5f1
auth: network
2024-08-30 23:00:11 -03:00
Matheus
5d74bfa5f7
socket: pass cred to bind and setopt
2024-08-30 22:59:57 -03:00
Matheus
ca42167fe1
vfs: pass cred to ioctl
2024-08-30 22:53:57 -03:00
Matheus
0f18341674
kernel: vmm_changemmuflags cred check
2024-08-30 21:22:17 -03:00
Matheus
3c8308533a
execve: keep ignored signals
2024-08-30 20:29:49 -03:00
Matheus
e442a3de8e
vmm: redo changemmurange and make it dirty pages when applicable
2024-08-30 20:20:41 -03:00
Matheus
bd98478b6c
fchownat: remove setuid and setgid bits on a chown
2024-08-30 19:23:53 -03:00
Matheus
394e416d2b
signal: change stack alignment
2024-08-29 23:14:40 -03:00
Matheus
789daa2778
ports: sudo
2024-08-29 22:50:52 -03:00
Matheus
5cc76c5e55
cred: fix setres{g,u}id
2024-08-29 22:48:58 -03:00
Matheus
066b89c40a
sockets: MSG_WAITALL support
2024-08-29 22:48:35 -03:00
Matheus
d3f3ccbb11
distro-files: small rework
...
add files to /etc/skel and /home/astral, move DOOM1.WAD and id1 to /usr/share/games folders and create symlinks to them in the recipe
2024-08-28 22:14:52 -03:00
Matheus
b4bc78fbb4
startwm: switch to log to /tmp/
2024-08-28 21:04:23 -03:00
Matheus
cf3a035df0
init: rework, add login prompt option
2024-08-28 21:03:47 -03:00
Matheus
fc09d39895
jobctl: allow tty stealing
2024-08-28 20:26:43 -03:00
Matheus
bff9974801
distrofiles: add astral user, astral group and unknown group
2024-08-28 18:55:28 -03:00
Matheus
91f0179d64
ace-of-penguins: fix build
2024-08-28 10:01:52 -03:00
Matheus
45e3cd618d
mlibc: bump commit
2024-08-27 22:50:25 -03:00
Matheus
f88bc282fa
distro-files: add /etc/shells
2024-08-27 22:47:29 -03:00
Matheus
c4cdafc02f
distro-files: /etc/group: add root
2024-08-27 22:44:43 -03:00
Matheus
62d0cd1706
auth: AUTH_ACTIONS_FILESYSTEM_RENAME
2024-08-27 22:20:22 -03:00
Matheus
1536def1b8
libevent: dont test epoll
2024-08-27 21:47:52 -03:00
Matheus
ba6506b9d7
auth: filesystem unlink action check + add parent vnode to auth_filesystem_check
2024-08-27 21:46:33 -03:00