similar to: getrusage() privileged on Solaris 2.5.1

Displaying 20 results from an estimated 1000 matches similar to: "getrusage() privileged on Solaris 2.5.1"

2000 Jun 15
1
ssh 2.1.1p1 can't connect; ssh 1.2.3 can
My ISP supports connections via ssh. I was using OpenSSH 1.2.3 (portable) on Solaris 2.5.1 (with EGD), and I could connect to my ISP just fine. They're using the proprietary sshd version 1.2.26 as far as I can tell. A connect session looks like: $ ssh-1.2.3 -v -l foobar xx.xx.xx.xx SSH Version OpenSSH-1.2.3, protocol version 1.5. Compiled with SSL. debug: ssh_connect: getuid 390
2000 Jun 15
1
problem in entropy.c if no getrusage
entropy.c assumes 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
2006 Mar 17
1
[PATCH] OpenSSL RNG initialization
Hi, dovecot tries to use OpenSSL's PRNG to generate random numbers if there is no /dev/urandom found. Unfortunately, it is flawed in its present form, since the PRNG is not seeded before RAND_bytes() is called in src/lib/randgen.c (on systems which have /dev/urandom, OpenSSL automatically seeds its PRNG from the urandom device). Here's a patch to address this issue: it tries to seed
2000 Nov 02
2
misc. minor patches
I've had these laying about for a while, can't remember whether I sent them before. diff -u openssh-2.1.1p1.orig/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 +=
2006 Mar 02
1
Failing to understand getrusage()
I'm failing to understand how getrusage() works, which is a bit perplexing, because it doesn't seem like it would be terribly complicated. I've attached the code. My aim is to verify that I can use getrusage() to do (admittedly crude) instrumentation of which functions in my program are allocating lots of memory[1]. So I figure I can call getrusage() at various points and look at
2006 Oct 31
0
6288308 Unintialized struct causes getrusage(3C) to return bogus data
Author: johansen Repository: /hg/zfs-crypto/gate Revision: 975d44f4cb80f31c669fd814d1fdeea15318aa5b Log message: 6288308 Unintialized struct causes getrusage(3C) to return bogus data Files: update: usr/src/uts/common/syscall/rusagesys.c
2001 Jun 07
0
Patch for systems with no setreuid()
Sorry if I'm duplicating an existing patch, but... On systems with no seteuid() that have setreuid() there is an emulation, but if both are lacking (but we do have setresuid()), nothing is done. The following seems to be right, but I've only got one machine (running an ancient version of HP-UX) which needs this so it may not be general: --cut-here-- --- config.h.in.orig Thu Jun 7
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
hello hpa, here my birthday submission :) please pull: git pull git://git.debian.org/users/maks/klibc.git maks Sam fixed a longstanding x86_32 build bug, thus it seems a good time to flush the queue of the piled up patches, the shortlog tells it: Aurelien Jarno (1): [klibc] sh4: syscalls fixes Benjamin Cama (1): [klibc] fstype: btrfs size endianness fix Mike Waychison (2):
2001 Sep 29
0
configure.in fixes for 2.9.9p2
configure.in patches for 2.9.9p2: 1. Allow --with-pcre to take a path specifying the root of the PCRE install (ROOT/include, ROOT/lib) 2. Ditto for --with-zlib 3. $no_libnsl and $no_libsocket can be determined programmatically 4. Check for innetgr, getspnam, and util in the default $LIBS before checking in -lrpc, -lgen, and -lutil, respectively 5. dirname() is in -lgen on some
2001 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
Hi, in configure.in the patch for `setvbuf' is missing while in sftp-int.c the HAVE_SETVBUF define is used: Index: configure.in =================================================================== RCS file: /cvs/openssh_cvs/configure.in,v retrieving revision 1.286 diff -u -p -r1.286 configure.in --- configure.in 2001/05/17 03:32:51 1.286 +++ configure.in 2001/05/22 11:59:54 @@ -460,7 +460,7
2000 Jun 21
1
Linux sshd dumps core unless client is insecure.
pausmith at nortelnetworks.com (Paul D. Smith) had a problem where his 2.1.1p1 wouldn't connect if it was running set-UID root, unless "-P" was given. Gert Doering <gert at greenie.muc.de> suggested a firewall problem. Damien Miller <djm at mindrot.org> tried to help too. Now I've got the same problem: my 2.1.1p1, 1.2.2, and 1.2.3 clients won't connect to
2007 Feb 02
2
Registering hostnames with an AD server?
It seems like most people here are asking pretty advanced questions, and I don't think this is one--but I've read a lot of documentation and I can't come up with an answer. We have a 100% Windows-based IT infrastructure here, including using AD to manage hostname mapping. I know hardly anything about Windows, since I've been a UNIX person for 20+ years and I've been
2001 Feb 13
1
configure.in reorder patch
Feb 12 CVS (sort of, see warning below) I've had to change around some of the code in configure.in to get some platforms to compile with the --with-tcp-wrappers option. Basicly I have set it up to check headers check system libraries check for optional packages check functions I have also tried to clean up the library order as it is important on some platforms. This patch works on Solaris
2000 Aug 01
2
[2.1.1p4] utmp patch for SunOS 4.1.x
Follow-on to Charles Levert's <charles at comm.polymtl.ca> work on utmp_write_direct. Fixed: -- At logout, the utmp entry is cleared. Tested on SunOS 4.1.4. The code I added to loginrec.c is restricted to SUNOS4 pending QA testing on other platforms. This patch incorporates the work done by Charles Levert on 7/25/2000 00:43:22. (Do any of us sleep at
2010 Sep 03
1
TinycoreLinux Install
Trying to build xapian+omega on tinycorelinux. I followed the install guide and get pass configure/make/make install/omindex, but when I try to run omega "P=search term", I received the following message: # ./omega.cgi 'P=small' Content-Type: text/html; charset=utf-8 Illegal instruction # Attached is the config.log . Make check in omega-core/tests/ shows a lot of failed
2011 Jan 05
4
[LLVMdev] include/Config/config.h discrepancies between CMake and autofoo builds
On Jan 5, 2011, at 9:58 AM, Óscar Fuentes wrote: > Eric Christopher <echristo at apple.com> writes: > >>>> Or cleanup both headers from unused stuff by Eric's >>>> suggestion? >>> >>> I'm not sure this is a good idea (not that it is bad either). Murphy's >>> Law says that a function that you remove today will be used
1999 Jun 24
0
Using Amanda + Samba to backup NT4 servers?
Hi all, Has anyone used amanda in combination with samba to back up an NT4 server system? I'm able to connect to the server with both smbclient and smbtar on the command line, but I can't get amanda to connect. Supposedly amanda uses smbclient and smbtar to perform the backups. I'm continually getting the following error from amcheck: ERROR: amanda: [PC SHARE //servername/share
1999 Jul 13
0
Restoring from an smbclient/gtar archive?
Hi all, I recently used smbtar (Samba Version 2.0.4) to create a tar file "backup" of an NT filesystem. However, when using GNU tar to extract the tar file, I get a little ways into the 'tar xvpf ../file.tar' command and get a whole bunch of errors: tar: Read error on ../file.tar: Invalid argument tar: Read error on ../file.tar: Invalid argument tar: Read error on
2002 Oct 25
0
NeXT Community
I need someone in the NeXT community to apply this to 3.5 and tell me if it solves the mmap issue where it misdetects a working mmap(). My NeXT box is packed up. If you know anyone in Minnesota that wants a 68k-25mhz Slab w/ 2 B&W monitors, 2 keyboards, 2 mice, NeXT printer and OS. Have them email me. I won't ship it, but I have no more time to be handling an OS this old. =) I have no
2009 Aug 12
0
Problem with Linux x86_64 RODBC and Netezza (PR#13889)
Full_Name: Kenneth Cater Version: 2.9.1 OS: Linux x86_64 Submission from: (NULL) (171.159.192.10) It appears that R closes my connection to the Netezza device before the Netezza has completed its return of data, below are two files clean_test.log which tracks the systems call made when running the test.r file, and clean_test.out which is the output generated when test.r is executed. Notice how