Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Mike Frysinger <vapier@g.o>
From: "C. Bergström" <cbergstrom@...>
Subject: Re: Any interest in sandbox on (open)solaris?
Date: Thu, 29 Jan 2009 10:03:11 +0100
Mike Frysinger wrote:
> On Wednesday 28 January 2009 19:01:07 C. Bergström wrote:
>   
>> It builds.. it runs.. and now trying to get it to run correctly..
>> (forgive the verbose post please)  I've been building everything as
>> 64bit.. and wonder if I need a 32bit libsandbox.so as well?  (I need to
>> fix scanelf as it's been broken, but that wouldn't account for why rm
>> gave the same error)
>>     
>
> you need a binary version for whatever you want to protect.  if you arent 
> running 32bit programs during normal build/install, then you wont need a 32bit 
> libsandbox.  not sure multilib will even work atm with non-standard lib paths 
> though.
>
>   
>> Small note.. this seems to be needed..
>> SANDBOX_WRITE="/dev/fd:/proc/self/fd:/dev/dtrace/helper"
>>     
>
> i'm guessing you're only talking about /dev/dtrace/helper ... in that case, 
> you should be able to drop that into /etc/sandbox.d/
>
>   
>> ld.so.1: install: fatal: libsandbox.so: open failed: No such file or
>> directory
>>     
>
> this should be fixed in latest sandbox already ... so make sure you're using 
> sandbox-1.3.3 or newer
>
>   
>> "../libsbutil/sbutil.h", line 101: warning: attribute parameter
>> "__printf__" is undefined
>>     
>
> i imagine there's an autoconf test somewhere for this i can steal.  or we just 
> ignore it.
>
>   
>> "wrapper-funcs/__wrapper_simple.c", line 31:
>> warning: assignment type mismatch: pointer to function(pointer to const
>> char, unsigned long) returning int "=" pointer to void
>> "symbols.h", line 30: warning: syntax error:  empty declaration
>>     
>
> could you post symbols.h as an attachment ?  this is generated on the fly, so 
> line numbers are useless w/out the generated file.
>
>   
>> "wrapper-funcs/__wrapper_simple.c", line 21: syntax error before or at:
>> __off64_t
>>     
>
> will have to figure out how LFS is handled on opensolaris ... maybe assuming 
> the __XXX form exists is bad mojo.
>   
A few small and more recent patches I had to add..

--- libsandbox/memory.c.old     2009-01-29 07:28:47.312601827 -0800
+++ libsandbox/memory.c 2009-01-29 07:30:55.834594791 -0800
@@ -11,6 +11,8 @@
 #include "libsandbox.h"
 #include "sbutil.h"

+#define  MIN(x, y)               ((x) < (y) ? (x) : (y))
+
 #define SB_MALLOC_TO_MMAP(ptr) ((void*)(((size_t*)ptr) - 1))
 #define SB_MMAP_TO_MALLOC(ptr) ((void*)(((size_t*)ptr) + 1))
 #define SB_MALLOC_TO_SIZE(ptr) (*((size_t*)SB_MALLOC_TO_MMAP(ptr)))

