similar to: [PATCH v2 0/2] Fix srandom issues.

Displaying 20 results from an estimated 400 matches similar to: "[PATCH v2 0/2] Fix srandom issues."

2012 Feb 10
3
[PATCH 0/3] Fix guestfish edit command.
This is a further, more comprehensive fix for https://bugzilla.redhat.com/show_bug.cgi?id=788641 The guestfish 'edit' command (aka 'emacs', 'vi') suffered from the same problems as virt-edit and more. It could have failed and left a partially overwritten file, and it didn't preserve permissions etc from the original file. These three patches fix all this. The first
2014 Aug 28
14
[PATCH 00/13] code refactorings for tools
Hi, this series does a couple of code reorganizations/refactoring in code used by tools: the windows path handling code, and the two types of file editing (using editor, and using perl expression). There's still a code duplication between the two variants of file editing, but it is just within a single source, and can be easily solved now (planning as next step). Pino Toscano (13): edit:
2017 Mar 03
14
[PATCH 00/11] Various Coverity fixes
Hi, this patch series fixes some issues discovered by Coverity. Most of them are memory leaks, usually on error; there are also invalid memory access issues. Thanks, Pino Toscano (11): java: link libguestfs_jni against libutils java: fix invalid memory access for FBuffer in struct lists daemon: tsk: properly use GUESTFS_MAX_CHUNK_SIZE edit: fix small memory leak on error java: fix
2017 Jan 26
1
[PATCH] Use srandom (time (NULL) + getpid ()) throughout.
It avoids two programs which start at exactly the same time from having the same random number seed, which helps in some tests. --- edit/edit.c | 3 ++- fish/fish.c | 2 +- tests/mount-local/test-parallel-mount-local.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/edit/edit.c b/edit/edit.c index
1999 Sep 07
2
R-0.65.0 on mips-sgi-irix6.5: Error code 1 (bu21)
Dear all, I want to install R-0.65.0 on mips-sgi-irix6.5 (SGI IRIX 6.5 IP32), but it doesn't work !!! I run the following configure call: <146>: ./configure --prefix=/usr/people40c/kuonen/Software/bin ... R is now configured for mips-sgi-irix6.5 Source directory: . Installation directory: /usr/people40c/kuonen/Software/bin C compiler: gcc -g -O2
2009 Jul 09
6
rdiscount Deadlock !
rdiscount-1.3.1.1 is uninstallable on solaris --------------------------------------------------------- root@dcb0:/opt/gitorious# gem install rdiscount -v 1.3.1.1 Building native extensions. This could take a while... ERROR: Error installing rdiscount: ERROR: Failed to build gem native extension. /opt/ruby/bin/ruby extconf.rb checking for random()... yes checking for srandom()... yes
2014 Jan 07
8
RFC: copy-attributes command
Hi, attached there is a prototype of patch for adding a new copy-attributes command. Such command would allow copy the attributes of a "file" to another, so for example in guestfish: copy-attributes foo bar permissions:true xattributes:false would only copy the permissions of foo to bar, not copying its extended attributes too. Just few notes: - my first daemon command, so
2012 Feb 08
2
Fix virt-edit so it preserves permissions (RHBZ#788641)
The first patch preserves file mode, UID, GID and SELinux context across edited files. The second patch adds a useful new command in guestfish ('llz') which shows SELinux context (like 'ls -laZ') that was useful when debugging this. Rich.
2015 Jul 01
1
[PATCH 1/2] utils: Add a test of the guestfs_int_drive_name function.
This function didn't have a unit test before. --- src/test-utils.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/test-utils.c b/src/test-utils.c index 8e1491f..c5e2f08 100644 --- a/src/test-utils.c +++ b/src/test-utils.c @@ -1,5 +1,5 @@ /* libguestfs - * Copyright (C) 2014 Red Hat Inc. + * Copyright (C) 2014-2015 Red Hat Inc. * *
2009 Aug 29
0
[LLVMdev] A create-distinct-item function with no (other) side effects
On Fri, Aug 28, 2009 at 5:56 PM, Kenneth Uildriks<kennethuil at gmail.com> wrote: > It would also > help optimize away calls to "random" in some cases. If you're talking about the Unix random(), it does has visible side effects, specifically related to the guarantee that an srandom call followed by N random() calls will always produce the same sequence of N numbers.
2015 Jul 01
2
[PATCH v2 0/2] utils: Add guestfs_int_drive_index and unit test.
Since v1: - Test error cases in the unit test of guestfs_int_drive_index. Rich.
2000 Jun 22
13
installing samba
Hi, I just downloaded the latest version of Samba in the form of samba-latest.tar.gz Managed to unzip it with gunzip but cannot figure out how to install it. Tried rpm but didn't work. I have an earlier version of Samba (2.0.6) on my SuSE 6.4 machine already. Can I just install the new version or do I need to do some sort of uninstall of the previous version first. advTHANKSance, Mariann
2015 Nov 22
2
Re: installation error
Thank you, The apt was set to look in the wheezy instead of the jessie one. > On 22 Nov 2015, at 13:30, Richard W.M. Jones <rjones@redhat.com> wrote: > > On Sat, Nov 21, 2015 at 05:12:19AM +0200, Keresztes Péter-Zoltán wrote: >> Hello, >> >> I am trying to install libguestfs on a proxmox (debian jessie with some custom packages) and when I run make at a certain
2020 Aug 11
3
[PATCH v3] virtio-rng: return available data with O_NONBLOCK
On 11/08/2020 16:28, mwilck at suse.com wrote: > From: Martin Wilck <mwilck at suse.com> > > If a program opens /dev/hwrng with O_NONBLOCK and uses poll() and > non-blocking read() to retrieve random data, it ends up in a tight > loop with poll() always returning POLLIN and read() returning EAGAIN. > This repeats forever until some process makes a blocking read() call.
2020 Aug 11
3
[PATCH v3] virtio-rng: return available data with O_NONBLOCK
On 11/08/2020 16:28, mwilck at suse.com wrote: > From: Martin Wilck <mwilck at suse.com> > > If a program opens /dev/hwrng with O_NONBLOCK and uses poll() and > non-blocking read() to retrieve random data, it ends up in a tight > loop with poll() always returning POLLIN and read() returning EAGAIN. > This repeats forever until some process makes a blocking read() call.
2009 Aug 29
4
[LLVMdev] A create-distinct-item function with no (other) side effects
On Fri, Aug 28, 2009 at 3:47 PM, Nick Lewycky<nlewycky at google.com> wrote: > > > 2009/8/28 Kenneth Uildriks <kennethuil at gmail.com> >> >> This is by design, of course, (CreateDistinctItem does not return the >> same value given the same caller-visible global state) but I see no >> way to declare a function that: >> >> 1. Returns a
2011 Feb 27
4
[PATCH] Add minimal mkstemp(3) implementation.
This uses time, ASLR and pid for randomisation. (Closes: #516774) Signed-off-by: Thorsten Glaser <tg at mirbsd.org> --- usr/include/stdlib.h | 2 + usr/klibc/Kbuild | 2 +- usr/klibc/mkstemp.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 1 deletions(-) create mode 100644 usr/klibc/mkstemp.c diff --git a/usr/include/stdlib.h
2000 Apr 13
3
GCC 2.95.2(Win32/Mingw32) build
I'd like to write a DLL wrapper (BladeEnc/lame_enc style) for libvorbis. I pulled down the CVS tree today, and with very slight changes (missing typedefs for int64_t, int16_t, etc...) got it to build using gcc 2.95.2 in Win95. Unfortunately, the encoder_example segfaults. I get the same results from Cygwin as well. On a linux box with egcs 2.91.66 it builds cleanly, and appears to
2004 Aug 06
2
one more try..
asked once before and didn't get a reply, but it was probably lost in my back-and-forth with Jack.. where is the encrypted password support for icecast 1.3.10? The documentation references a "mkpasswd.c" source file that doesn't exist anywhere in my icecast directory tree.. -------signature file------- PGP Key Fingerprint: 446B 7718 B219 9F1E 43DD 8E4A 6BE9 D739 CCC5 7FD7
2016 Dec 24
2
[PATCH] lib: Use a common function to validate strings.
As discussed in the thread on validating $TERM, it would be good to have a common function to do this. This is such a function. The main advantage is it includes unit tests which the previous functions did not. Rich.