Commit Graph

162 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen 2311d634ac Add O_SYMLINK_NOFOLLOW. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen 358f2c4524 Remove unnecessary includes from <sortix/kernel/kernel.h> 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 42d267793b Add missing includes to <sortix/kernel/interrupt.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen e16edd71b5 Add missing includes to <sortix/kernel/crc32.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen b09267c622 Add missing includes to <sortix/kernel/kthread.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen d02b3422c1 Add missing includes to <sortix/kernel/cpu.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 2110ce2651 Add missing includes to <sortix/kernel/decl.h>. 2013-12-17 14:30:45 +01:00
Jonas 'Sortie' Termansen 9d48de4035 Remove <sortix/kernel/endian.h>. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 30a95dfa1e Split parts of <features.h> into <sys/cdefs.h>. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 6f5989614e Add SIGPROF. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen ad9a90926d Add O_NOFOLLOW. 2013-12-17 14:30:44 +01:00
Jonas 'Sortie' Termansen 5933ac5210 Rename O_CREAT to O_CREATE. 2013-12-17 14:30:43 +01:00
Jonas 'Sortie' Termansen defa74d7ec Add F_DUPFD, F_DUPFD_CLOEXEC, F_DUPFD_CLOFORK. 2013-12-17 14:30:43 +01:00
Jonas 'Sortie' Termansen 42f00f5d79 Refactor file descriptor allocation. 2013-12-17 14:30:43 +01:00
Jonas 'Sortie' Termansen 8c0e0235d6 Refactor fcntl(2) ABI.
This is an incompatible ABI change.
2013-12-17 14:30:43 +01:00
Jonas 'Sortie' Termansen ebef48ed61 Update kernel log to current coding conventions. 2013-12-17 14:30:43 +01:00
Jonas 'Sortie' Termansen b399ece14b Add dup3(2). 2013-12-17 14:30:42 +01:00
Jonas 'Sortie' Termansen ad1c6e0ed7 Remove <sys/__/types.h> inclusion from <features.h>. 2013-12-17 14:30:42 +01:00
Jonas 'Sortie' Termansen ad84bc75c8 Change kernel internal build macro to __is_sortix_kernel. 2013-12-17 14:30:42 +01:00
Jonas 'Sortie' Termansen 3a30ba57ef Change libc internal build macro to __is_sortix_libc. 2013-12-17 14:30:42 +01:00
Jonas 'Sortie' Termansen 13f09cc515 Add prlimit(2). 2013-12-17 14:30:41 +01:00
Jonas 'Sortie' Termansen a6f38947f2 Add getpriority(2) and setpriority(2). 2013-12-17 14:30:41 +01:00
Jonas 'Sortie' Termansen 04019cab9e Add mmap(2), mprotect(2) and munmap(2). 2013-12-17 14:30:41 +01:00
Jonas 'Sortie' Termansen 8e867908ab Refactor user-space stack creation. 2013-12-17 14:30:41 +01:00
Jonas 'Sortie' Termansen f441066d02 Add MapMemory, ProtectMemory and UnmapMemory utility functions. 2013-12-17 14:30:41 +01:00
Jonas 'Sortie' Termansen b9560409a7 Add virtual address space allocator for user-space. 2013-12-17 14:30:41 +01:00
Jonas 'Sortie' Termansen d71179b540 Refactor kernel segment bookkeeping. 2013-12-17 14:30:41 +01:00
Jonas 'Sortie' Termansen 68aba3d137 Add Memory::GetUserVirtualArea function to the kernel. 2013-12-17 14:30:41 +01:00
Jonas 'Sortie' Termansen 2e64286ae5 Update kernel panic code to current coding conventions. 2013-12-17 14:30:37 +01:00
Jonas 'Sortie' Termansen a44138f72f Remove obsolete attribute macros. 2013-12-17 14:30:37 +01:00
Jonas 'Sortie' Termansen c377f33072 Remove duplicate declaration of addr_t. 2013-12-17 14:30:37 +01:00
Jonas 'Sortie' Termansen b88853de81 Remove obsolete PLATFORM_X86 and PLATFORM_X64 macros. 2013-12-17 14:30:37 +01:00
Jonas 'Sortie' Termansen c77d9395cd Refactor kernel interrupt handling. 2013-12-17 14:30:36 +01:00
Jonas 'Sortie' Termansen 138e279e62 Remove obsolete sortix/{x86,x64}/bits.h headers. 2013-12-17 14:30:36 +01:00
Jonas 'Sortie' Termansen 7a6b4920ce Rename SYSCALL_WAIT to SYSCALL_WAITPID. 2013-12-17 14:30:36 +01:00
Jonas 'Sortie' Termansen 938f722dcb Add tcsetpgrp(2) and tcgetpgrp(2). 2013-12-17 14:30:36 +01:00
Jonas 'Sortie' Termansen b6349e21cb Implement sending signals to process groups. 2013-12-17 14:30:36 +01:00
Jonas 'Sortie' Termansen be0ece3fe0 Add setpgid(2) and getpgid(2). 2013-12-17 14:30:36 +01:00
Jonas 'Sortie' Termansen 5d1fe2620b Add mkpartition(2). 2013-12-17 14:30:36 +01:00
Jonas 'Sortie' Termansen d2aab888d1 Add chroot(2), fchroot(2) and fchrootat(2). 2013-12-17 14:30:35 +01:00
Jonas 'Sortie' Termansen ddf3dd329f Add fchdirat(2). 2013-12-17 14:30:35 +01:00
Jonas 'Sortie' Termansen 3093623f18 Add PCI Bar utility functions. 2013-12-17 14:30:35 +01:00
Jonas 'Sortie' Termansen df0c842b77 Add internal kernel debugger. 2013-12-17 14:30:35 +01:00
Jonas 'Sortie' Termansen cd1cc19b01 Load program symbol tables. 2013-12-17 14:30:35 +01:00
Jonas 'Sortie' Termansen 2525de507c Add kernel symbol support. 2013-12-17 14:30:35 +01:00
Jonas 'Sortie' Termansen 3c6ecd6512 Add umask(2). 2013-12-17 14:30:35 +01:00
Jonas 'Sortie' Termansen 27bdbf1c9d Add utimens support to inodes. 2013-12-17 14:30:35 +01:00
Jonas 'Sortie' Termansen 0903f4edc2 Add times(3). 2013-12-17 14:30:34 +01:00
Jonas 'Sortie' Termansen 3938f80055 Add timens(2). 2013-12-17 14:30:34 +01:00