feat: support ioctl() syscall for direct control to devices
authorMinep <zelong56@gmail.com>
Tue, 30 Aug 2022 12:20:39 +0000 (13:20 +0100)
committerMinep <zelong56@gmail.com>
Tue, 30 Aug 2022 12:20:39 +0000 (13:20 +0100)
commitc50398ab4cb09658b3b3fff74804d2f26df785e7
tree6f83fb46e235b40066b0cb307a98f0d3b31f8696
parent61a1daa59589212608039e2734009870818bacd3
feat: support ioctl() syscall for direct control to devices
feat: add ascii control code support to lunaix tty driver
feat: expose the syscall interface of getpgid() and setpgid()
fix: race condition when issuing SIGINT to process group.
fix: dead lock when a process get terminated while it is holding the inode lock
fix: double freeing the v_file object when terminating a process which it's fd is dup()ed from it's parent process.
todo: taskfs is still problematic..
chore: fixes and refactor.
21 files changed:
README.md
lunaix-os/includes/lunaix/device.h
lunaix-os/includes/lunaix/ds/fifo.h
lunaix-os/includes/lunaix/fs.h
lunaix-os/includes/lunaix/ioctl.h [new file with mode: 0644]
lunaix-os/includes/lunaix/lunistd.h
lunaix-os/includes/lunaix/lxconsole.h
lunaix-os/includes/lunaix/syscall.h
lunaix-os/kernel/asm/x86/syscall.S
lunaix-os/kernel/demos/simple_sh.c
lunaix-os/kernel/device/device.c
lunaix-os/kernel/ds/fifo.c
lunaix-os/kernel/fs/twimap.c
lunaix-os/kernel/fs/vfs.c
lunaix-os/kernel/peripheral/ps2kbd.c
lunaix-os/kernel/process/process.c
lunaix-os/kernel/process/sched.c
lunaix-os/kernel/process/signal.c
lunaix-os/kernel/process/task_attr.c
lunaix-os/kernel/process/taskfs.c
lunaix-os/kernel/tty/lxconsole.c