Added empty wrapped libnsl.so.1

This commit is contained in:
ptitSeb 2021-10-04 08:04:11 +02:00
parent 5a5f572162
commit 0ba4b04078
8 changed files with 186 additions and 0 deletions

View File

@ -292,6 +292,7 @@ set(WRAPPEDS
"${BOX64_ROOT}/src/wrapped/wrappedlibz.c"
"${BOX64_ROOT}/src/wrapped/wrappedlzma.c"
"${BOX64_ROOT}/src/wrapped/wrappedmpg123.c"
"${BOX64_ROOT}/src/wrapped/wrappednsl.c"
"${BOX64_ROOT}/src/wrapped/wrappednspr4.c"
"${BOX64_ROOT}/src/wrapped/wrappednss3.c"
"${BOX64_ROOT}/src/wrapped/wrappednssutil3.c"

View File

@ -170,6 +170,7 @@ GO("libnspr4.so", nspr4)
GO("libplds4.so", plds4)
GO("libplc4.so", plc4)
GO("libssl3.so", ssl3)
GO("libnsl.so.1", nsl)
GO("libselinux.so.1", selinux)
GO("libsecret-1.so.0", secret1)

View File

@ -2936,6 +2936,7 @@ wrappedmpg123:
- mpg123_replace_reader_handle
- mpg123_replace_reader_handle_32
- mpg123_replace_reader_handle_64
wrappednsl:
wrappednspr4:
wrappednss3:
- vFp:

View File

@ -0,0 +1,8 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
*******************************************************************/
#ifndef __wrappednslDEFS_H_
#define __wrappednslDEFS_H_
#endif // __wrappednslDEFS_H_

View File

@ -0,0 +1,17 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
*******************************************************************/
#ifndef __wrappednslTYPES_H_
#define __wrappednslTYPES_H_
#ifndef LIBNAME
#error You should only #include this file inside a wrapped*.c file
#endif
#ifndef ADDED_FUNCTIONS
#define ADDED_FUNCTIONS()
#endif
#define SUPER() ADDED_FUNCTIONS()
#endif // __wrappednslTYPES_H_

View File

@ -0,0 +1,8 @@
/*******************************************************************
* File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
*******************************************************************/
#ifndef __wrappednslUNDEFS_H_
#define __wrappednslUNDEFS_H_
#endif // __wrappednslUNDEFS_H_

18
src/wrapped/wrappednsl.c Executable file
View File

@ -0,0 +1,18 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define _GNU_SOURCE /* See feature_test_macros(7) */
#include <dlfcn.h>
#include "wrappedlibs.h"
#include "wrapper.h"
#include "bridge.h"
#include "librarian/library_private.h"
#include "x64emu.h"
const char* nslName = "libnsl.so.1";
#define LIBNAME nsl
#include "wrappedlib_init.h"

132
src/wrapped/wrappednsl_private.h Executable file
View File

@ -0,0 +1,132 @@
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
#error Meh....
#endif
//GO(__create_ib_request,
//GO(__do_niscall3,
//GO(__follow_path,
//GO(__free_fdresult,
//GO(nis_add,
//GO(nis_add_entry,
//GO(nis_addmember,
//GO(__nisbind_connect,
//GO(__nisbind_create,
//GO(__nisbind_destroy,
//GO(__nisbind_next,
//GO(nis_checkpoint,
//GO(nis_clone_directory,
//GO(nis_clone_object,
//GO(nis_clone_result,
//GO(nis_creategroup,
//GO(__nis_default_access,
//GO(__nis_default_group,
//GO(__nis_default_owner,
//GO(__nis_default_ttl,
//GO(nis_destroygroup,
//GO(nis_destroy_object,
//GO(nis_dir_cmp,
//GO(nis_domain_of,
//GO(nis_domain_of_r,
//GO(__nis_finddirectory,
//GO(nis_first_entry,
//GO(nis_free_directory,
//GO(nis_freenames,
//GO(nis_free_object,
//GO(nis_free_request,
//GO(nis_freeresult,
//GO(nis_freeservlist,
//GO(nis_freetags,
//GO(nis_getnames,
//GO(nis_getservlist,
//GO(__nis_hash,
//GO(nis_ismember,
//GO(nis_leaf_of,
//GO(nis_leaf_of_r,
//GO(nis_lerror,
//GO(nis_list,
//GO(nis_local_directory,
//GO(nis_local_group,
//GO(nis_local_host,
//GO(nis_local_principal,
//GO(nis_lookup,
//GO(nis_mkdir,
//GO(nis_modify,
//GO(nis_modify_entry,
//GO(nis_name_of,
//GO(nis_name_of_r,
//GO(nis_next_entry,
//GO(nis_perror,
//GO(nis_ping,
//GO(nis_print_directory,
//GO(nis_print_entry,
//GO(nis_print_group,
//GO(nis_print_group_entry,
//GO(nis_print_link,
//GO(nis_print_object,
//GO(nis_print_result,
//GO(nis_print_rights,
//GO(nis_print_table,
//GO(nis_read_obj,
//GO(nis_remove,
//GO(nis_remove_entry,
//GO(nis_removemember,
//GO(nis_rmdir,
//GO(nis_servstate,
//GO(nis_sperrno,
//GO(nis_sperror,
//GO(nis_sperror_r,
//GO(nis_stats,
//GO(nis_verifygroup,
//GO(nis_write_obj,
//GO(_nsl_default_nss,
//GO(__prepare_niscall,
//GO(readColdStartFile,
//GO(writeColdStartFile,
//GO(xdr_cback_data,
//GO(xdr_domainname,
//GO(_xdr_ib_request,
//GO(xdr_keydat,
//GO(xdr_mapname,
//GO(_xdr_nis_result,
//GO(xdr_obj_p,
//GO(xdr_peername,
//GO(xdr_valdat,
//GO(xdr_ypall,
//GO(xdr_ypbind_binding,
//GO(xdr_ypbind_resp,
//GO(xdr_ypbind_resptype,
//GO(xdr_ypbind_setdom,
//GO(xdr_yp_buf,
//GO(xdr_ypdelete_args,
//GO(xdr_ypmaplist,
//GO(xdr_ypmap_parms,
//GO(xdr_yppushresp_xfr,
//GO(xdr_yppush_status,
//GO(xdr_ypreq_key,
//GO(xdr_ypreq_nokey,
//GO(xdr_ypreq_xfr,
//GO(xdr_ypresp_all,
//GO(xdr_ypresp_key_val,
//GO(xdr_ypresp_maplist,
//GO(xdr_ypresp_master,
//GO(xdr_ypresp_order,
//GO(xdr_ypresp_val,
//GO(xdr_ypresp_xfr,
//GO(xdr_ypstat,
//GO(xdr_ypupdate_args,
//GO(xdr_ypxfrstat,
//GO(yp_all,
//GO(yp_bind,
//GO(ypbinderr_string,
//GO(__yp_check,
//GO(yperr_string,
//GO(yp_first,
//GO(yp_get_default_domain,
//GO(yp_maplist,
//GO(yp_master,
//GO(yp_match,
//GO(yp_next,
//GO(yp_order,
//GO(ypprot_err,
//GO(yp_unbind,
//GO(yp_update,