| … | |
… | |
| 15 | You should have received a copy of the GNU Lesser General Public |
15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with the GNU C Library; if not, write to the Free |
16 | License along with the GNU C Library; if not, write to the Free |
| 17 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
17 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
| 18 | 02111-1307 USA. */ |
18 | 02111-1307 USA. */ |
| 19 | |
19 | |
| 20 | #include <stdio.h> |
|
|
| 21 | #include <stdlib.h> |
|
|
| 22 | #include <string.h> |
|
|
| 23 | #include <unistd.h> |
|
|
| 24 | #include <limits.h> |
|
|
| 25 | #include <sys/param.h> |
|
|
| 26 | #include <sys/stat.h> |
|
|
| 27 | #include <errno.h> |
|
|
| 28 | #include <stddef.h> |
|
|
| 29 | |
|
|
| 30 | #include "config.h" |
|
|
| 31 | #include "localdecls.h" |
20 | #include "headers.h" |
| 32 | |
|
|
| 33 | #include "sbutil.h" |
21 | #include "sbutil.h" |
| 34 | #include "libsandbox.h" |
22 | #include "libsandbox.h" |
| 35 | |
23 | |
| 36 | #ifndef __set_errno |
24 | #ifndef __set_errno |
| 37 | # define __set_errno(val) errno = (val) |
25 | # define __set_errno(val) errno = (val) |