sorted by: new top controversial old
[-] Killing_Spark@feddit.de 7 points 1 month ago

One Thing I've learned is not to trust semi decent historians. They tend to oversimplify things a lot

[-] Killing_Spark@feddit.de 14 points 1 month ago

Apply the ones in a star shape to distribute pressure evenly

[-] Killing_Spark@feddit.de 11 points 2 months ago

That's hardly surprising

[-] Killing_Spark@feddit.de 2 points 2 months ago

Not in this specific age group. Overall men are overrepresented, not by 90% but they are, but less so in younger people

[-] Killing_Spark@feddit.de 3 points 2 months ago

While I guess that's true and it's often surprising that the AfD is polling that well in the younger cohorts let's not overstate their success. There are also a lot of people in that cohort very vehemently disagreeing with the AfD.

[-] Killing_Spark@feddit.de 17 points 2 months ago

That is such a bullshit point. "The youth" doesn't want one homogeneous thing. The youth is just as diverse in opinions as other cohorts, maybe even more so. It is also more likely to be on more radikal Sides of the political spectrum.

[-] Killing_Spark@feddit.de 5 points 2 months ago

Make sure it isn't just the Pomeranians. Some Pomeranians are definitely going to be in the mix.

[-] Killing_Spark@feddit.de 2 points 2 months ago

Oh you can also just give a clear preference to other modes of transportation via traffic rules. Let's say there are traffic lights that only allow bikes to pass more often than they allow cars to pass that's pretty neat

[-] Killing_Spark@feddit.de 87 points 2 months ago* (last edited 2 months ago)

Did you just expect people that call random devs at random times to actually read any information on a website?

[-] Killing_Spark@feddit.de 3 points 2 months ago
[-] Killing_Spark@feddit.de 0 points 2 months ago

You just have a chain of unprovable assumptions there.

Kid's use slang -> they must have picked it up on the internet -> many people are illiterate -> the parents of these specific kids are not raising them right

[-] Killing_Spark@feddit.de 0 points 2 months ago

Excuse me the correct slang here would be to hit someone with that "hawk tuah"

24
submitted 6 months ago by Killing_Spark@feddit.de to c/linux@lemmy.ml

The context I came upon this question is dbus filedescriptor passing but the question is valid more broadly. Assume you are implementing some service that is supposed to receive some kind of filedescriptor for client processes. You get a message that is in some kind or another malformed but you have already received the filedescriptor.

What do you do with that fd? Is close()ing it guaranteed to be enough?

The question was sparked by a safety comment on rusts abstraction of a OwnedFd, which will run close() in its destructor and binds you by contract to only create it from a filedescriptor if close is all that is needed for cleanup.

This of course made me worry about the possibility of malicious clients sending special filedescriptors that accumulate some kind of ressource on the server process causing some kind of DOS.

I guess a secondary question is: Do you know any example where calling close() is not enough?

view more: next ›

Killing_Spark

joined 1 year ago