Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
NetWare /
Delete
Unzip
Name
Size
Permission
Date
Action
bat
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
t
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
testnlm
[ DIR ]
drwxr-xr-x
2015-02-14 16:56
CLIBsdio.h
5.53
KB
-r--r--r--
2014-12-27 11:48
CLIBstr.h
3.45
KB
-r--r--r--
2014-12-27 11:48
CLIBstuf.c
6.1
KB
-r--r--r--
2014-12-27 11:48
CLIBstuf.h
810
B
-r--r--r--
2014-12-27 11:48
MP.imp
141
B
-r--r--r--
2014-12-27 11:48
Main.c
6.79
KB
-r--r--r--
2014-12-27 11:48
Makefile
39.24
KB
-rw-r--r--
2015-01-28 21:08
NWTInfo.c
13.66
KB
-r--r--r--
2014-12-27 11:48
NWUtil.c
21.45
KB
-r--r--r--
2014-12-27 11:48
Nwmain.c
34.43
KB
-r--r--r--
2014-12-27 11:48
Nwpipe.c
15.59
KB
-r--r--r--
2014-12-27 11:48
config.wc
21.06
KB
-r--r--r--
2014-12-27 11:49
config_H.wc
104.08
KB
-rw-r--r--
2015-01-28 21:08
config_h.PL
2.35
KB
-r--r--r--
2014-12-27 11:48
config_sh.PL
2.04
KB
-r--r--r--
2014-12-27 11:48
deb.h
916
B
-r--r--r--
2014-12-27 11:48
dl_netware.xs
4.48
KB
-r--r--r--
2014-12-27 11:48
intdef.h
2.15
KB
-r--r--r--
2014-12-27 11:48
interface.c
4.01
KB
-r--r--r--
2014-12-27 11:48
interface.cpp
4.47
KB
-r--r--r--
2014-12-27 11:48
interface.h
957
B
-r--r--r--
2014-12-27 11:48
iperlhost.h
1.04
KB
-r--r--r--
2014-12-27 11:48
netware.h
2.32
KB
-r--r--r--
2014-12-27 11:48
nw5.c
18.5
KB
-r--r--r--
2014-12-27 11:48
nw5iop.h
4.54
KB
-r--r--r--
2014-12-27 11:48
nw5sck.c
5.02
KB
-r--r--r--
2014-12-27 11:48
nw5sck.h
4.29
KB
-r--r--r--
2014-12-27 11:48
nw5thread.c
1.45
KB
-r--r--r--
2014-12-27 11:48
nw5thread.h
4.88
KB
-r--r--r--
2014-12-27 11:48
nwhashcls.cpp
5.09
KB
-r--r--r--
2014-12-27 11:48
nwhashcls.h
1.35
KB
-r--r--r--
2014-12-27 11:48
nwperlhost.h
35.25
KB
-r--r--r--
2014-12-27 11:48
nwperlsys.c
4.87
KB
-r--r--r--
2014-12-27 11:48
nwperlsys.h
25.81
KB
-r--r--r--
2014-12-27 11:48
nwpipe.h
1.11
KB
-r--r--r--
2014-12-27 11:48
nwplglob.c
2.19
KB
-r--r--r--
2014-12-27 11:48
nwplglob.h
468
B
-r--r--r--
2014-12-27 11:48
nwstdio.h
4.22
KB
-r--r--r--
2014-12-27 11:48
nwtinfo.h
1.81
KB
-r--r--r--
2014-12-27 11:48
nwutil.h
2.06
KB
-r--r--r--
2014-12-27 11:48
nwvmem.h
6.71
KB
-r--r--r--
2014-12-27 11:48
perllib.cpp
6.2
KB
-r--r--r--
2014-12-27 11:48
splittree.pl
527
B
-r--r--r--
2014-12-27 11:48
sv_nw.c
572
B
-r--r--r--
2014-12-27 11:48
win32ish.h
666
B
-r--r--r--
2014-12-27 11:48
Save
Rename
/* * Copyright © 2001 Novell, Inc. All Rights Reserved. * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. * */ /* * FILENAME : nw5thread.h * DESCRIPTION : Thread related functions. * Author : SGP * Date : January 2001. * */ #ifndef _NW5THREAD_H #define _NW5THREAD_H #include <nwthread.h> #include "netware.h" typedef long perl_key; // The line below is just a definition to avoid compilation error. // It is not being used anywhere. // Ananth, 3 Sept 2001 typedef struct nw_cond { long waiters; unsigned int sem; } perl_cond; #if defined (USE_ITHREADS) && defined(MPK_ON) #ifdef __cplusplus extern "C" { #endif #include <mpktypes.h> #include <mpkapis.h> #define kSUCCESS (0) #define ERROR_INVALID_MUTEX (0x1010) #ifdef __cplusplus } #endif #undef WORD //On NetWare, since the NLM will be resident, only once the MUTEX_INIT gets called and //this will be freed when the script terminates. But when a new script is executed, //then MUTEX_LOCK will fail since it is already freed. Even if this problem is fixed //by not freeing the mutex when script terminates but when the NLM unloads, there will //still be problems when multiple scripts are running simultaneously in a multi-processor //machine - sgp typedef MUTEX perl_mutex; # define MUTEX_INIT(m) \ STMT_START { \ /*if ((*(m) = kMutexAlloc("NetWarePerlMutex")) == NULL) */\ /*Perl_croak_nocontext("panic: MUTEX_ALLOC"); */\ /*ConsolePrintf("Mutex Init %d\n",*(m)); */\ } STMT_END # define MUTEX_LOCK(m) \ STMT_START { \ /*ConsolePrintf("Mutex lock %d\n",*(m)); */\ /*if (kMutexLock(*(m)) == ERROR_INVALID_MUTEX) */\ /*Perl_croak_nocontext("panic: MUTEX_LOCK"); */\ } STMT_END # define MUTEX_UNLOCK(m) \ STMT_START { \ /*ConsolePrintf("Mutex unlock %d\n",*(m)); */\ /*if (kMutexUnlock(*(m)) != kSUCCESS) \ Perl_croak_nocontext("panic: MUTEX_UNLOCK"); */\ } STMT_END # define MUTEX_DESTROY(m) \ STMT_START { \ /*ConsolePrintf("Mutex Destroy %d\n",*(m)); */\ /*if (kMutexWaitCount(*(m)) == 0 ) */\ /*{ */\ /*PERL_SET_INTERP(NULL); *//*newly added CHKSGP???*/ \ /*if (kMutexFree(*(m)) != kSUCCESS) */ \ /*Perl_croak_nocontext("panic: MUTEX_FREE"); */\ /*} */\ } STMT_END #else typedef unsigned long perl_mutex; # define MUTEX_INIT(m) # define MUTEX_LOCK(m) # define MUTEX_UNLOCK(m) # define MUTEX_DESTROY(m) #endif /* These macros assume that the mutex associated with the condition * will always be held before COND_{SIGNAL,BROADCAST,WAIT,DESTROY}, * so there's no separate mutex protecting access to (c)->waiters */ //For now let us just see when this happens -sgp. #define COND_INIT(c) \ STMT_START { \ /*ConsolePrintf("In COND_INIT\n"); */\ } STMT_END /* (c)->waiters = 0; \ (c)->sem = OpenLocalSemaphore (0); \ if ((c)->sem == NULL) \ Perl_croak_nocontext("panic: COND_INIT (%ld)",errno); \*/ #define COND_SIGNAL(c) \ STMT_START { \ /*ConsolePrintf("In COND_SIGNAL\n"); */\ } STMT_END /*if ((c)->waiters > 0 && \ SignalLocalSemaphore((c)->sem) != 0) \ Perl_croak_nocontext("panic: COND_SIGNAL (%ld)",errno); \*/ #define COND_BROADCAST(c) \ STMT_START { \ /*ConsolePrintf("In COND_BROADCAST\n"); */\ } STMT_END /*if ((c)->waiters > 0 ) { \ int count; \ for(count=0; count<(c)->waiters; count++) { \ if(SignalLocalSemaphore((c)->sem) != 0) \ Perl_croak_nocontext("panic: COND_BROADCAST (%ld)",GetLastError());\ } \ } \*/ #define COND_WAIT(c, m) \ STMT_START { \ /*ConsolePrintf("In COND_WAIT\n"); */\ } STMT_END #define COND_DESTROY(c) \ STMT_START { \ /*ConsolePrintf("In COND_DESTROY\n"); */\ } STMT_END /* (c)->waiters = 0; \ if (CloseLocalSemaphore((c)->sem) != 0) \ Perl_croak_nocontext("panic: COND_DESTROY (%ld)",errno); \*/ #if 0 #define DETACH(t) \ STMT_START { \ if (CloseHandle((t)->self) == 0) { \ MUTEX_UNLOCK(&(t)->mutex); \ Perl_croak_nocontext("panic: DETACH"); \ } \ } STMT_END #endif //#if 0 //Following has to be defined CHKSGP #if defined(PERLDLL) && defined(USE_DECLSPEC_THREAD) extern __declspec(thread) void *PL_current_context; #define PERL_SET_CONTEXT(t) (PL_current_context = t) #define PERL_GET_CONTEXT PL_current_context #else #define PERL_GET_CONTEXT Perl_get_context() #define PERL_SET_CONTEXT(t) Perl_set_context(t) #endif //Check the following, will be used in Thread extension - CHKSGP #define THREAD_RET_TYPE unsigned __stdcall #define THREAD_RET_CAST(p) ((unsigned)(p)) #define INIT_THREADS NOOP //Ideally this should have been PL_thr_key = fnInitializeThreadCtx(); //See the comment at the end of file nw5thread.c as to why PL_thr_key is not assigned - sgp #define ALLOC_THREAD_KEY \ STMT_START { \ fnInitializeThreadCtx(); \ } STMT_END #endif /* _NW5THREAD_H */