Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/web-klick.de/dsh/56/core-main/m4/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/web-klick.de/dsh/56/core-main/m4/rlimit.m4

dnl * Do we have RLIMIT_AS?
AC_DEFUN([DOVECOT_RLIMIT_AS], [
  AC_CACHE_CHECK([whether RLIMIT_AS exists],i_cv_have_rlimit_as,[
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
      #include <sys/types.h>
      #include <sys/time.h>
      #include <sys/resource.h>
    ]], [[
      struct rlimit r;
      getrlimit(RLIMIT_AS, &r);
    ]])],[
      i_cv_have_rlimit_as=yes
    ], [
      i_cv_have_rlimit_as=no
    ])
  ])
  
  AS_IF([test $i_cv_have_rlimit_as = yes], [
    AC_DEFINE(HAVE_RLIMIT_AS,, [Define if you have RLIMIT_AS for setrlimit()])
  ])
])

dnl * Do we have RLIMIT_NPROC?
AC_DEFUN([DOVECOT_RLIMIT_NPROC], [
  AC_CACHE_CHECK([whether RLIMIT_NPROC exists],i_cv_have_rlimit_nproc,[
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
      #include <sys/types.h>
      #include <sys/time.h>
      #include <sys/resource.h>
    ]], [[
      struct rlimit r;
      getrlimit(RLIMIT_NPROC, &r);
    ]])],[
      i_cv_have_rlimit_nproc=yes
    ],[
      i_cv_have_rlimit_nproc=no
    ])
  ])
  
  AS_IF([test $i_cv_have_rlimit_nproc = yes], [
    AC_DEFINE(HAVE_RLIMIT_NPROC,, [Define if you have RLIMIT_NPROC for setrlimit()])
  ])
])

dnl * Do we have RLIMIT_CORE?
AC_DEFUN([DOVECOT_RLIMIT_CORE], [
  AC_CACHE_CHECK([whether RLIMIT_CORE exists],i_cv_have_rlimit_core,[
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
      #include <sys/types.h>
      #include <sys/time.h>
      #include <sys/resource.h>
    ]], [[
      struct rlimit r;
      getrlimit(RLIMIT_CORE, &r);
    ]])],[
      i_cv_have_rlimit_core=yes
    ],[
      i_cv_have_rlimit_core=no
    ])
  ])
  
  AS_IF([test $i_cv_have_rlimit_core = yes], [
    AC_DEFINE(HAVE_RLIMIT_CORE,, [Define if you have RLIMIT_CORE for getrlimit()])
  ])
])

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net