Commit graph

1325 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
263cc21058 Update <sortix/kernel/sortedlist.h> to current coding conventions. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
d5b1d4853d Update kernel/end.cpp to current coding conventions. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
a099f82890 Update kernel memory management to current coding conventions. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
71f9f882d1 Fix readdir(3) not preserving errno in case of end-of-directory condition. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
1e671aa8cd Rename struct kernel_dirent::d_off to d_nextoff.
The d_off field exists on other operating systems and the kernel used the
field in an incompatible manner. The easy solution is to call the field
something else and later address the design mistake.
2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
da933464e5 Add d_namlen, d_dev, and d_type to struct dirent. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
5dd70aa4ff Split libc/dirent/fddir-sortix.cpp into multiple files. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
ddce6045e0 Split libc/dirent/dir.cpp into multiple files. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
d7467e98be Move the declaration of the DIR structure into its own header. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
4f4594037f Sort <sortix/__/types.h> types. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
6788f0096e Preprocess assembly files with the C preprocessor. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
8a49c47742 Include <stdarg.h> in <wchar.h>. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
b08455c4d3 Remove mxmpp. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
1a92a6991d Rename mxsh to sh. 2014-03-01 14:37:40 +01:00
Jonas 'Sortie' Termansen
98a87fa1e5 Rename Sortix kernel directory to kernel. 2014-03-01 14:37:39 +01:00
Jonas 'Sortie' Termansen
18d2695439 Add libdl and librt to libc. 2014-03-01 14:37:39 +01:00
Jonas 'Sortie' Termansen
fba2e26b05 Fix wc(1) argument parsing. 2014-03-01 14:37:39 +01:00
Jonas 'Sortie' Termansen
3d64567bae Fix pwd(1) argument parsing. 2014-03-01 14:37:39 +01:00
Jonas 'Sortie' Termansen
820bafeabf Fix ls(1) argument parsing. 2014-03-01 14:37:39 +01:00
Jonas 'Sortie' Termansen
10daa40f01 Fix du(1) argument parsing. 2014-03-01 14:37:39 +01:00
Jonas 'Sortie' Termansen
581edfb422 Fix cat(1) argument parsing. 2014-03-01 14:37:39 +01:00
Jonas 'Sortie' Termansen
ad3568f2a0 Fix unportable pid_t printing in sortix/scheduler.cpp. 2014-02-23 14:47:56 +01:00
Jonas 'Sortie' Termansen
e94534521c Fix unportable pid_t printing in sortix/kernel.cpp. 2014-02-23 14:47:50 +01:00
Jonas 'Sortie' Termansen
c11b1aba9e Fix unportable pid_t printing in sortix/interrupt.cpp. 2014-02-23 14:47:42 +01:00
Jonas 'Sortie' Termansen
4c1d36fd11 Fix setuid(2) calling sys_getuid rather than sys_setuid. 2014-02-23 14:47:22 +01:00
Jonas 'Sortie' Termansen
478db91c3e Fix setgid(2) calling sys_getgid rather than sys_setgid. 2014-02-23 14:47:22 +01:00
Jonas 'Sortie' Termansen
aa9f642df2 Fix seteuid(2) calling sys_geteuid rather than sys_seteuid. 2014-02-23 14:47:22 +01:00
Jonas 'Sortie' Termansen
3163f4600d Fix setegid(2) calling sys_getegid rather than sys_setegid. 2014-02-23 14:47:21 +01:00
Jonas 'Sortie' Termansen
142b2c66c4 Fix symlinkat(2) calling sys_linkat rather than sys_symlinkat. 2014-02-23 14:47:21 +01:00
Jonas 'Sortie' Termansen
4227d97f55 Fix send(2) calling sys_recv rather than sys_send. 2014-02-23 14:47:21 +01:00
Jonas 'Sortie' Termansen
7518b5da12 Remove ASLFAGS from kernel Makefile. 2014-02-16 12:38:05 +01:00
Jonas 'Sortie' Termansen
73e44a5ff5 Fix wrong return type of ModeToDT kernel function. 2014-02-16 12:38:05 +01:00
Jonas 'Sortie' Termansen
0235fc3a62 Fix wrong return value for fcntl(F_SETFL, ...). 2014-02-16 12:38:05 +01:00
Jonas 'Sortie' Termansen
31c310036c Fix lseek changing errno in fdio_install_fd when no real error occurs. 2014-02-16 12:38:04 +01:00
Jonas 'Sortie' Termansen
fd5b40de26 Fix wrong return types in towlower(3) and towupper(3) implementations. 2014-02-13 15:49:48 +01:00
Jonas 'Sortie' Termansen
926ce2c6c8 Silence uninitialized variable warning in tix-execpatch(1). 2014-02-06 00:15:03 +01:00
Jonas 'Sortie' Termansen
061eddff91 Silence uninitialized variable warning in wcrtomb(3). 2014-02-06 00:15:03 +01:00
Jonas 'Sortie' Termansen
140dfe22fc Fix memory leak in getlogin_r(3). 2014-02-06 00:15:03 +01:00
Jonas 'Sortie' Termansen
5c58b65546 Fix range check in sigismember(3). 2014-02-02 23:14:02 +01:00
Jonas 'Sortie' Termansen
6af85a5dd8 Fix negated return value in sigisemptyset(3). 2014-02-02 23:14:02 +01:00
Jonas 'Sortie' Termansen
9d7a032f80 Fix tix programs not including <signal.h> to get SIGPIPE. 2014-02-02 23:13:06 +01:00
Jonas 'Sortie' Termansen
2a652ed1a8 Fix doc/obsolete-stuff not listing gethostbyaddr. 2014-01-23 17:37:26 +01:00
Jonas 'Sortie' Termansen
b5d80ee5d1 Fix %T in strftime(3) being incorrectly implemented. 2014-01-19 22:47:52 +01:00
Jonas 'Sortie' Termansen
d4e7934828 Fix insecure user-space pointer dereferences in sys_kernelinfo. 2014-01-19 22:47:52 +01:00
Jonas 'Sortie' Termansen
8f8f09ac82 Fix insecure user-space pointer dereferences in sys_tfork. 2014-01-19 22:47:52 +01:00
Jonas 'Sortie' Termansen
08c11ee45c Fix insecure user-space pointer dereferences in sys_waitpid. 2014-01-19 22:47:52 +01:00
Jonas 'Sortie' Termansen
08df67eef2 Fix insecure user-space pointer dereferences in sys_memstat. 2014-01-19 22:47:51 +01:00
Jonas 'Sortie' Termansen
cab62b77d5 Fix fcntl(fd, F_SETFL, x) not setting the descriptor flags properly. 2014-01-19 00:32:11 +01:00
Jonas 'Sortie' Termansen
187cdf03dc Fix accept4 ignoring addrlen parameter as input. 2014-01-19 00:32:11 +01:00
Jonas 'Sortie' Termansen
6473d72621 Fix bugs in vprintf_callback(3) and improve %c and %s support. 2014-01-18 16:30:56 +01:00