1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
No description
Find a file
Jonas 'Sortie' Termansen 3c43f71084 Implement file descriptor passing.
This change refactors the Unix socket / pipe backend to have a ring buffer
containing segments, where each segment has an optional leading ancillary
buffer containing control messages followed by a normal data buffer.

The SCM_RIGHTS control message has been implemented which transfers file
descriptors to the receiving process. File descriptors are reference counted
and cycles are prevented using the following restrictions:

1) Unix sockets cannot be sent on themselves (on either end).
2) Unix sockets themselves being sent cannot be sent on.
3) Unix sockets cannot send a Unix socket being sent on.

This is a compatible ABI change.
2021-12-31 22:24:11 +01:00
bench
build-aux Add presubmit. 2021-10-10 00:07:06 +02:00
carray Fix carray(1) wrongly mentioning the -i option that is currently compatibility. 2018-07-17 12:25:52 +02:00
checksum Add checksum(1). 2020-09-27 22:15:20 +02:00
disked Fix byte unit suffixes being called prefixes in disked(8). 2018-03-30 23:42:37 +02:00
dispd
dnsconfig Add dnsconfig(8). 2021-10-09 21:11:56 +03:00
doc Update porting guide to reflect Sortix in upstream config.sub. 2021-08-20 13:06:46 +03:00
editor Add search to editor(1). 2021-12-13 09:52:21 +02:00
ext Fix st_blocks being wrong on ext2. 2021-01-19 23:20:05 +01:00
games
hostname
init Add /var/cache, /var/log, and /var/run. 2021-05-30 23:50:42 +02:00
kblayout Add Finnish Multilingual keyboard layout 2021-05-02 20:12:33 +03:00
kblayout-compiler Add bare +altgr/-altgr modifier support to kblayout-compiler(1) 2021-05-02 20:08:21 +03:00
kernel Implement file descriptor passing. 2021-12-31 22:24:11 +01:00
libc Implement file descriptor passing. 2021-12-31 22:24:11 +01:00
libm Fix pow(3) and powf(3) regression in earlier undefined behavior fix. 2020-12-07 16:44:19 +01:00
libmount The Master Boot Record counts numbers of 512 bytes rather than sectors. 2021-06-17 23:58:19 +02:00
login Add header for working with the PS/2 mouse protocol. 2021-12-12 20:34:07 +02:00
mkinitrd Fix memory leak in mkinitrd(1) AddRulesFromFile error path. 2018-08-06 23:59:35 +02:00
regress Implement file descriptor passing. 2021-12-31 22:24:11 +01:00
rw Include <strings.h> in rw(1) to get strcasecmp(3). 2018-04-15 18:06:49 +02:00
sf
sh Fix shell double quoting escaping non-special characters. 2021-09-13 20:37:56 +02:00
share Implement file descriptor passing. 2021-12-31 22:24:11 +01:00
sysinstall Improve error handling in upgrade.conf(5) parsing. 2021-01-19 00:04:59 +01:00
tix Add porttix-create support for a secondary tarball. 2021-07-21 14:01:06 +02:00
trianglix Fix code relying on <stdio.h> including <stdarg.h>. 2018-08-06 23:59:34 +02:00
update-initrd
utils Fix unused variable warning in pstree(1). 2021-12-12 22:13:05 +01:00
.gitignore
LICENSE
Makefile Implement file descriptor passing. 2021-12-31 22:24:11 +01:00
README

The Sortix Operating System
===========================

Sortix is a small self-hosting operating-system aiming to be a clean and modern
POSIX implementation.  It is a hobbyist operating system written from scratch
with its own base system, including kernel and standard library, as well as
ports of third party software.  It has a straightforward installer and can be
developed under itself.  Releases come with the source code in /src, ready for
tinkering.

It has been in development since 2011 by a single developer and contributors.
Though the system is stable and capable right now, it is still early in
development, and a number of crucial features haven't been made yet.  Releases
are made yearly and future releases will add features such as networking, SMP,
and USB that were skipped in favor of becoming self-hosting now.

Documentation
-------------

The system is documented as manual pages.  Introductory system usage is covered
in the user-guide(7) manual page.

Links
-----

For more information, please visit the official website:

  https://sortix.org/

Building Sortix
---------------

Development of Sortix under itself is covered in development(7).

Development from another operating system is covered in cross-development(7).

You can view the cross-development(7) manual page with this command:

  man share/man/man7/cross-development.7

License
-------

Copyright 2011-2016 Jonas 'Sortie' Termansen and contributors.

Sortix is free software licensed under the ISC license as described in the
LICENSE file.  It also contains permissively licensed code from other projects.