--- libsbutil/get_tmp_dir.c.old 2009-01-29 07:08:59.114359101 -0800
+++ libsbutil/get_tmp_dir.c     2009-01-29 07:09:31.921878506 -0800
@@ -17,7 +17,7 @@
 {
        save_errno();

-       if (NULL == realpath(getenv(ENV_TMPDIR) ? : TMPDIR, path))
+       if (NULL == realpath(getenv(ENV_TMPDIR) ? getenv(ENV_TMPDIR) : 
TMPDIR, path))
                if (NULL == realpath(TMPDIR, path))
                        return -1;



I have some missing symbols and end up adding 'LIBS=-lmagic'  Which I 
think is causing further problems..

(Not sure this is correct and then ultimately causing the error below, 
but fixed a similar problem)
--- libsandbox/Makefile.in.old  2009-01-29 23:41:03.071332311 -0800
+++ libsandbox/Makefile.in      2009-01-29 23:41:31.923431471 -0800
@@ -291,7 +291,7 @@
          rm -f "$${dir}/so_locations"; \
        done
 libsandbox.la: $(libsandbox_la_OBJECTS) $(libsandbox_la_DEPENDENCIES)
-       $(libsandbox_la_LINK) -rpath $(libdir) $(libsandbox_la_OBJECTS) 
$(libsandbox_la_LIBADD) $(LIBS)
+       $(libsandbox_la_LINK) --use-libtool-rpath  
$(libsandbox_la_OBJECTS) $(libsandbox_la_LIBADD) $(LIBS)

 mostlyclean-compile:
        -rm -f *.$(OBJEXT)

/bin/sh ../libtool --tag=CC   --mode=link /opt/SUNWspro/prod/bin/cc 
-DOUTSIDE_LIBSANDBOX -i -xO4 -xspace -xstrconst -Kpic -fast 
-xregs=no%frameptr -m64  -ztext -m64 -o sandbox sandbox-environ.o 
sandbox-sandbox.o ../libsbutil/libsbutil.la -lmagic -m64
mkdir .libs
/opt/SUNWspro/prod/bin/cc -DOUTSIDE_LIBSANDBOX -i -xO4 -xspace 
-xstrconst -Kpic -fast -xregs=no%frameptr -m64 -ztext -m64 -o sandbox 
sandbox-environ.o sandbox-sandbox.o -m64  ../libsbutil/.libs/libsbutil.a 
/usr/lib/libmagic.so -lz 
ld: fatal: file /usr/lib/libmagic.so: wrong ELF class: ELFCLASS32
ld: fatal: file processing errors. No output written to sandbox

When I made libmagic.so multilib that's when this stopped working.. So 
it was only coincidence it was working before..  If you merge any 
changes I'll pick them up since I'm currently using git tip..  The error 
regarding

ld.so.1: install: fatal: libsandbox.so: open failed: No such file or
> directory

is 99.9% because I'm missing the 32bit libsandbox.so..

sun cc flat out dies with -Wall.  -v iirc is the equivalent and if it's 
turned on by default that's fine, but something that can be 
disabled/overridden would be great..  For the other stuff I'll 
investigate..  (I could also do some extra trickery with calls cw 
instead of cc so it translates gcc options and then invokes the 
compiler, but that I suspect would lead to even more complexity.)

Thanks a lot for your help Mike..

./C



#ifndef __symbols_h
#define __symbols_h

#define SB_NR_UNDEF -99999

#define symname_chmod_DEFAULT "chmod"
#define symver_chmod_DEFAULT NULL
#define STRING_NAME "chmod"
#define EXTERN_NAME chmod
#define WRAPPER_NAME chmod_DEFAULT
#define WRAPPER_TRUE_NAME true_chmod_DEFAULT
#define WRAPPER_SYMNAME symname_chmod_DEFAULT
#define WRAPPER_SYMVER symver_chmod_DEFAULT
#define SB_NR_CHMOD 1
#define WRAPPER_NR SB_NR_CHMOD
#include "wrapper-funcs/chmod.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(chmod_DEFAULT, chmod);

#define SB_NR_FCHMODAT SB_NR_UNDEF
#define symname_chown_DEFAULT "chown"
#define symver_chown_DEFAULT NULL
#define STRING_NAME "chown"
#define EXTERN_NAME chown
#define WRAPPER_NAME chown_DEFAULT
#define WRAPPER_TRUE_NAME true_chown_DEFAULT
#define WRAPPER_SYMNAME symname_chown_DEFAULT
#define WRAPPER_SYMVER symver_chown_DEFAULT
#define SB_NR_CHOWN 3
#define WRAPPER_NR SB_NR_CHOWN
#include "wrapper-funcs/chown.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(chown_DEFAULT, chown);

#define symname_fchownat_DEFAULT "fchownat"
#define symver_fchownat_DEFAULT NULL
#define STRING_NAME "fchownat"
#define EXTERN_NAME fchownat
#define WRAPPER_NAME fchownat_DEFAULT
#define WRAPPER_TRUE_NAME true_fchownat_DEFAULT
#define WRAPPER_SYMNAME symname_fchownat_DEFAULT
#define WRAPPER_SYMVER symver_fchownat_DEFAULT
#define SB_NR_FCHOWNAT 4
#define WRAPPER_NR SB_NR_FCHOWNAT
#include "wrapper-funcs/fchownat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(fchownat_DEFAULT, fchownat);

#define symname_open_DEFAULT "open"
#define symver_open_DEFAULT NULL
#define STRING_NAME "open"
#define EXTERN_NAME open
#define WRAPPER_NAME open_DEFAULT
#define WRAPPER_TRUE_NAME true_open_DEFAULT
#define WRAPPER_SYMNAME symname_open_DEFAULT
#define WRAPPER_SYMVER symver_open_DEFAULT
#define SB_NR_OPEN 5
#define WRAPPER_NR SB_NR_OPEN
#include "wrapper-funcs/open.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(open_DEFAULT, open);

#define symname_openat_DEFAULT "openat"
#define symver_openat_DEFAULT NULL
#define STRING_NAME "openat"
#define EXTERN_NAME openat
#define WRAPPER_NAME openat_DEFAULT
#define WRAPPER_TRUE_NAME true_openat_DEFAULT
#define WRAPPER_SYMNAME symname_openat_DEFAULT
#define WRAPPER_SYMVER symver_openat_DEFAULT
#define SB_NR_OPENAT 6
#define WRAPPER_NR SB_NR_OPENAT
#include "wrapper-funcs/openat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(openat_DEFAULT, openat);

#define symname_creat_DEFAULT "creat"
#define symver_creat_DEFAULT NULL
#define STRING_NAME "creat"
#define EXTERN_NAME creat
#define WRAPPER_NAME creat_DEFAULT
#define WRAPPER_TRUE_NAME true_creat_DEFAULT
#define WRAPPER_SYMNAME symname_creat_DEFAULT
#define WRAPPER_SYMVER symver_creat_DEFAULT
#define SB_NR_CREAT 7
#define WRAPPER_NR SB_NR_CREAT
#include "wrapper-funcs/creat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(creat_DEFAULT, creat);

#define symname_fopen_DEFAULT "fopen"
#define symver_fopen_DEFAULT NULL
#define STRING_NAME "fopen"
#define EXTERN_NAME fopen
#define WRAPPER_NAME fopen_DEFAULT
#define WRAPPER_TRUE_NAME true_fopen_DEFAULT
#define WRAPPER_SYMNAME symname_fopen_DEFAULT
#define WRAPPER_SYMVER symver_fopen_DEFAULT
#define SB_NR_FOPEN 8
#define WRAPPER_NR SB_NR_FOPEN
#include "wrapper-funcs/fopen.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(fopen_DEFAULT, fopen);

#define symname_lchown_DEFAULT "lchown"
#define symver_lchown_DEFAULT NULL
#define STRING_NAME "lchown"
#define EXTERN_NAME lchown
#define WRAPPER_NAME lchown_DEFAULT
#define WRAPPER_TRUE_NAME true_lchown_DEFAULT
#define WRAPPER_SYMNAME symname_lchown_DEFAULT
#define WRAPPER_SYMVER symver_lchown_DEFAULT
#define SB_NR_LCHOWN 9
#define WRAPPER_NR SB_NR_LCHOWN
#include "wrapper-funcs/lchown.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(lchown_DEFAULT, lchown);

#define symname_link_DEFAULT "link"
#define symver_link_DEFAULT NULL
#define STRING_NAME "link"
#define EXTERN_NAME link
#define WRAPPER_NAME link_DEFAULT
#define WRAPPER_TRUE_NAME true_link_DEFAULT
#define WRAPPER_SYMNAME symname_link_DEFAULT
#define WRAPPER_SYMVER symver_link_DEFAULT
#define SB_NR_LINK 10
#define WRAPPER_NR SB_NR_LINK
#include "wrapper-funcs/link.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(link_DEFAULT, link);

#define SB_NR_LINKAT SB_NR_UNDEF
#define symname_mkdir_DEFAULT "mkdir"
#define symver_mkdir_DEFAULT NULL
#define STRING_NAME "mkdir"
#define EXTERN_NAME mkdir
#define WRAPPER_NAME mkdir_DEFAULT
#define WRAPPER_TRUE_NAME true_mkdir_DEFAULT
#define WRAPPER_SYMNAME symname_mkdir_DEFAULT
#define WRAPPER_SYMVER symver_mkdir_DEFAULT
#define SB_NR_MKDIR 12
#define WRAPPER_NR SB_NR_MKDIR
#include "wrapper-funcs/mkdir.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(mkdir_DEFAULT, mkdir);

#define SB_NR_MKDIRAT SB_NR_UNDEF
#define symname_opendir_DEFAULT "opendir"
#define symver_opendir_DEFAULT NULL
#define STRING_NAME "opendir"
#define EXTERN_NAME opendir
#define WRAPPER_NAME opendir_DEFAULT
#define WRAPPER_TRUE_NAME true_opendir_DEFAULT
#define WRAPPER_SYMNAME symname_opendir_DEFAULT
#define WRAPPER_SYMVER symver_opendir_DEFAULT
#define SB_NR_OPENDIR 14
#define WRAPPER_NR SB_NR_OPENDIR
#include "wrapper-funcs/opendir.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(opendir_DEFAULT, opendir);

#define symname_mknod_DEFAULT "mknod"
#define symver_mknod_DEFAULT NULL
#define STRING_NAME "mknod"
#define EXTERN_NAME mknod
#define WRAPPER_NAME mknod_DEFAULT
#define WRAPPER_TRUE_NAME true_mknod_DEFAULT
#define WRAPPER_SYMNAME symname_mknod_DEFAULT
#define WRAPPER_SYMVER symver_mknod_DEFAULT
#define SB_NR_MKNOD 15
#define WRAPPER_NR SB_NR_MKNOD
#include "wrapper-funcs/mknod.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(mknod_DEFAULT, mknod);

#define SB_NR_MKNODAT SB_NR_UNDEF
#define SB_NR___XMKNOD SB_NR_UNDEF
#define symname_mkfifo_DEFAULT "mkfifo"
#define symver_mkfifo_DEFAULT NULL
#define STRING_NAME "mkfifo"
#define EXTERN_NAME mkfifo
#define WRAPPER_NAME mkfifo_DEFAULT
#define WRAPPER_TRUE_NAME true_mkfifo_DEFAULT
#define WRAPPER_SYMNAME symname_mkfifo_DEFAULT
#define WRAPPER_SYMVER symver_mkfifo_DEFAULT
#define SB_NR_MKFIFO 18
#define WRAPPER_NR SB_NR_MKFIFO
#include "wrapper-funcs/mkfifo.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(mkfifo_DEFAULT, mkfifo);

#define SB_NR_MKFIFOAT SB_NR_UNDEF
#define symname_access_DEFAULT "access"
#define symver_access_DEFAULT NULL
#define STRING_NAME "access"
#define EXTERN_NAME access
#define WRAPPER_NAME access_DEFAULT
#define WRAPPER_TRUE_NAME true_access_DEFAULT
#define WRAPPER_SYMNAME symname_access_DEFAULT
#define WRAPPER_SYMVER symver_access_DEFAULT
#define SB_NR_ACCESS 20
#define WRAPPER_NR SB_NR_ACCESS
#include "wrapper-funcs/access.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(access_DEFAULT, access);

#define SB_NR_FACCESSAT SB_NR_UNDEF
#define symname_rename_DEFAULT "rename"
#define symver_rename_DEFAULT NULL
#define STRING_NAME "rename"
#define EXTERN_NAME rename
#define WRAPPER_NAME rename_DEFAULT
#define WRAPPER_TRUE_NAME true_rename_DEFAULT
#define WRAPPER_SYMNAME symname_rename_DEFAULT
#define WRAPPER_SYMVER symver_rename_DEFAULT
#define SB_NR_RENAME 22
#define WRAPPER_NR SB_NR_RENAME
#include "wrapper-funcs/rename.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(rename_DEFAULT, rename);

#define symname_renameat_DEFAULT "renameat"
#define symver_renameat_DEFAULT NULL
#define STRING_NAME "renameat"
#define EXTERN_NAME renameat
#define WRAPPER_NAME renameat_DEFAULT
#define WRAPPER_TRUE_NAME true_renameat_DEFAULT
#define WRAPPER_SYMNAME symname_renameat_DEFAULT
#define WRAPPER_SYMVER symver_renameat_DEFAULT
#define SB_NR_RENAMEAT 23
#define WRAPPER_NR SB_NR_RENAMEAT
#include "wrapper-funcs/renameat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(renameat_DEFAULT, renameat);

#define symname_rmdir_DEFAULT "rmdir"
#define symver_rmdir_DEFAULT NULL
#define STRING_NAME "rmdir"
#define EXTERN_NAME rmdir
#define WRAPPER_NAME rmdir_DEFAULT
#define WRAPPER_TRUE_NAME true_rmdir_DEFAULT
#define WRAPPER_SYMNAME symname_rmdir_DEFAULT
#define WRAPPER_SYMVER symver_rmdir_DEFAULT
#define SB_NR_RMDIR 24
#define WRAPPER_NR SB_NR_RMDIR
#include "wrapper-funcs/rmdir.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(rmdir_DEFAULT, rmdir);

#define symname_symlink_DEFAULT "symlink"
#define symver_symlink_DEFAULT NULL
#define STRING_NAME "symlink"
#define EXTERN_NAME symlink
#define WRAPPER_NAME symlink_DEFAULT
#define WRAPPER_TRUE_NAME true_symlink_DEFAULT
#define WRAPPER_SYMNAME symname_symlink_DEFAULT
#define WRAPPER_SYMVER symver_symlink_DEFAULT
#define SB_NR_SYMLINK 25
#define WRAPPER_NR SB_NR_SYMLINK
#include "wrapper-funcs/symlink.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(symlink_DEFAULT, symlink);

#define SB_NR_SYMLINKAT SB_NR_UNDEF
#define symname_truncate_DEFAULT "truncate"
#define symver_truncate_DEFAULT NULL
#define STRING_NAME "truncate"
#define EXTERN_NAME truncate
#define WRAPPER_NAME truncate_DEFAULT
#define WRAPPER_TRUE_NAME true_truncate_DEFAULT
#define WRAPPER_SYMNAME symname_truncate_DEFAULT
#define WRAPPER_SYMVER symver_truncate_DEFAULT
#define SB_NR_TRUNCATE 27
#define WRAPPER_NR SB_NR_TRUNCATE
#include "wrapper-funcs/truncate.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(truncate_DEFAULT, truncate);

#define symname_unlink_DEFAULT "unlink"
#define symver_unlink_DEFAULT NULL
#define STRING_NAME "unlink"
#define EXTERN_NAME unlink
#define WRAPPER_NAME unlink_DEFAULT
#define WRAPPER_TRUE_NAME true_unlink_DEFAULT
#define WRAPPER_SYMNAME symname_unlink_DEFAULT
#define WRAPPER_SYMVER symver_unlink_DEFAULT
#define SB_NR_UNLINK 28
#define WRAPPER_NR SB_NR_UNLINK
#include "wrapper-funcs/unlink.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(unlink_DEFAULT, unlink);

#define symname_unlinkat_DEFAULT "unlinkat"
#define symver_unlinkat_DEFAULT NULL
#define STRING_NAME "unlinkat"
#define EXTERN_NAME unlinkat
#define WRAPPER_NAME unlinkat_DEFAULT
#define WRAPPER_TRUE_NAME true_unlinkat_DEFAULT
#define WRAPPER_SYMNAME symname_unlinkat_DEFAULT
#define WRAPPER_SYMVER symver_unlinkat_DEFAULT
#define SB_NR_UNLINKAT 29
#define WRAPPER_NR SB_NR_UNLINKAT
#include "wrapper-funcs/unlinkat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(unlinkat_DEFAULT, unlinkat);

#define symname_getcwd_DEFAULT "getcwd"
#define symver_getcwd_DEFAULT NULL
#define STRING_NAME "getcwd"
#define EXTERN_NAME getcwd
#define WRAPPER_NAME getcwd_DEFAULT
#define WRAPPER_TRUE_NAME true_getcwd_DEFAULT
#define WRAPPER_SYMNAME symname_getcwd_DEFAULT
#define WRAPPER_SYMVER symver_getcwd_DEFAULT
#define SB_NR_GETCWD 30
#define WRAPPER_NR SB_NR_GETCWD
#include "wrapper-funcs/getcwd.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(getcwd_DEFAULT, getcwd);

#define symname_open64_DEFAULT "open64"
#define symver_open64_DEFAULT NULL
#define STRING_NAME "open64"
#define EXTERN_NAME open64
#define WRAPPER_NAME open64_DEFAULT
#define WRAPPER_TRUE_NAME true_open64_DEFAULT
#define WRAPPER_SYMNAME symname_open64_DEFAULT
#define WRAPPER_SYMVER symver_open64_DEFAULT
#define SB_NR_OPEN64 31
#define WRAPPER_NR SB_NR_OPEN64
#include "wrapper-funcs/open64.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(open64_DEFAULT, open64);

#define symname_openat64_DEFAULT "openat64"
#define symver_openat64_DEFAULT NULL
#define STRING_NAME "openat64"
#define EXTERN_NAME openat64
#define WRAPPER_NAME openat64_DEFAULT
#define WRAPPER_TRUE_NAME true_openat64_DEFAULT
#define WRAPPER_SYMNAME symname_openat64_DEFAULT
#define WRAPPER_SYMVER symver_openat64_DEFAULT
#define SB_NR_OPENAT64 32
#define WRAPPER_NR SB_NR_OPENAT64
#include "wrapper-funcs/openat64.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(openat64_DEFAULT, openat64);

#define symname_creat64_DEFAULT "creat64"
#define symver_creat64_DEFAULT NULL
#define STRING_NAME "creat64"
#define EXTERN_NAME creat64
#define WRAPPER_NAME creat64_DEFAULT
#define WRAPPER_TRUE_NAME true_creat64_DEFAULT
#define WRAPPER_SYMNAME symname_creat64_DEFAULT
#define WRAPPER_SYMVER symver_creat64_DEFAULT
#define SB_NR_CREAT64 33
#define WRAPPER_NR SB_NR_CREAT64
#include "wrapper-funcs/creat64.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(creat64_DEFAULT, creat64);

#define symname_fopen64_DEFAULT "fopen64"
#define symver_fopen64_DEFAULT NULL
#define STRING_NAME "fopen64"
#define EXTERN_NAME fopen64
#define WRAPPER_NAME fopen64_DEFAULT
#define WRAPPER_TRUE_NAME true_fopen64_DEFAULT
#define WRAPPER_SYMNAME symname_fopen64_DEFAULT
#define WRAPPER_SYMVER symver_fopen64_DEFAULT
#define SB_NR_FOPEN64 34
#define WRAPPER_NR SB_NR_FOPEN64
#include "wrapper-funcs/fopen64.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
/*strong_alias(fopen64_DEFAULT, fopen64);*/

#define symname_truncate64_DEFAULT "truncate64"
#define symver_truncate64_DEFAULT NULL
#define STRING_NAME "truncate64"
#define EXTERN_NAME truncate64
#define WRAPPER_NAME truncate64_DEFAULT
#define WRAPPER_TRUE_NAME true_truncate64_DEFAULT
#define WRAPPER_SYMNAME symname_truncate64_DEFAULT
#define WRAPPER_SYMVER symver_truncate64_DEFAULT
#define SB_NR_TRUNCATE64 35
#define WRAPPER_NR SB_NR_TRUNCATE64
#include "wrapper-funcs/truncate64.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(truncate64_DEFAULT, truncate64);

#define symname_execve_DEFAULT "execve"
#define symver_execve_DEFAULT NULL
#define STRING_NAME "execve"
#define EXTERN_NAME execve
#define WRAPPER_NAME execve_DEFAULT
#define WRAPPER_TRUE_NAME true_execve_DEFAULT
#define WRAPPER_SYMNAME symname_execve_DEFAULT
#define WRAPPER_SYMVER symver_execve_DEFAULT
#define SB_NR_EXECVE 36
#define WRAPPER_NR SB_NR_EXECVE
#include "wrapper-funcs/execve.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(execve_DEFAULT, execve);

#define symname_utime_DEFAULT "utime"
#define symver_utime_DEFAULT NULL
#define STRING_NAME "utime"
#define EXTERN_NAME utime
#define WRAPPER_NAME utime_DEFAULT
#define WRAPPER_TRUE_NAME true_utime_DEFAULT
#define WRAPPER_SYMNAME symname_utime_DEFAULT
#define WRAPPER_SYMVER symver_utime_DEFAULT
#define SB_NR_UTIME 37
#define WRAPPER_NR SB_NR_UTIME
#include "wrapper-funcs/utime.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(utime_DEFAULT, utime);

#define symname_utimes_DEFAULT "utimes"
#define symver_utimes_DEFAULT NULL
#define STRING_NAME "utimes"
#define EXTERN_NAME utimes
#define WRAPPER_NAME utimes_DEFAULT
#define WRAPPER_TRUE_NAME true_utimes_DEFAULT
#define WRAPPER_SYMNAME symname_utimes_DEFAULT
#define WRAPPER_SYMVER symver_utimes_DEFAULT
#define SB_NR_UTIMES 38
#define WRAPPER_NR SB_NR_UTIMES
#include "wrapper-funcs/utimes.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(utimes_DEFAULT, utimes);

#define SB_NR_UTIMENSAT SB_NR_UNDEF
#define symname_futimesat_DEFAULT "futimesat"
#define symver_futimesat_DEFAULT NULL
#define STRING_NAME "futimesat"
#define EXTERN_NAME futimesat
#define WRAPPER_NAME futimesat_DEFAULT
#define WRAPPER_TRUE_NAME true_futimesat_DEFAULT
#define WRAPPER_SYMNAME symname_futimesat_DEFAULT
#define WRAPPER_SYMVER symver_futimesat_DEFAULT
#define SB_NR_FUTIMESAT 40
#define WRAPPER_NR SB_NR_FUTIMESAT
#include "wrapper-funcs/futimesat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(futimesat_DEFAULT, futimesat);

#define SB_NR_LUTIMES SB_NR_UNDEF
#endif /* __symbols_h */
#ifndef __symbols_h
#define __symbols_h

#define SB_NR_UNDEF -99999

#define symname_chmod_DEFAULT "chmod"
#define symver_chmod_DEFAULT NULL
#define STRING_NAME "chmod"
#define EXTERN_NAME chmod
#define WRAPPER_NAME chmod_DEFAULT
#define WRAPPER_TRUE_NAME true_chmod_DEFAULT
#define WRAPPER_SYMNAME symname_chmod_DEFAULT
#define WRAPPER_SYMVER symver_chmod_DEFAULT
#define SB_NR_CHMOD 1
#define WRAPPER_NR SB_NR_CHMOD
#include "wrapper-funcs/chmod.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(chmod_DEFAULT, chmod);

#define SB_NR_FCHMODAT SB_NR_UNDEF
#define symname_chown_DEFAULT "chown"
#define symver_chown_DEFAULT NULL
#define STRING_NAME "chown"
#define EXTERN_NAME chown
#define WRAPPER_NAME chown_DEFAULT
#define WRAPPER_TRUE_NAME true_chown_DEFAULT
#define WRAPPER_SYMNAME symname_chown_DEFAULT
#define WRAPPER_SYMVER symver_chown_DEFAULT
#define SB_NR_CHOWN 3
#define WRAPPER_NR SB_NR_CHOWN
#include "wrapper-funcs/chown.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(chown_DEFAULT, chown);

#define symname_fchownat_DEFAULT "fchownat"
#define symver_fchownat_DEFAULT NULL
#define STRING_NAME "fchownat"
#define EXTERN_NAME fchownat
#define WRAPPER_NAME fchownat_DEFAULT
#define WRAPPER_TRUE_NAME true_fchownat_DEFAULT
#define WRAPPER_SYMNAME symname_fchownat_DEFAULT
#define WRAPPER_SYMVER symver_fchownat_DEFAULT
#define SB_NR_FCHOWNAT 4
#define WRAPPER_NR SB_NR_FCHOWNAT
#include "wrapper-funcs/fchownat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(fchownat_DEFAULT, fchownat);

#define symname_open_DEFAULT "open"
#define symver_open_DEFAULT NULL
#define STRING_NAME "open"
#define EXTERN_NAME open
#define WRAPPER_NAME open_DEFAULT
#define WRAPPER_TRUE_NAME true_open_DEFAULT
#define WRAPPER_SYMNAME symname_open_DEFAULT
#define WRAPPER_SYMVER symver_open_DEFAULT
#define SB_NR_OPEN 5
#define WRAPPER_NR SB_NR_OPEN
#include "wrapper-funcs/open.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(open_DEFAULT, open);

#define symname_openat_DEFAULT "openat"
#define symver_openat_DEFAULT NULL
#define STRING_NAME "openat"
#define EXTERN_NAME openat
#define WRAPPER_NAME openat_DEFAULT
#define WRAPPER_TRUE_NAME true_openat_DEFAULT
#define WRAPPER_SYMNAME symname_openat_DEFAULT
#define WRAPPER_SYMVER symver_openat_DEFAULT
#define SB_NR_OPENAT 6
#define WRAPPER_NR SB_NR_OPENAT
#include "wrapper-funcs/openat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(openat_DEFAULT, openat);

#define symname_creat_DEFAULT "creat"
#define symver_creat_DEFAULT NULL
#define STRING_NAME "creat"
#define EXTERN_NAME creat
#define WRAPPER_NAME creat_DEFAULT
#define WRAPPER_TRUE_NAME true_creat_DEFAULT
#define WRAPPER_SYMNAME symname_creat_DEFAULT
#define WRAPPER_SYMVER symver_creat_DEFAULT
#define SB_NR_CREAT 7
#define WRAPPER_NR SB_NR_CREAT
#include "wrapper-funcs/creat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(creat_DEFAULT, creat);

#define symname_fopen_DEFAULT "fopen"
#define symver_fopen_DEFAULT NULL
#define STRING_NAME "fopen"
#define EXTERN_NAME fopen
#define WRAPPER_NAME fopen_DEFAULT
#define WRAPPER_TRUE_NAME true_fopen_DEFAULT
#define WRAPPER_SYMNAME symname_fopen_DEFAULT
#define WRAPPER_SYMVER symver_fopen_DEFAULT
#define SB_NR_FOPEN 8
#define WRAPPER_NR SB_NR_FOPEN
#include "wrapper-funcs/fopen.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(fopen_DEFAULT, fopen);

#define symname_lchown_DEFAULT "lchown"
#define symver_lchown_DEFAULT NULL
#define STRING_NAME "lchown"
#define EXTERN_NAME lchown
#define WRAPPER_NAME lchown_DEFAULT
#define WRAPPER_TRUE_NAME true_lchown_DEFAULT
#define WRAPPER_SYMNAME symname_lchown_DEFAULT
#define WRAPPER_SYMVER symver_lchown_DEFAULT
#define SB_NR_LCHOWN 9
#define WRAPPER_NR SB_NR_LCHOWN
#include "wrapper-funcs/lchown.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(lchown_DEFAULT, lchown);

#define symname_link_DEFAULT "link"
#define symver_link_DEFAULT NULL
#define STRING_NAME "link"
#define EXTERN_NAME link
#define WRAPPER_NAME link_DEFAULT
#define WRAPPER_TRUE_NAME true_link_DEFAULT
#define WRAPPER_SYMNAME symname_link_DEFAULT
#define WRAPPER_SYMVER symver_link_DEFAULT
#define SB_NR_LINK 10
#define WRAPPER_NR SB_NR_LINK
#include "wrapper-funcs/link.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(link_DEFAULT, link);

#define SB_NR_LINKAT SB_NR_UNDEF
#define symname_mkdir_DEFAULT "mkdir"
#define symver_mkdir_DEFAULT NULL
#define STRING_NAME "mkdir"
#define EXTERN_NAME mkdir
#define WRAPPER_NAME mkdir_DEFAULT
#define WRAPPER_TRUE_NAME true_mkdir_DEFAULT
#define WRAPPER_SYMNAME symname_mkdir_DEFAULT
#define WRAPPER_SYMVER symver_mkdir_DEFAULT
#define SB_NR_MKDIR 12
#define WRAPPER_NR SB_NR_MKDIR
#include "wrapper-funcs/mkdir.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(mkdir_DEFAULT, mkdir);

#define SB_NR_MKDIRAT SB_NR_UNDEF
#define symname_opendir_DEFAULT "opendir"
#define symver_opendir_DEFAULT NULL
#define STRING_NAME "opendir"
#define EXTERN_NAME opendir
#define WRAPPER_NAME opendir_DEFAULT
#define WRAPPER_TRUE_NAME true_opendir_DEFAULT
#define WRAPPER_SYMNAME symname_opendir_DEFAULT
#define WRAPPER_SYMVER symver_opendir_DEFAULT
#define SB_NR_OPENDIR 14
#define WRAPPER_NR SB_NR_OPENDIR
#include "wrapper-funcs/opendir.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(opendir_DEFAULT, opendir);

#define symname_mknod_DEFAULT "mknod"
#define symver_mknod_DEFAULT NULL
#define STRING_NAME "mknod"
#define EXTERN_NAME mknod
#define WRAPPER_NAME mknod_DEFAULT
#define WRAPPER_TRUE_NAME true_mknod_DEFAULT
#define WRAPPER_SYMNAME symname_mknod_DEFAULT
#define WRAPPER_SYMVER symver_mknod_DEFAULT
#define SB_NR_MKNOD 15
#define WRAPPER_NR SB_NR_MKNOD
#include "wrapper-funcs/mknod.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(mknod_DEFAULT, mknod);

#define SB_NR_MKNODAT SB_NR_UNDEF
#define SB_NR___XMKNOD SB_NR_UNDEF
#define symname_mkfifo_DEFAULT "mkfifo"
#define symver_mkfifo_DEFAULT NULL
#define STRING_NAME "mkfifo"
#define EXTERN_NAME mkfifo
#define WRAPPER_NAME mkfifo_DEFAULT
#define WRAPPER_TRUE_NAME true_mkfifo_DEFAULT
#define WRAPPER_SYMNAME symname_mkfifo_DEFAULT
#define WRAPPER_SYMVER symver_mkfifo_DEFAULT
#define SB_NR_MKFIFO 18
#define WRAPPER_NR SB_NR_MKFIFO
#include "wrapper-funcs/mkfifo.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(mkfifo_DEFAULT, mkfifo);

#define SB_NR_MKFIFOAT SB_NR_UNDEF
#define symname_access_DEFAULT "access"
#define symver_access_DEFAULT NULL
#define STRING_NAME "access"
#define EXTERN_NAME access
#define WRAPPER_NAME access_DEFAULT
#define WRAPPER_TRUE_NAME true_access_DEFAULT
#define WRAPPER_SYMNAME symname_access_DEFAULT
#define WRAPPER_SYMVER symver_access_DEFAULT
#define SB_NR_ACCESS 20
#define WRAPPER_NR SB_NR_ACCESS
#include "wrapper-funcs/access.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(access_DEFAULT, access);

#define SB_NR_FACCESSAT SB_NR_UNDEF
#define symname_rename_DEFAULT "rename"
#define symver_rename_DEFAULT NULL
#define STRING_NAME "rename"
#define EXTERN_NAME rename
#define WRAPPER_NAME rename_DEFAULT
#define WRAPPER_TRUE_NAME true_rename_DEFAULT
#define WRAPPER_SYMNAME symname_rename_DEFAULT
#define WRAPPER_SYMVER symver_rename_DEFAULT
#define SB_NR_RENAME 22
#define WRAPPER_NR SB_NR_RENAME
#include "wrapper-funcs/rename.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(rename_DEFAULT, rename);

#define symname_renameat_DEFAULT "renameat"
#define symver_renameat_DEFAULT NULL
#define STRING_NAME "renameat"
#define EXTERN_NAME renameat
#define WRAPPER_NAME renameat_DEFAULT
#define WRAPPER_TRUE_NAME true_renameat_DEFAULT
#define WRAPPER_SYMNAME symname_renameat_DEFAULT
#define WRAPPER_SYMVER symver_renameat_DEFAULT
#define SB_NR_RENAMEAT 23
#define WRAPPER_NR SB_NR_RENAMEAT
#include "wrapper-funcs/renameat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(renameat_DEFAULT, renameat);

#define symname_rmdir_DEFAULT "rmdir"
#define symver_rmdir_DEFAULT NULL
#define STRING_NAME "rmdir"
#define EXTERN_NAME rmdir
#define WRAPPER_NAME rmdir_DEFAULT
#define WRAPPER_TRUE_NAME true_rmdir_DEFAULT
#define WRAPPER_SYMNAME symname_rmdir_DEFAULT
#define WRAPPER_SYMVER symver_rmdir_DEFAULT
#define SB_NR_RMDIR 24
#define WRAPPER_NR SB_NR_RMDIR
#include "wrapper-funcs/rmdir.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(rmdir_DEFAULT, rmdir);

#define symname_symlink_DEFAULT "symlink"
#define symver_symlink_DEFAULT NULL
#define STRING_NAME "symlink"
#define EXTERN_NAME symlink
#define WRAPPER_NAME symlink_DEFAULT
#define WRAPPER_TRUE_NAME true_symlink_DEFAULT
#define WRAPPER_SYMNAME symname_symlink_DEFAULT
#define WRAPPER_SYMVER symver_symlink_DEFAULT
#define SB_NR_SYMLINK 25
#define WRAPPER_NR SB_NR_SYMLINK
#include "wrapper-funcs/symlink.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(symlink_DEFAULT, symlink);

#define SB_NR_SYMLINKAT SB_NR_UNDEF
#define symname_truncate_DEFAULT "truncate"
#define symver_truncate_DEFAULT NULL
#define STRING_NAME "truncate"
#define EXTERN_NAME truncate
#define WRAPPER_NAME truncate_DEFAULT
#define WRAPPER_TRUE_NAME true_truncate_DEFAULT
#define WRAPPER_SYMNAME symname_truncate_DEFAULT
#define WRAPPER_SYMVER symver_truncate_DEFAULT
#define SB_NR_TRUNCATE 27
#define WRAPPER_NR SB_NR_TRUNCATE
#include "wrapper-funcs/truncate.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(truncate_DEFAULT, truncate);

#define symname_unlink_DEFAULT "unlink"
#define symver_unlink_DEFAULT NULL
#define STRING_NAME "unlink"
#define EXTERN_NAME unlink
#define WRAPPER_NAME unlink_DEFAULT
#define WRAPPER_TRUE_NAME true_unlink_DEFAULT
#define WRAPPER_SYMNAME symname_unlink_DEFAULT
#define WRAPPER_SYMVER symver_unlink_DEFAULT
#define SB_NR_UNLINK 28
#define WRAPPER_NR SB_NR_UNLINK
#include "wrapper-funcs/unlink.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(unlink_DEFAULT, unlink);

#define symname_unlinkat_DEFAULT "unlinkat"
#define symver_unlinkat_DEFAULT NULL
#define STRING_NAME "unlinkat"
#define EXTERN_NAME unlinkat
#define WRAPPER_NAME unlinkat_DEFAULT
#define WRAPPER_TRUE_NAME true_unlinkat_DEFAULT
#define WRAPPER_SYMNAME symname_unlinkat_DEFAULT
#define WRAPPER_SYMVER symver_unlinkat_DEFAULT
#define SB_NR_UNLINKAT 29
#define WRAPPER_NR SB_NR_UNLINKAT
#include "wrapper-funcs/unlinkat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(unlinkat_DEFAULT, unlinkat);

#define symname_getcwd_DEFAULT "getcwd"
#define symver_getcwd_DEFAULT NULL
#define STRING_NAME "getcwd"
#define EXTERN_NAME getcwd
#define WRAPPER_NAME getcwd_DEFAULT
#define WRAPPER_TRUE_NAME true_getcwd_DEFAULT
#define WRAPPER_SYMNAME symname_getcwd_DEFAULT
#define WRAPPER_SYMVER symver_getcwd_DEFAULT
#define SB_NR_GETCWD 30
#define WRAPPER_NR SB_NR_GETCWD
#include "wrapper-funcs/getcwd.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(getcwd_DEFAULT, getcwd);

#define SB_NR_OPEN64 SB_NR_UNDEF
#define SB_NR_OPENAT64 SB_NR_UNDEF
#define SB_NR_CREAT64 SB_NR_UNDEF
#define SB_NR_FOPEN64 SB_NR_UNDEF
#define SB_NR_TRUNCATE64 SB_NR_UNDEF
#define symname_execve_DEFAULT "execve"
#define symver_execve_DEFAULT NULL
#define STRING_NAME "execve"
#define EXTERN_NAME execve
#define WRAPPER_NAME execve_DEFAULT
#define WRAPPER_TRUE_NAME true_execve_DEFAULT
#define WRAPPER_SYMNAME symname_execve_DEFAULT
#define WRAPPER_SYMVER symver_execve_DEFAULT
#define SB_NR_EXECVE 36
#define WRAPPER_NR SB_NR_EXECVE
#include "wrapper-funcs/execve.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(execve_DEFAULT, execve);

#define symname_utime_DEFAULT "utime"
#define symver_utime_DEFAULT NULL
#define STRING_NAME "utime"
#define EXTERN_NAME utime
#define WRAPPER_NAME utime_DEFAULT
#define WRAPPER_TRUE_NAME true_utime_DEFAULT
#define WRAPPER_SYMNAME symname_utime_DEFAULT
#define WRAPPER_SYMVER symver_utime_DEFAULT
#define SB_NR_UTIME 37
#define WRAPPER_NR SB_NR_UTIME
#include "wrapper-funcs/utime.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(utime_DEFAULT, utime);

#define symname_utimes_DEFAULT "utimes"
#define symver_utimes_DEFAULT NULL
#define STRING_NAME "utimes"
#define EXTERN_NAME utimes
#define WRAPPER_NAME utimes_DEFAULT
#define WRAPPER_TRUE_NAME true_utimes_DEFAULT
#define WRAPPER_SYMNAME symname_utimes_DEFAULT
#define WRAPPER_SYMVER symver_utimes_DEFAULT
#define SB_NR_UTIMES 38
#define WRAPPER_NR SB_NR_UTIMES
#include "wrapper-funcs/utimes.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(utimes_DEFAULT, utimes);

#define SB_NR_UTIMENSAT SB_NR_UNDEF
#define symname_futimesat_DEFAULT "futimesat"
#define symver_futimesat_DEFAULT NULL
#define STRING_NAME "futimesat"
#define EXTERN_NAME futimesat
#define WRAPPER_NAME futimesat_DEFAULT
#define WRAPPER_TRUE_NAME true_futimesat_DEFAULT
#define WRAPPER_SYMNAME symname_futimesat_DEFAULT
#define WRAPPER_SYMVER symver_futimesat_DEFAULT
#define SB_NR_FUTIMESAT 40
#define WRAPPER_NR SB_NR_FUTIMESAT
#include "wrapper-funcs/futimesat.c"
#undef STRING_NAME
#undef EXTERN_NAME
#undef WRAPPER_NAME
#undef WRAPPER_TRUE_NAME
#undef WRAPPER_SYMNAME
#undef WRAPPER_SYMVER
#undef WRAPPER_NR
#undef WRAPPER_ARGS
#undef WRAPPER_ARGS_PROTO
#undef WRAPPER_SAFE
#undef WRAPPER_RET_TYPE
#undef WRAPPER_RET_DEFAULT
#undef WRAPPER_PRE_CHECKS
strong_alias(futimesat_DEFAULT, futimesat);

#define SB_NR_LUTIMES SB_NR_UNDEF
#endif /* __symbols_h */
Replies:
Re: Any interest in sandbox on (open)solaris?
-- Mike Frysinger
References:
Any interest in sandbox on (open)solaris?
-- C. Bergström
Re: Re: Any interest in sandbox on (open)solaris?
-- Fabian Groffen
Re: Any interest in sandbox on (open)solaris?
-- C. Bergström
Re: Any interest in sandbox on (open)solaris?
-- Mike Frysinger
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Any interest in sandbox on (open)solaris?
Next by thread:
Re: Any interest in sandbox on (open)solaris?
Previous by date:
Re: Any interest in sandbox on (open)solaris?
Next by date:
Re: Any interest in sandbox on (open)solaris?


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.