Jonas 'Sortie' Termansen
021256ad8e
Fix struct kernel_dirent::d_namlen being called d_namelen.
2014-01-18 16:30:56 +01:00
Jonas 'Sortie' Termansen
ffff20be35
Fix unode readdirents not setting struct kernel_dirent::d_type.
2014-01-18 16:30:56 +01:00
Jonas 'Sortie' Termansen
caa1b7455c
Add /dev/full.
2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen
5293d91808
Add /dev/zero.
2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen
616ef6c963
Add /dev/null.
2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen
2302350d78
Remove <sortix/kernel/platform.h>.
2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen
5933ac5210
Rename O_CREAT to O_CREATE.
2013-12-17 14:30:43 +01:00
Jonas 'Sortie' Termansen
938f722dcb
Add tcsetpgrp(2) and tcgetpgrp(2).
2013-12-17 14:30:36 +01:00
Jonas 'Sortie' Termansen
740187674a
Add reference counting filesystem messages.
2013-12-17 14:30:36 +01:00
Jonas 'Sortie' Termansen
27bdbf1c9d
Add utimens support to inodes.
2013-12-17 14:30:35 +01:00
Jonas 'Sortie' Termansen
1bc470624f
Refactor kernel process.h and thread.h headers.
2013-12-17 14:30:34 +01:00
Jonas 'Sortie' Termansen
79a49b2015
Add socket interface.
2013-12-17 14:30:30 +01:00
Jonas 'Sortie' Termansen
472155173d
Adopt struct timespec as the kernel time format.
...
Note: Incompatible ABI change.
2013-12-17 14:30:30 +01:00
Jonas 'Sortie' Termansen
ac1d64fd7e
Refactor descriptor flags and security.
2013-12-17 14:30:29 +01:00
Jonas 'Sortie' Termansen
9434ee94fd
Add file cache.
2013-12-17 14:30:28 +01:00
Jonas 'Sortie' Termansen
8e0aefda20
Add rename(2) and renameat(2).
2013-12-17 14:30:26 +01:00
Jonas 'Sortie' Termansen
2ce76e3876
Refactor system call API.
2013-12-17 14:30:26 +01:00
Jonas 'Sortie' Termansen
b2b55bc34a
Add poll(2) and ppoll(2).
2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen
e76073cc4f
Add user-space filesystem API.
2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen
1444683ea8
Refactor kernel VFS.
...
Note: This is an incompatible ABI change.
2013-12-17 14:30:24 +01:00
Jonas 'Sortie' Termansen
90036ca6a8
Update copyright headers of old files to the current format.
2013-12-17 14:30:23 +01:00
Jonas 'Sortie' Termansen
eb5be61d20
Fix trailing blank lines.
2013-12-17 14:30:23 +01:00
Jonas 'Sortie' Termansen
c0fabc2e8d
Move remainder of Maxsi::String into kernel tree.
2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
2206412e14
Replace Maxsi::String::Reject with strcspn.
2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
e5cf6c18f7
Replace Maxsi::String::Compare with strcmp.
2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
70da61f5d1
Replace Maxsi::String::Copy with strcpy.
2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
5e4dadbba0
Replace Maxsi::String::Length with strlen.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
5e7bf8527c
Move <libmaxsi/sortedlist.h> into kernel tree.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
b4374f66b7
Replace <libmaxsi/memory.h> with <string.h>.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
5d082b3bbb
Replace Maxsi::Error:: with <errno.h>.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
42754f1728
Replace ASSERT with assert of <assert.h>.
2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
3095503b9b
Correct usage of deprecated nat and byte data types.
2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
3fd270f7a2
Remove trailing whitespace.
2012-09-08 18:45:53 +02:00
Jonas 'Sortie' Termansen
17a93359dd
Add . and .. support to kernel filesystems.
...
This makes the hack in ls(1) not needed and is hence removed.
2012-09-08 18:45:52 +02:00
Jonas 'Sortie' Termansen
459a1b2b3f
Thread secured initfs.
2012-08-04 18:35:23 +02:00
Jonas 'Sortie' Termansen
f3532081aa
Added a filesystem utility class for providing a fixed buffer.
2012-08-01 13:07:31 +02:00
Jonas 'Sortie' Termansen
78f0c6c094
The video framework is now exposed as /dev/video.
...
This provides easy user-space access to the framebuffer.
2012-07-30 19:00:24 +02:00
Jonas 'Sortie' Termansen
494636b8eb
Added some filesystem utility classes.
2012-07-24 19:56:33 +02:00
Jonas 'Sortie' Termansen
c39473157a
Implemented a new initrd format with better inode support.
...
This enables useful features such as directories, CRC32 checksums, and other
useful features. The initrdfs in the kernel is now hooked up against the new
API, although the kernel's current limited FS support is a problem for now.
To work around that, directories are not supported at runtime, although the
internal API understands them wonderfully. This will be fixed when the
kernel gets a real VFS.
2012-07-02 17:40:52 +02:00
Jonas 'Sortie' Termansen
93abeda32e
Fixed buffer overflow in devfs.cpp.
2012-04-14 22:03:55 +02:00
Jonas 'Sortie' Termansen
db79994e64
Refactored all the sortix headers into a include directory.
...
Also got rid of trailing white space. That corrupted .git/.
Big ass-commit because of recovered .git directory.
2012-03-22 00:52:29 +01:00
Jonas 'Sortie' Termansen
798b421d16
Refactored devfs so new devices can easily be added.
2012-03-17 15:11:35 +01:00
Jonas 'Sortie' Termansen
6e536ba8f9
Fixed error codes in sortix/fs/devfs.
2012-03-11 17:55:52 +01:00
Jonas 'Sortie' Termansen
245e8bf0e3
Fixed error codes in sortix/fs/initfs.
2012-03-11 17:55:23 +01:00
Jonas 'Sortie' Termansen
f45cf8327a
Forgot to enable the /bin /dev hack in sortix/fs/ramfs.cpp.
2012-03-11 17:30:13 +01:00
Jonas 'Sortie' Termansen
cadac5ce2a
Moved the /bin and /dev hack into the kernel.
...
This makes ls seem less hacky.
2012-03-11 17:25:32 +01:00
Jonas 'Sortie' Termansen
028867ab9d
Removed the unused and deprecated old <libmaxsi/sortix-keyboard.h> API.
...
This has been entirely replaced by stdin and <sys/termmode.h>.
2012-02-10 13:46:26 +01:00
Jonas 'Sortie' Termansen
c4264d9c2a
Ported the user-space programs to use stdin for keyboard access.
...
The old keyboard API is hereby deprecated and unused.
2012-02-10 13:46:26 +01:00
Jonas 'Sortie' Termansen
ecc3114f2a
Refactored the system to use the new Terminal interface.
...
This will allow development of a better terminal providing stdin.
Added new system calls settermmode(2) and gettermmode(2) declared in
<sys/termmode.h>. They allow querying and changing the current mode of
terminals (enabling raw keyboard data, signal handling, line buffering,
UTF-8 encoding stdin, and more). However, all that is unsupported by the
current terminal device driver.
Added KBKEY_ENCODE and KBKEY_DECODE macros to <sys/keycodes.h> which allows
encoding the kbkey format in UTF-32 characters.
2012-01-22 16:48:57 +01:00
Jonas 'Sortie' Termansen
ba2cb5103a
Made Device::IsType 'const', because it is.
2012-01-18 01:11:17 +01:00