Displaying 7 results from an estimated 7 matches for "get_random".
2020 Jul 07
3
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...ntic much better.
> > I might not still understand the expected usecase but if the target
> > application has to be changed anyway then why not simply use a
> > transparent and proper signaling mechanism like poll on a fd. That
>
> The goal is to have cryprographically-safe get_random_number() with 0
> syscalls.
>
> You'd need to do:
>
> if (!poll(did_i_migrate)) {
> use_prng_seed();
> if (poll(did_i_migrate)) {
> /* oops_they_migrated_me_in_middle_of_computation,
> lets_redo_it() */
> goto retry:
>...
2020 Jul 07
3
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...ntic much better.
> > I might not still understand the expected usecase but if the target
> > application has to be changed anyway then why not simply use a
> > transparent and proper signaling mechanism like poll on a fd. That
>
> The goal is to have cryprographically-safe get_random_number() with 0
> syscalls.
>
> You'd need to do:
>
> if (!poll(did_i_migrate)) {
> use_prng_seed();
> if (poll(did_i_migrate)) {
> /* oops_they_migrated_me_in_middle_of_computation,
> lets_redo_it() */
> goto retry:
>...
2020 Jul 12
0
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
On Tue 2020-07-07 12:00:41, Colm MacCarthaigh wrote:
>
>
> On 7 Jul 2020, at 9:37, Pavel Machek wrote:
> > Please go through the thread and try to understand it.
> >
> > You'd need syscalls per get_randomness(), not per migration.
>
> I think one check per get_randomness() is sufficient, though putting it at
> the end of the critical section rather than the beginning helps.
Yeah, well, one syscall is still enough to make it useless.
Best regards,
Pavel
--
(english) http://www.l...
2009 Apr 24
0
[PATCH 2/2] Preserve MBR id in isohybrid
...--- a/utils/isohybrid.in
+++ b/utils/isohybrid.in
@@ -100,6 +100,13 @@ if ($c > 1024) {
$cc = $c;
}
+# Preserve id when run again
+seek(FILE, 440, SEEK_SET) or die "$0: $file: $!\n";
+read(FILE, $id, 4);
+if ($id eq "\x00\x00\x00\x00") {
+ $id = pack("V", get_random());
+}
+
# Print the MBR and partition table
seek(FILE, 0, SEEK_SET) or die "$0: $file: $!\n";
@@ -117,12 +124,7 @@ if ( length($mbr) > 432 ) {
$mbr .= "\0" x (432 - length($mbr));
$mbr .= pack("VV", $de_lba*4, 0); # Offset 432: LBA of isolinux.bin
-if (defi...
2008 Jan 18
8
Query All Worker
What does the method query_all_workers() do? There is no documentation
on what this method returns (1.0.1 version).
Orion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080118/9f9b8112/attachment.html
2014 Jun 21
1
isohybrid has 2 variants
Op 2014-06-20 om 15:56 schreef Ady:
>
> The Perl variant, isohybrid.in, seems to be getting left behind
> regarding several patches. I don't recall whether there is at least
> some mention in the isohybrid docs about the existence of 2 variants
> included in Syslinux (and that is in addition to other isohybrid
> methods outside Syslinux). Is there any reference?
>
2006 Sep 26
15
RE: Individual passwords for guest VNC servers ?
> Thanks all point about security, I''ll do as follows.
> I thought that the point was the following two.
>
>
> 1. Storage place of encrypted password
> Should I store it in /etc/xen/passwd ?
> Or, should I wait for DB of Xen that will be released in
> the future?
The xend life cycle management patches were posted by Alistair a couple
of months back.