Fix breakage of last commit.
Add EINTR check back to sb_open(), as FreeBSD for one seem to be able to fail with errno set to it.
Move wrappers out of libsandbox.c. Move IO functions to libsbutil.
Start moving libsandbox only related stuff out of libsbutil.
Remove file_length(), and rather use rc_get_size().
Make sure the first realpath() in get_tmp_dir() failing do not set errno and thus trigger DBG_MSG().
As we are using a symbol map for libsandbox, its no longer needed to have all the internal functions static, and thus we can break things out a bit and make the source layout more sane. Start by moving librcutil to libsbutil, and adding all the defines and helper functions needed by both libsandbox and sandbox.
Add forgotten Makefile.am for librcutil.
Enable building of librcutil.
Rename lib to src.
To not install the librcutils stuff, move it to its own directory where we can create our own Makefile to build a library of the functions we want.
|Powered by ViewVC 1.1.20|