Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:This would actually be useful the other way aro (Score 1) 205

But just no, to the conversation mirror - most parents already don't keep their eyes on the road, we don't need to give them another excuse.

Ah, memories of my childhood. Things like my father flying down the freeway at 60 turning around in his seat and screaming "You look at me when I'm talking to you boy!" while everyone else screamed about oncoming traffic.

At the time I learned to drive, I considered my greatest achievement was being able to hold a conversation without looking at the person I'm speaking with.

Comment Re:barf (Score 1) 154

That's also seen in bad console ports, by the way.

I've long since overcome my motion sickness (mom's van came with multiple barf buckets), but watching the screen move like I flicked google maps and it slowly pans to a stop (especially in any kind of curved motion) tickles the part of my brain that says "stop that, it's trying to make you sick".

Comment Re:This is not how you inspire confidence (Score 1) 151

Only if the master process quit after forking twice. This is not typical

No, this IS typical. The double fork allows the original process to interact with the user ("Enter your private key password:"), then exit and return 0 to the init script so init can print [ OK ] on your console.

The middle process needs to close file descriptors and do other cleanup then fork and die, causing the final process to become re-parented to init. Init then becomes responsible for cleaning it up if it dies, so it won't become a zombie.

Step-by-step "how to daemon" guide here.

Comment Re:This is not how you inspire confidence (Score 4, Informative) 151

OpenSSL's RNG is used in many places separately from the SSL communication protocol itself, sometimes just for encryption in general (S/MIME) or sometimes someone just wants really random bytes.

Many servers fork twice in order to reparent to init, repeated forking is a common idiom in unixland.

Apache with MPM-prefork forks a bunch of children from a master process, which is typically itself a descendant of apachectl. In apache's case, this shouldn't be a problem since the "master-process-rng" would have recognized the fork and reinitialized on the first openssl connection, so the children are protected because they cannot have the same PID as the master-process.

Where it would be a problem would be an application or daemon that starts up, initializes the RNG, forks twice, then without this fork touching the RNG, starts forking children to do something random (say, encrypting one file per process or establishing a single SSL connection per process or something). Without having the RNG reset by the master process, one in 65534 or so processes will have the exact same RNG, because it will have inherited the original RNG untouched and be assigned the PID that created the RNG.

Comment Re:Rand Paul's a plagiarizing misogynistic racist (Score 2) 533

with fewer regulations for everyone

Ahahaha whoa there now, slow down sonny. Those regulations are there for a reason, mostly to keep people from competing against me and to make sure that nobody smokes anything I wouldn't openly admit to smoking. Let's back up to that low taxes thing.

Comment Re:Lessons not learned (Score 1) 205

I went across the street and told my elderly neighbours (both have since passed) who had survived the great depression and served in world war 2 that no, they had seen worse in the world, and it wasn't going to end, all they had to do was change the batteries in their smoke detectors and get a good nights sleep.

Well THERE'S the problem right there! Your neighbors were in charge of fixing the DMV's software!

Slashdot Top Deals

Scientists will study your brain to learn more about your distant cousin, Man.

Working...