sortix-mirror/sortix
Jonas 'Sortie' Termansen d564603460 Fixed kernel stack overflow and premature EOF in the unix pipe code.
This usually caused the system to lock up when much data was transferred
over pipes, for instance: $ cd /bin ; cat cat | cat
2012-03-18 16:14:26 +01:00
..
fs Refactored devfs so new devices can easily be added. 2012-03-17 15:11:35 +01:00
kb Refactored the kernel keyboard API, but kept system calls compatible. 2012-01-22 15:53:50 +01:00
x64 Fixed x64 memory leaks upon process termination. 2012-03-17 18:14:57 +01:00
x86 Fixed x64 memory leaks upon process termination. 2012-03-17 18:14:57 +01:00
x86-family Added protection against bad addrspace vars and bad Page::Put() calls. 2012-03-02 13:51:03 +01:00
.gitignore Restored support for JSSortix using very ugly hacks. :( 2011-09-08 11:10:41 +02:00
Makefile Added a new COM Port driver. 2012-03-17 15:48:42 +01:00
ata.cpp Refactored devfs so new devices can easily be added. 2012-03-17 15:11:35 +01:00
ata.h Implemented a simple ATA PIO Mode driver that can read and write. 2012-01-08 14:20:39 +01:00
bits.h Initial version of Sortix. 2011-08-05 14:25:00 +02:00
calltrace.cpp make CALLTRACE=1 to enable printing primitive calltraces upon panic. 2012-03-02 14:08:25 +01:00
calltrace.h make CALLTRACE=1 to enable printing primitive calltraces upon panic. 2012-03-02 14:08:25 +01:00
com.cpp Added a new COM Port driver. 2012-03-17 15:48:42 +01:00
com.h Added a new COM Port driver. 2012-03-17 15:48:42 +01:00
descriptors.cpp Refactored the descriptor table and added FD_CLOEXEC and FD_CLOFORK. 2012-03-04 21:06:49 +01:00
descriptors.h Refactored the descriptor table and added FD_CLOEXEC and FD_CLOFORK. 2012-03-04 21:06:49 +01:00
device.cpp Unrefing a device that has never been ref'd will also destroy it. 2011-11-17 23:14:45 +01:00
device.h Refactored the system to use the new Terminal interface. 2012-01-22 16:48:57 +01:00
directory.cpp readdirents(2) now properly reports ERANGE. 2012-01-15 00:43:13 +01:00
directory.h Made Device::IsType 'const', because it is. 2012-01-18 01:11:17 +01:00
elf.cpp Fixed bad filename written in elf.cpp. 2011-12-16 15:35:45 +01:00
elf.h Program loader now sets the correct program segment type. 2011-12-16 15:33:12 +01:00
end.cpp Added a global variable at the end of the kernel to detect its size. 2011-12-23 13:09:09 +01:00
event.cpp Added protection against running terminated threads. 2012-02-10 13:27:11 +01:00
event.h Added protection against running terminated threads. 2012-02-10 13:27:11 +01:00
fcntl.h Added F_SETFL and F_GETFL to fcntl(2). 2012-03-11 20:29:00 +01:00
filesystem.cpp Added F_SETFL and F_GETFL to fcntl(2). 2012-03-11 20:29:00 +01:00
filesystem.h Unified constants from sortix/filesystem.h and <fcntl.h> in <sortix/fcntl.h>. 2012-02-23 13:15:40 +01:00
initrd.cpp The initial ramdisk is now mapped onto a special location. 2011-12-22 14:13:18 +01:00
initrd.h The initial ramdisk is now mapped onto a special location. 2011-12-22 14:13:18 +01:00
interrupt.cpp Split descriptor_tables.cpp into a gdt.cpp and idt.cpp. 2012-03-01 00:15:28 +01:00
interrupt.h Further cleanup and refactoring of the interrupt code. 2012-02-29 23:03:40 +01:00
io.cpp sortix/io.cpp now uses <sortix/seek.h>. 2012-02-24 22:02:01 +01:00
io.h Added pipe(2), write(2), and read(2). 2011-11-16 21:21:38 +01:00
kernel.cpp Fixed initial kernel stack being wrong size. 2012-03-17 20:17:12 +01:00
kernelinfo.cpp Added kernelinfo(2), which reads a kernel information string. 2012-03-07 18:04:59 +01:00
kernelinfo.h Added kernelinfo(2), which reads a kernel information string. 2012-03-07 18:04:59 +01:00
keyboard.cpp Removed the unused and deprecated old <libmaxsi/sortix-keyboard.h> API. 2012-02-10 13:46:26 +01:00
keyboard.h Refactored the kernel keyboard API, but kept system calls compatible. 2012-01-22 15:53:50 +01:00
keycodes.h Fixed buggy and broken KBKEY_ENCODE and KBKEY_DECODE macros. 2012-02-10 13:28:28 +01:00
linebuffer.cpp Added a class for handling terminal linebuffering. 2012-02-10 13:28:28 +01:00
linebuffer.h Added a class for handling terminal linebuffering. 2012-02-10 13:28:28 +01:00
log.cpp Ported kernel to new syscall API and started cleaning up the old one. 2011-10-27 00:20:28 +02:00
log.h Added a nice Log::PrintData function to the kernel. 2012-01-22 02:12:52 +01:00
logterminal.cpp Implemented a terminal that reads from keyboard and writes to kernel log. 2012-02-10 13:28:28 +01:00
logterminal.h Implemented a terminal that reads from keyboard and writes to kernel log. 2012-02-10 13:28:28 +01:00
memorymanagement.h The initial ramdisk is now mapped onto a special location. 2011-12-22 14:13:18 +01:00
mount.cpp Added devfs, with files /tty and /null and mounted it at /dev. 2011-11-21 21:49:13 +01:00
mount.h Mount-points are now handled properly within the kernel. 2011-11-21 19:39:13 +01:00
multiboot.h Initial version of Sortix. 2011-08-05 14:25:00 +02:00
panic.cpp make CALLTRACE=1 to enable printing primitive calltraces upon panic. 2012-03-02 14:08:25 +01:00
panic.h Initial version of Sortix. 2011-08-05 14:25:00 +02:00
pci.cpp Implemented a simple ATA PIO Mode driver that can read and write. 2012-01-08 14:20:39 +01:00
pci.h Initial version of Sortix. 2011-08-05 14:25:00 +02:00
pipe.cpp Fixed kernel stack overflow and premature EOF in the unix pipe code. 2012-03-18 16:14:26 +01:00
pipe.h Added pipe(2), write(2), and read(2). 2011-11-16 21:21:38 +01:00
platform.h Initial version of Sortix. 2011-08-05 14:25:00 +02:00
process.cpp Renamed EACCESS to EACCES. 2012-03-12 01:43:00 +01:00
process.h Program loader now sets the correct program segment type. 2011-12-16 15:33:12 +01:00
refcount.cpp Added a Refcounted class, useful for refcounted objects. 2012-02-21 20:12:52 +01:00
refcount.h Added a Refcounted class, useful for refcounted objects. 2012-02-21 20:12:52 +01:00
scheduler.cpp Added protection against bad addrspace vars and bad Page::Put() calls. 2012-03-02 13:51:03 +01:00
scheduler.h Added the _exit() system call. 2011-11-05 20:19:36 +01:00
seek.h Moved SEEK_SET, SEEK_CUR, and SEEK_SET to <sortix/seek.h>. 2012-02-24 17:34:50 +01:00
serialterminal.cpp Removed the unused and deprecated old <libmaxsi/sortix-keyboard.h> API. 2012-02-10 13:46:26 +01:00
serialterminal.h VGA now sort-of works under serial-connections. 2011-12-05 21:44:14 +01:00
signal.cpp Initial signal support. Please squash improvements into this commit. 2011-11-23 00:19:09 +01:00
signal.h Initial signal support. Please squash improvements into this commit. 2011-11-23 00:19:09 +01:00
sound.cpp Ported kernel to new syscall API and started cleaning up the old one. 2011-10-27 00:20:28 +02:00
sound.h Ported kernel to new syscall API and started cleaning up the old one. 2011-10-27 00:20:28 +02:00
stat.h Added st_{a,c,m}time to struct stat. 2012-03-04 22:25:47 +01:00
stream.h Made Device::IsType 'const', because it is. 2012-01-18 01:11:17 +01:00
syscall.cpp Added a stub for Syscall::Yield() which is used by broken code. 2012-03-17 15:14:42 +01:00
syscall.h Added a stub for Syscall::Yield() which is used by broken code. 2012-03-17 15:14:42 +01:00
syscallnum.h Added kernelinfo(2), which reads a kernel information string. 2012-03-07 18:04:59 +01:00
system.h Initial version of Sortix. 2011-08-05 14:25:00 +02:00
terminal.cpp Refactored the system to use the new Terminal interface. 2012-01-22 16:48:57 +01:00
terminal.h Refactored the system to use the new Terminal interface. 2012-01-22 16:48:57 +01:00
termmode.h Added TERMMODE_NONBLOCK. 2012-01-22 18:38:46 +01:00
thread.cpp Added protection against bad addrspace vars and bad Page::Put() calls. 2012-03-02 13:51:03 +01:00
thread.h Added protection against bad addrspace vars and bad Page::Put() calls. 2012-03-02 13:51:03 +01:00
time.cpp Removed the old unused interrupt 177. 2012-01-15 19:00:05 +01:00
time.h Refactored Interrupt handlers to provide a user pointer. 2012-01-15 18:32:42 +01:00
timeval.h Added <sys/time.h>, struct timeval and gettimeofday(3) stub. 2012-03-04 22:05:52 +01:00
uart.cpp VGA now sort-of works under serial-connections. 2011-12-05 21:44:14 +01:00
uart.h Removed deprecated VGA API and moved it to /dev/vga. 2011-11-25 13:38:31 +01:00
unistd.h Added access(2). 2012-03-05 15:46:23 +01:00
user.h Initial version of Sortix. 2011-08-05 14:25:00 +02:00
utf8.cpp Added a simple utf8 encoder in the kernel. 2012-01-22 00:56:58 +01:00
utf8.h Added a simple utf8 encoder in the kernel. 2012-01-22 00:56:58 +01:00
vga.cpp VGA now sort-of works under serial-connections. 2011-12-05 21:44:14 +01:00
vga.h Removed deprecated VGA API and moved it to /dev/vga. 2011-11-25 13:38:31 +01:00
vgaterminal.cpp Fixed missing breaks in switch in vgaterminal.cpp. 2011-11-02 11:39:02 +01:00
vgaterminal.h Initial version of Sortix. 2011-08-05 14:25:00 +02:00