The 'fd_set' size calculation in the current version of the 'poll()' function results in an amount which is smaller than the size of the 'fd_set' data type. With this patch the file descriptor sets get allocated as plain stack variables. Fixes #335.
This patch implements a service which provides the contents of a tar archive via the 'File_system::Session' interface. Configuration: <config> <archive name="tar_archive.tar" /> <policy label="label_of_client" root="/rootdir/for/client" /> </config> Fixes #333.
Explanation why --disable-rpath-hack is needed: When building on pistachio_x86 $(LDFLAGS) contains '-L[...]/l4/lib' which will be transformed by autoconf to '-rpath [...]/l4/lib'. Now the problem at hand is that we pretend to be FreeBSD when we are actually not. So autoconf assumes it is valid to use '-path' when it is actually not. Also we use zlib for (de)compressing gzipped streams/files instead of calling gzip as this currently somewhat buggy.
There are certain programs which need the information that is stored in 'struct passwd'. This commit introduces configurable user information support to NOUX. One can set the user information via <user> in NOUX config: ! <config> ! <user name="baron" uid="1" gid="1"> ! <shell name="/bin/bash" /> ! <home name="/home" /> ! </user> ! [...] ! </config> When <user> is not specified default values are used. Currently these are 'root', 0, 0, '/bin/bash', '/'. Note: this is just a single user implementation because each Noux instance has only one user or rather one identity and there will be no complete multi-user support in Noux. If you need different users, just start new Noux instances for each of them.
Removes getpwent.c from build because the passwd facilities provided by the FreeBSD libc will not be used anyway and add stub functions instead. Now services which need these functions have to implement their own (e.g. libc_noux).
Apparently, GNU make 3.81 picks the generic '%.h' rule instead of the more specific 'rpc/%.h' rule during the preparation of the libc. Changing the order of the rules solves the problem.