/[path-sandbox]/trunk/libsandbox/wrappers.c
Gentoo

Diff of /trunk/libsandbox/wrappers.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 369 Revision 370
8 * 8 *
9 * Partly Copyright (C) 1998-9 Pancrazio `Ezio' de Mauro <p@demauro.net>, 9 * Partly Copyright (C) 1998-9 Pancrazio `Ezio' de Mauro <p@demauro.net>,
10 * as some of the InstallWatch code was used. 10 * as some of the InstallWatch code was used.
11 */ 11 */
12 12
13#include "config.h"
14
15/* Better way would be to only define _GNU_SOURCE when __GLIBC__ is defined,
16 * but including features.h and then defining _GNU_SOURCE do not work */
17#if defined(HAVE_RTLD_NEXT)
18# define _GNU_SOURCE
19#endif
20#include <errno.h>
21#include <dlfcn.h>
22#include <stdarg.h>
23#include <stdio.h>
24#include <stdlib.h>
25#include <string.h>
26#include <limits.h>
27#include <sys/types.h>
28#include <sys/stat.h>
29#include <dirent.h>
30#include <unistd.h>
31#include <fcntl.h>
32
33#include "localdecls.h" 13#include "headers.h"
34#include "sbutil.h" 14#include "sbutil.h"
35#include "libsandbox.h" 15#include "libsandbox.h"
36#include "wrappers.h" 16#include "wrappers.h"
37 17
38#if !defined(BROKEN_RTLD_NEXT) && defined(HAVE_RTLD_NEXT) 18#if !defined(BROKEN_RTLD_NEXT) && defined(HAVE_RTLD_NEXT)

Legend:
Removed from v.369  
changed lines
  Added in v.370

  ViewVC Help
Powered by ViewVC 1.1.20