Commit graph

1288 commits

Author SHA1 Message Date
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
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
bfc8570bb8 Fix libc function implementations without extern "C" linkage. 2014-01-18 16:30:56 +01:00
Jonas 'Sortie' Termansen
7c3df4e4f7 Fix <FILE.h> not being wrapped in __BEGIN_DECLS and __END_DECLS. 2014-01-18 16:30:55 +01:00
Jonas 'Sortie' Termansen
a4220d5b5f Fix incorrect usage of __is_sortix_foo macros in preprocessor conditionals.
These macros might not be defined, in which case this usage would have
generated warnings had they not been in system headers.
2014-01-18 16:30:55 +01:00
Jonas 'Sortie' Termansen
c57b5fe176 Fix tix-build(1) not preserving PKG_CONFIG_LIBDIR in PKG_CONFIG_FOR_BUILD. 2014-01-18 16:30:55 +01:00
Jonas 'Sortie' Termansen
7b02492649 Fix MAKEFLAGS not being correctly purified in tix-build(1). 2014-01-18 16:30:55 +01:00
Jonas 'Sortie' Termansen
2f02d5287e Add missing includes to <sortix/display.h>. 2013-12-30 20:46:22 +01:00
Jonas 'Sortie' Termansen
a66bb2900a Fix unportable pid_t parsing in sh(1). 2013-12-30 20:46:22 +01:00
Jonas 'Sortie' Termansen
7bc8ccd46f Fix unportable gid_t and uid_t parsing in fgetpwent_r(3). 2013-12-30 20:46:22 +01:00
Jonas 'Sortie' Termansen
ace4a6cc54 Fix unportable gid_t parsing in fgetgrent_r(3). 2013-12-30 20:46:22 +01:00
Jonas 'Sortie' Termansen
ac3928bfc8 Fix unportable pid_t printing in calltrace(3). 2013-12-30 20:46:22 +01:00
Jonas 'Sortie' Termansen
7fbd8cdfa6 Fix Sortix::Process::GetParentProcessId forward declaration return type. 2013-12-30 20:46:22 +01:00
Jonas 'Sortie' Termansen
f47cb98b97 Fix wrong return type in getpgid(2) implementation. 2013-12-30 20:19:00 +01:00
Jonas 'Sortie' Termansen
93778ef5da Begin development of Sortix 0.9. 2013-12-20 00:53:27 +01:00
Jonas 'Sortie' Termansen
15aca20f6f Update version number to 0.8. 2013-12-19 18:09:08 +01:00
Jonas 'Sortie' Termansen
178bb495c2 Add ports system. 2013-12-19 18:09:08 +01:00
Jonas 'Sortie' Termansen
b0d07b9142 Add the Tix package management system. 2013-12-19 18:09:08 +01:00
Jonas 'Sortie' Termansen
dce618af93 Add local harddisk boot option. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen
df419bdf55 Port Sortix build system to Sortix. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen
4cffc6b77b Add fnmatch(3). 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen
500d3bb38b Add symlink(2) and symlinkat(2) stub. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen
a0e2934c8c Recover kernel log during emergencies. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen
eb831479fb Implement AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen
2311d634ac Add O_SYMLINK_NOFOLLOW. 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen
7651519f96 Color executables in ls(1). 2013-12-19 17:42:08 +01:00
Jonas 'Sortie' Termansen
c407a24863 Allow the kernel to write to harddisks by default. 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen
48931408f4 Make FILE a macro that expands to FILE.
This solves a compatibility problem with libgmp that erroneously attempts to
detect whether <stdio.h> has been included, but doesn't know what the include
guards for Sortix libc are.
2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen
866efbd11c Improve error message in case VGA text mode is unavailable. 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen
951ecb625b Improve error message in case the initrd is too big. 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen
f8e7553187 Add false(1) and true(1). 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen
425069cbf1 Add documentation. 2013-12-19 17:42:07 +01:00
Jonas 'Sortie' Termansen
184fce3cf3 Add basic wildcard support to the shell. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen
5703540c0f Start the initial root shell in root's home directory. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen
b3b2e99b9c Perform only home path substitution in the shell if HOME is set. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen
5582cb4065 Set the root user's home directory, username and shell in init. 2013-12-17 14:30:46 +01:00
Jonas 'Sortie' Termansen
6a9eee3238 Add brand.h. 2013-12-17 14:30:46 +01:00