search for: have_getrusage

Displaying 13 results from an estimated 13 matches for "have_getrusage".

2000 Jun 15
1
problem in entropy.c if no getrusage
...sumes RUSAGE_SELF and RUSAGE_CHILDREN *** entropy.c.orig Thu Jun 15 13:57:28 2000 --- entropy.c Thu Jun 15 13:58:25 2000 *************** *** 201,207 **** --- 201,209 ---- total_entropy_estimate += stir_gettimeofday(1.0); total_entropy_estimate += stir_clock(0.2); + #ifdef HAVE_GETRUSAGE total_entropy_estimate += stir_rusage(RUSAGE_SELF, 2.0); + #endif return(total_entropy_estimate); } *************** *** 247,254 **** --- 249,258 ---- /* Execution times should be a little unpredictable */ total_entropy_est...
2000 Nov 02
2
misc. minor patches
...rig/entropy.c openssh-2.1.1p1/entropy.c --- openssh-2.1.1p1.orig/entropy.c Wed Jun 7 08:20:23 2000 +++ openssh-2.1.1p1/entropy.c Thu Jun 15 13:58:25 2000 @@ -201,7 +201,9 @@ total_entropy_estimate += stir_gettimeofday(1.0); total_entropy_estimate += stir_clock(0.2); +#ifdef HAVE_GETRUSAGE total_entropy_estimate += stir_rusage(RUSAGE_SELF, 2.0); +#endif return(total_entropy_estimate); } @@ -247,8 +249,10 @@ /* Execution times should be a little unpredictable */ total_entropy_estimate += stir_gettimeofday(0.05);...
2006 Mar 17
1
[PATCH] OpenSSL RNG initialization
...dovecot/src/lib/randgen.c,v retrieving revision 1.13 diff -u -r1.13 randgen.c --- src/lib/randgen.c 6 Jan 2005 19:08:19 -0000 1.13 +++ src/lib/randgen.c 10 Mar 2006 17:15:03 -0000 @@ -81,6 +81,42 @@ return buf; } +static void random_init_rng(void) +{ + int counter = 0; + struct timeval tv; +#ifdef HAVE_GETRUSAGE + struct rusage ru; +#endif + + /* + * If the RNG is already seeded, we can return + * immediately. + */ + if (RAND_status() == 1) + return; + + /* + * Else, try to seed it. Unfortunately we don't have + * /dev/urandom, so we can only use weak random sources. + */ + while (RAND_status()...
2003 Jun 22
16
[Bug 600] compilation of ssh-askpass or ssh-rand-helper fails on NCR MP-RAS v3.02
http://bugzilla.mindrot.org/show_bug.cgi?id=600 Summary: compilation of ssh-askpass or ssh-rand-helper fails on NCR MP-RAS v3.02 Product: Portable OpenSSH Version: -current Platform: ix86 OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Build system
2010 Sep 03
1
TinycoreLinux Install
...HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USE_RTTI 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_TIMES 1 | #define HAVE_SYSCONF 1 | /* end confdefs.h. */ | /* Define closefrom to an innocuous variant, in case <limits.h> declares closefrom. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define closefrom innocuous_closefrom | | /* System heade...
2000 Jun 12
0
getrusage() privileged on Solaris 2.5.1
...CHECK_FUNCS() to look for getrusage, and this only tests for a successful link. For this function you need to do a more thorough check and actually try to run a test program with getrusage() to see if the user has permissions to run it. In the meantime I've had to hardwire config.h to disable HAVE_GETRUSAGE. Thanks. -- ------------------------------------------------------------------------------- Paul D. Smith <psmith at baynetworks.com> Network Management Development "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ---------------------------...
2015 Feb 06
2
Fwd: Waiting for Reply regarding "TestCases Failure"
..._OBJDIR ".libs/" #define HAVE_LOG2 1 #define USE_RTTI 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_NANOSLEEP 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_FTIME 1 #define HAVE_TIMER_CREATE 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSETJMP 1 #define HAVE_GETRUSAGE 1 #define HAVE_TIMES 1 #define HAVE_SYSCONF 1 #define HAVE_SETENV 1 #define HAVE_DIRFD 1 #define HAVE_GETRLIMIT 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_GETHOSTNAME 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 8 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_SYS...
2003 Feb 11
1
Problems configuring OpenSSH 3.5p1 on Sol 5.8
...D_NAME 1 #define LIBWRAP 1 #define HAVE_BCOPY 1 #define HAVE_CLOCK 1 #define HAVE_FCHMOD 1 #define HAVE_FCHOWN 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETCWD 1 #define HAVE_GETNAMEINFO 1 #define HAVE_GETOPT 1 #define HAVE_GETRLIMIT 1 #define HAVE_GETRUSAGE 1 #define HAVE_GLOB 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_NTOP 1 #define HAVE_INNETGR 1 #define HAVE_MEMMOVE 1 #define HAVE_MMAP 1 #define HAVE_REALPATH 1 #define HAVE_RECVMSG 1 #define HAVE_RRESVPORT_AF 1 #define HAVE_SENDMSG 1 #define HAVE_SETEGID 1 #define HAVE_SETEUID 1 #define HAVE_SETG...
2015 Feb 03
2
Fwd: Waiting for Reply regarding "TestCases Failure"
---------- Forwarded message ---------- From: Saad Ahmed <ch.saad.ahmed at gmail.com> Date: 3 February 2015 at 21:10 Subject: Waiting for Reply regarding "TestCases Failure" To: Xapian Development <xapian-devel at lists.xapian.org> I have been waiting for reply regarding any further steps to take. Following are the outputs of commands that you asked me to run. All these
2005 Sep 19
1
ssh hangs or gives Segmentation fault
.../* #undef HAVE_GETAUDIT */ /* #undef HAVE_GETAUDIT_ADDR */ #define HAVE_GETCWD 1 #define HAVE_GETGROUPLIST 1 /* #undef HAVE_GETLUID */ #define HAVE_GETNAMEINFO 1 #define HAVE_GETOPT 1 #define HAVE_GETOPT_H 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_GETPWANAM */ #define HAVE_GETRLIMIT 1 /* #undef HAVE_GETRUSAGE */ #define HAVE_GETTIMEOFDAY 1 #define HAVE_GETTTYENT 1 #define HAVE_GETUTENT 1 #define HAVE_GETUTID 1 #define HAVE_GETUTLINE 1 #define HAVE_GETUTXENT 1 #define HAVE_GETUTXID 1 #define HAVE_GETUTXLINE 1 #define HAVE_GLOB 1 #define HAVE_GLOB_H 1 /* #undef HAVE_GSSAPI_GENERIC_H */ /* #undef HAVE_GSSA...
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote: [ brutal-snip ] ... > [ TODO#S: Before doing a 2nd build (and in a 3rd run using more > optimized binaries) ] > > How do I anable LTO via CMAKE? > > > LLVM_ENALBLE_LTO=On > [ v4 of my build-script attached ] Hi Chris, thanks for the response! That seems to work (see below). $ cd
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a /lot/ of errors like this (strangely I hit none of these in check-llvm, only in check-clang): Any ideas? ==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes at address 0x631000014800 ==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...ude fenv.h HAVE_FENV_H:INTERNAL=1 //Have symbol futimens HAVE_FUTIMENS:INTERNAL=1 //Have symbol futimes HAVE_FUTIMES:INTERNAL=1 //Have symbol getcwd HAVE_GETCWD:INTERNAL=1 //Have symbol getpagesize HAVE_GETPAGESIZE:INTERNAL=1 //Have symbol getrlimit HAVE_GETRLIMIT:INTERNAL=1 //Have symbol getrusage HAVE_GETRUSAGE:INTERNAL=1 //Have symbol gettimeofday HAVE_GETTIMEOFDAY:INTERNAL=1 //Have include histedit.h HAVE_HISTEDIT_H:INTERNAL=1 //Test HAVE_INT64_T HAVE_INT64_T:INTERNAL=1 //Have include inttypes.h HAVE_INTTYPES_H:INTERNAL=1 //Have symbol isatty HAVE_ISATTY:INTERNAL=1 //Have library dl HAVE_LIBDL:INTERNAL=...