Commit Graph

395 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen e76073cc4f Add user-space filesystem API. 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 3b35dad9f7 Add AT_REMOVEFILE flag to unlinkat(2).
This allows unlinkat(2) to delete files and directories in the same call,
which is useful for the implementation of remove(3).
2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 1fa2df3e6a Replace system calls that accept a path with *at versions. 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 921deb6eeb Add linkat(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 2ef2269168 Add fchmodat(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen f21462bf18 Add fchmod(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen c1280bedb0 Add fchown(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen cb4569c615 Add fchownat(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen f843e15666 Add truncateat(2).
Linux doesn't have this, but since I do truncate(2) in the kernel, it would
be more consistent to do it 'at'-style. (I will remove truncate(2) from the
kernel and let libc call truncateat(2) soon anyway).
2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 37a4c8f05e Add fchdir(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 7dd59dd2e0 Add mkdirat(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen caf4a1f2c5 Add faccessat(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 835f0d5fbc Add unlinkat(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 8e50f3d76b Add dup2(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 49fe4aa51f Add link(2). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen 2389a834b5 Add chown(3). 2013-12-17 14:30:25 +01:00
Jonas 'Sortie' Termansen a11439bc87 Add chmod(2). 2013-12-17 14:30:24 +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 945c769daf Fix ^C not clearing the line buffer. 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 7eb9e3c33f Refactor Sortix build system and de-autoconf mxmpp. 2013-12-17 14:30:22 +01:00
Jonas 'Sortie' Termansen f72969a662 Add sigset_t. 2013-09-24 17:09:49 +02:00
Jonas 'Sortie' Termansen bf2c624c9b Add struct timespec. 2013-09-24 17:09:49 +02:00
Jonas 'Sortie' Termansen 3c821cb4a1 Make sys_memstat arguments optional. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen 0095983c80 Add dispmsg_issue(2). 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen b380dd49c1 Add useful functions to <sortix/kernel/video.h> API. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen b0c01f2c6a Make Memory::Lookup return false on unmapped pages. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen a685a9d68f Fix kernel thread frame pointer base case. 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen 5ad26d68a3 Add OFF_MIN and OFF_MAX. 2013-09-24 17:09:47 +02:00
Juhani Haverinen 7c85b4a057 Add support for right shift in US keyboard layout 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen dc4ef04e7c Add assembly file symbol sizes. 2013-09-24 17:09:47 +02:00
Jonas 'Sortie' Termansen 8a7a0db8c7 Add missing rdx register to x86_64 register dump function. 2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen 89118947ed Fix Sortix::Scheduler::ExitThread not being noreturn. 2013-09-24 16:52:29 +02:00
Steve Dougherty af2d8cb9de Fix typo in syscall registration sanity test. 2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen efe70b3b3e Avoid physical frame stack overflow. 2013-09-24 16:52:29 +02:00
Jonas 'Sortie' Termansen 2231e129b0 Fix deadlock in kthread_cond_wait. 2013-07-11 18:07:03 +02:00
Jonas 'Sortie' Termansen dd0379c608 Fix calltrace implementation on x86 and x86-64. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen aea6aefea9 Fix interlock implementation on x86_64 and x86. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen 986d331d39 Fix x86_64 declaration of uint64_t. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen 49a66893b2 Fix kernel compile warnings. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen 8318c51819 Allow syscall parameters and return values larger than native words.
Note: This is an incompatible ABI change.
2013-07-08 15:47:27 +02:00
Jonas 'Sortie' Termansen d890488304 Void system calls must now have a return value. 2013-07-07 17:03:01 +02:00
Jonas 'Sortie' Termansen 96e4c00c5f Detect and panic when running buggy qemu releases. 2013-06-21 23:20:14 +02:00
Jonas 'Sortie' Termansen 308b3169ca Fix missing single quote character (') in US keyboard layout. 2013-02-27 12:34:45 +01:00
Jonas 'Sortie' Termansen 607128334f Fix floating point corruption on thread exit. 2013-01-27 14:45:25 +01:00
Jonas 'Sortie' Termansen 754a10e274 Allow unloading video drivers. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen 6037babcbf Extend kernel video memory area to 386 MiB on x86. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen 3116161f5d BGA: Fix possible memory leak. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen 4d37197472 Sort objects in kernel makefile. 2012-12-14 14:13:37 +01:00