System calls: how programs talk to the Linux kernel
Hello everyone,
I've just published the second post in my Linux Inside Out series.
In the first post we demystified the Linux kernel a bit: where it lives, how to boot it in a VM, and we even wrote a tiny init program.
In this second post we go one layer deeper and look at how programs actually talk to the kernel.
We'll do a few small experiments to see:
* how our init program (that we wrote in the first post) communicates with the kernel via system calls
* how something like echo "hello" ends up printing text on your screen
* how to trace system calls to understand what a program is doing
I’m mainly targeting developers and self-hosters who use Linux daily and are curious about the internals of a Linux-based operating system.
This is part 2 of a longer series, going layer by layer through a Linux system while trying to keep things practical and approachable.
Link (part 2): serversfor.dev/linux-inside-ou…
Link (part 1): serversfor.dev/linux-inside-ou…
As always, any feedback is appreciated.
System calls: how programs talk to the Linux kernel
System calls are how programs ask the kernel to do things. Learn how they work, how to trace them, and why this gives you troubleshooting superpowers.serversfor.dev
Liberal MP says she was shoved by Israeli officials at West Bank border crossing
Liberal MP says she was shoved by Israeli officials at West Bank border crossing
OTTAWA - A Liberal MP says she was shoved several times by Israeli border officials as her delegation was denied entry to the West Bank Tuesday.thecanadianpressnews.ca
The Worst Thing About the RAM Shortage That Nobody’s Talking About
The Worst Thing About the RAM Shortage That Nobody’s Talking About
No matter what, consumers are going to lose.Kyle Barr (Gizmodo)
Alternative idea for the adventurous lot - or extreme self-hosters: Buy an old Xeon datacenter server with 1.5tb ddr3 ram (separately). Ddr3 still costs around a dollar pr gig (a month ago), so this rig with two xeon and 24 * 64gb ddr3 ram will cost ~1900$ + transport: ~2k.
(OR an older pc motherboard with 4*64 channels or similar)
DDR3 is a bit slower, use more power, and the server is big/noisy, but the difference in price is unbeatable, and it's a hell of a KVcache (for ai) if you put a gpu in it.
Note though, that power expenses are going up in the West.
permits only athletes assigned female at birth to compete in women’s sports.
So a trans man, having been assigned female at birth, could compete in women's sports?
So a trans man, having been assigned female at birth, could compete in women’s sports?
I want to see that happen. Watch Danielle Huckabee Smith's head explodel
US tech firm Palantir extends deal with French intelligence agency
The renewed contract will see Palantir continue to provide the DGSI agency with its "proprietary software platform, as well as the integration, support and assistance services that are necessary for... deployment and operational use," it said in a statement.
US tech firm Palantir extends deal with French intelligence agency
Palantir will continue to provide France's domestic intelligence agency with its 'proprietary software platform, as well as the integration, support and assistance services that are necessary for...Le Monde with AFP (Le Monde)
US tech firm Palantir extends deal with French intelligence agency
cross-posted from : lemmy.zip/post/55172156
The renewed contract will see Palantir continue to provide the DGSI agency with its "proprietary software platform, as well as the integration, support and assistance services that are necessary for... deployment and operational use," it said in a statement.
US tech firm Palantir extends deal with French intelligence agency
The renewed contract will see Palantir continue to provide the DGSI agency with its "proprietary software platform, as well as the integration, support and assistance services that are necessary for... deployment and operational use," it said in a statement.
US tech firm Palantir extends deal with French intelligence agency
Palantir will continue to provide France's domestic intelligence agency with its 'proprietary software platform, as well as the integration, support and assistance services that are necessary for...Le Monde with AFP (Le Monde)
is m0nkrus and is genP safe?
Assange files criminal complaint against Nobel Foundation: Peace prize isn’t a war fund
WikiLeaks founder Julian Assange has filed a sweeping criminal complaint in Sweden accusing 30 Nobel Foundation officials of misappropriation, facilitating war crimes, and turning the Peace Prize into what he calls “an instrument of war.”
Assange is asking Swedish authorities to immediately freeze the 11 million SEK prize money before its transfer to Machado. The complaint says Nobel administrators breached their fiduciary duty by approving a payout to a figure who has openly advocated foreign military intervention.
️ Assange cites statements in which Machado supports US military escalation around Venezuela and endorses strikes that would kill civilians. Nobel officials, he argues, “converted an instrument of peace into an instrument of war.”
Assange files criminal complaint against Nobel Foundation: Peace prize isn’t a war fund
WikiLeaks founder Julian Assange has filed a sweeping criminal complaint in Sweden accusing 30 Nobel Foundation officials of misappropriation, facilitating war crimes, and turning the Peace Prize into what he calls “an instrument of war.”️...Pravda Sweden
Assange files criminal complaint against Nobel Foundation: Peace prize isn’t a war fund
WikiLeaks founder Julian Assange has filed a sweeping criminal complaint in Sweden accusing 30 Nobel Foundation officials of misappropriation, facilitating war crimes, and turning the Peace Prize into what he calls “an instrument of war.”
Assange is asking Swedish authorities to immediately freeze the 11 million SEK prize money before its transfer to Machado. The complaint says Nobel administrators breached their fiduciary duty by approving a payout to a figure who has openly advocated foreign military intervention.
️ Assange cites statements in which Machado supports US military escalation around Venezuela and endorses strikes that would kill civilians. Nobel officials, he argues, “converted an instrument of peace into an instrument of war.”
Assange files criminal complaint against Nobel Foundation: Peace prize isn’t a war fund
WikiLeaks founder Julian Assange has filed a sweeping criminal complaint in Sweden accusing 30 Nobel Foundation officials of misappropriation, facilitating war crimes, and turning the Peace Prize into what he calls “an instrument of war.”️...Pravda Sweden
like this
Dessalines and Maeve like this.
No, but he does look healthier. I think this is a current photo from laktu.com/politique/cannes-202…
Edit: clearer photo from same event at outlookindia.com/art-entertain…
Cannes 2025: Julian Assange Attends The Film Festival In T-shirt Carrying Names Of Palestinian Children Killed By Israel
Julian Assange, the founder of WikiLeaks, attended the 78th Cannes Film Festival, for the screening of The Six Billion Dollar Man, a documentary about his life.Outlook Entertainment Desk (Outlook India)
He's not wrong about the Peace Prize but his past is really bad.
He selectively released information to help Trump win the 2016 election.
And he's a convicted rapist.
'Yes, he exposed American war crimes, but then Trump won instead of Hillary, and I didn't get my healthcare treats for murdering brown people."
Also, imagine taking the rape smear against any opponent of western imperialism seriously in 2025.
'Yes, he exposed American war crimes, but
That was his earlier release in 2010.
In 2015 he had Democrat and Republican emails but only released Democrat emails.
On 7 October, WikiLeaks began publishing emails from Clinton campaign chairman John Podesta.[296] On 15 October, the Ecuadorian government severed Assange's Internet connection from until December because of election interference.[297] According to surveillance reports of Assange provided by UC Global, on 19 October, associates of Assange removed boxes covered with blankets and about 100 hard drives from the embassy.
[298]In November 2016, WikiLeaks asked Donald Trump Jr. to share a WikiLeaks tweet with the made-up quote "Can't we just drone this guy?" which the website True Pundit claimed that Hillary Clinton had made about Assange.[299] After the election, WikiLeaks and Assange requested that the president-elect Donald Trump push Australia to appoint Assange as ambassador to the US.
So he didn't release DNC emails to make Hillary look bad? He didn't get Trump Jr to promote a lie about what Hillary said? He didn't try to use his election interference to get an ambassador position from Trump?
The only thing I was wrong about was that he had RNC emails. Russia never gave them to him.
"So he didn’t release DNC emails to make Hillary look bad?"
In 7 October, WikiLeaks began publishing emails from Clinton campaign chairman John Podesta
washingtonpost.com/news/politi…
" He didn’t get Trump Jr to promote a lie about what Hillary said? "
In November 2016, WikiLeaks asked Donald Trump Jr. to share a WikiLeaks tweet with the made-up quote
nymag.com/intelligencer/2016/1…
After the election, WikiLeaks and Assange requested that the president-elect Donald Trump push Australia to appoint Assange as ambassador to the US.
" He didn’t try to use his election interference to get an ambassador position from Trump?"
the-independent.com/news/world…
The Wikipedia article I linked earlier has links to every source. I've now provided them for you.
Julian Assange renews offer to become ambassador to US after private messages with Trump Jr are revealed | The Independent
The offer came after the publication of correspondence between Wikileaks and the President's eldest sonAndrew Buncombe (The Independent)
I literally quoted each and every line from my post along with the corresponding Wikipedia quote from my post AND THE SOURCE.
"The only thing I was wrong about was that he had RNC emails."
What the fuck is wrong with you?
I have no idea what you are arguing about.
The post that referenced Wikipedia had 3 claims with sources:
Assange released DNC emails.
Assange had Trump Jr post a lie about Hillary.
Assange asked Trump for an ambassadorship.
Which of these did I not provide sources?
I have said 2 times that I was wrong about Assange not releasing RNC emails because Russia didn't give them to him.
What exactly is the problem you are seeing?
Repeating, "You are a liar." isn't proof. It is the assertion you need to show evidence of.
I think it's now clear you keep repeating, "You are a liar." while refusing to provide any proof is because you don't have any evidence.
“A quick ai check”
You are astronomically fucking dumb just for saying that, and I don’t respect anything you say now. Good job.
If the imperialist AI claims there is no merit to the claim without sources and the OP provides no sources then I will not waste time on it.
You go ahead and waste hours on gish galloping concern trolls which have now been proven to be wrong after asking for a source and they had none as expected. They are not worth more than an AI paste for me.
Assange isn't an anti-imperialist, he's only anti-American imperialism. He's super into Russian imperialism.
He seems to fucking love it.
He personally turned down multiple leaks from Russian sources, including a 68Gb cashe from the Russian Interior Ministry.
And the rape.
Overall, just a shit person, and now he whining about not winning a Peace Prize when his actions directly led to Trump and a less peaceful world.
foreignpolicy.com/2017/08/17/w…
washingtonpost.com/opinions/20…
If you want actual journalism, look at DDoSecrets.
There was also the RT talk show in 2012, and the fact that wikileaks hasn't published anything at all critical of Russia since 2010.
WikiLeaks Turned Down Leaks on Russian Government During U.S. Presidential Campaign
The leak organization ignored damaging information on the Kremlin to focus on Hillary Clinton and election-related hacks.Jenna McLaughlin (Foreign Policy)
These are hyper imperialist newspapers which justify the genocide in Gaza they're not a source and they don't provide anything special.
I'm not expecting Assagne to make enemies of Russia while he needs them to hide from prosecution by the West. Besides these Russia leaks were seemingly not being very significant and indeed not verifiable FT and Wapo are obviously looking for slander.
As for the RT news show give me a break you're linking genocide outlets you don't care about any of that. Were he to have to stick to "reputable news" only he would be allowed nowhere because that doesn't exist. Unless Assange was actively lying on there it doesnt matter.
Holy fuck, batman, with the bullshit attempt at redirection. Denied.
I know you're a fanboy, but there should be a limit to how much reality a person can blatantly ignore.
Assange directly coordinated with Russia's G.R.U. to get Trump elected. We have the messages. They're in the Mueller report.
He wasn't just being friendly, he was actively working with an imperialist empire, just one led by a totalitarian. I guess he just likes dictators.
As for RT, Russia Today. The direct propaganda arm of the Russian state. That talk show deal was likely how Assange was compromised. Which led to that whole, stop releasing anything critical of Russia thing he started in 2010, two whole years before that whole "fleeing from Rape charges" thing he did. (talk show deals take time, even for a dictator's propaganda channel)
The simple lesson is that if someone is anti-America, they are not automatically good. They can, in fact, be quite shit. Most countries are, in fact, quite shit. To actually get at truth, you have to get in it and wade. Or you can shut your brain off and believe what some dictator's propaganda arm says, just because that country is (often rightly) anti-America.
I don't care about the literal American state ran propaganda campaign you're bringing up. Now since all you have against Assange are adhoms, and apparently doing a show on Russian state TV propaganda is dishonest but doing one with American state propaganda is awesome and reliable, I think you should reconsider what the word news even means.
Assange exposed massive amounts of US war crimes and actual propaganda and American brainwashing and paid for it with half his life. Because "muh press freedom".
Dude may have exposed some serious crimes, but he's not a hero.
He fucking sucks as a person. He was sloppy with his leaks, which got activists and whistleblowers imprisoned or killed, and again, has not once since 2010 said or released anything critical of Russia, a totalitarian dictatorship currently engaged in an imperialistic war of aggression. And yes, he worked with them in 2016. It was not a hoax or propaganda, you just have to look at Fox's efforts to discredit the entire thing.
Just the multiple sloppy releases are enough to say that Assange is doing harm in the world. I can't stress that enough, his casual disregard for the innocent people named in his releases has gotten people killed.
But worst of all was the animal abuse. He never cleaned up after his cat, in fact he got rid of the cat when he was required to take care of it.
In 2018, Assange was told he had to abide by new rules imposed by the Ecuadorian embassy, which included paying for and taking care of his cat. Assange reportedly freed the cat from its isolation to give it a healthier life, according to Italian newspaper La Repubblica.
We don't need his ass, and then this whiny ass bullshit, suing the Nobel foundation because they snubbed him.
Support actual journalism and responsible document leaks as ddosecrets.com/
WikiLeaks publishes full cache of unredacted cables
Former media partners condemn WikiLeaks' decision to make public documents identifying activists and whistleblowersJames Ball (The Guardian)
Assange was human and had some faults wow how awful.
Liberals will find any reason to denounce a hero but defend mass murderers like Obama and Hillary Clinton in the same breath.
Be a gentleman, apologize and use the correct name for it:
KKKlanada.
How many shrimp do you have to eat to make your skin turn pink?
Also Kerro Kerro is so much more fun than “Croak”
As the dude from this picture, let me tell you that piracy was reeeally different 30 years ago (more like 25 for me). We were years away from DSL, downloading a piss-poor CAM rip of Star Wars ep1 took hours. Then you'd invest in a CD burner and exchange movies with your friends.
When I cancelled my subscriptions a year ago, I found out about Jellyfin and the *arr stack, took a couple of hours to set them up, and now I can download a whole show in a couple of taps while my friend is telling me about it, and watch it on my TV in 4K, or on my phone in the subway like 15 minutes later.
Sure, the underlying methods of acquisition haven't changed much since BitTorrent came out, but the ecosystem is on a whole other level.
Every time I've dove back into the high seas the landscape had changed.
I enjoyed my last go around w Kodi using it as you described and I'm glad to know it's gotten better.
Seriously, like I want to watch the new fallout but I don’t want to subscribe to Amazon for just that. I hate Amazon in general as a company but also I just wish I could buy a bluray of the season and be good but I don’t think they even offer physical releases until later on and often they don’t even do physical releases for a majority of them anyway.
If I can’t buy it on disc and it’s not on a streaming service that is already bundled in something I pay for (Apple tv being the only one tbh) then I will just download it myself.
I admit, I took the bait for a while and subscribed to a few streaming platforms. A few bucks a month to not deal with the inherent risks of pirating, or headaches trying to find a bootleg stream that works? Why not?
Then came the price increases. Shows abruptly moving to other streaming platforms with little to no warning. Ads with tiered services ("pay $10 more to see just two minutes of ads instead of five!").
Suddenly pirating started to look good again.
Av världens fiskbestånd är en överväldigande majoritet hållbart fiskade eller underfiskade. För fisket gäller att cirka 65 % av allt fiske är hållbart. Dessa fisken producerar nästan 80% av världens sjömat direkt och indirekt.
fiske.zaramis.se/2025/12/17/ww…
WWF:s förvirrande fiskguide - Svenssons Nyheter - Njord
WWF:s förvirrande fiskguide. Av världens fiskbestånd är en överväldigande majoritet hållbart fiskade eller underfiskade. För fisket gällerAnders Svensson (Svenssons Nyheter - Njord)
He wasn't really a scapegoat, he is the one who caused it to tip over. Both corporations and citizens were polluting the lake, seemingly legally in the absence of regulation, or at least enforcement. After the critical state of the water was discovered by Lisa, everyone, including, Burns stopped dumping waste in the lake. It would have started to slowly recover over the next couple of months-years, as the newly introduced anti pollution regulations were (at least initially) effective.
Homer was the only one who actually illegally dumped waste, and he did so in full knowledge of the consequence, and for literally no other reason that he wanted to eat donuts after the health department shut down the donut shop.
He's not solely responsible for the pollution, but he is solely responsible for adding the straw that broke the camels back, and he did so in full knowledge of the severity of the consequences, and for utterly banal and selfish reasons.
like this
Azathoth likes this.
That's true, but at the same time it brings to mind that whole "We're sorry" schtick that BP pulled way back when. Sure, maybe now they've finally stopped, but how long will it truly take to reverse all the damage, if it even can be, and how will everyone who's been guilty thus far be held accountable?
Homer was the straw that broke the camel's back sure, but blaming him for the entire load seems unfair.
I'm really surprised that anyone remembers the plot of the Simpsons movie.
EDIT: The Simpsons movie came out so long ago that it is old enough to do porn
The Simpsons movie came out so long ago that it is old enough to do porn
Whoa, major spoilers for the untitled 2027 second movie!
UK to “encourage” Apple and Google to put nudity-blocking systems on phones
UK to “encourage” Apple and Google to put nudity-blocking systems on phones
Government seeks “nudity-detection algorithms” in iOS and Android, report says.Jon Brodkin (Ars Technica)
Is Mozilla trying hard to kill itself?
📝 Is Mozilla trying hard to kill itself?
In an interview with “The Verge”, the new Mozilla CEO, Enzor-DeMeo, IMHO hints that axing adblockers is something that, at the very least, was on the table in some form and at some point. From the article:He says he could begin to block ad blockers in Firefox and estimates that’d bring in another $150 million, but he doesn’t want to do that. It feels off-mission.
It may be just me, but I read this as “I don't want to 😜 😜 but I'll kill AdBlockers in Firefox for buckerinos 😂”. This disappoints and saddens me a lot, and I hope I'm wrong. I've been using Firefox before it was called that. Heck, I even used the Mozilla Application Suite back in the day. It was its commitment to open standards and the open web, and its powerful add-on system, that attracted me to its software.Honestly, that's what's been keeping me. I think that's also what's been keeping their loyal base of users with the project, the geeks and nerds that care about privacy. It's the same group of people who helped it get very popular at one point.
Killing one of its advantages over the Chromium engine, being able to have a fucking adblocker that's actually useful, and that nowadays is a fucking security feature due to malvertising, will be another nail in the coffin, IMHO. The core community will feel disenfranchised, and this may have negative consequences for the project. You know why? Because these are some of the people that the normies turn to when they want tech advice.
For fuck sake, for-profit side of Mozilla, get a damn grip!
#Mozilla #Firefox #AdBlocker #OpenSource #FOSS
Mozilla’s new CEO is doubling down on an AI future for Firefox
Anthony Enzor-DeMeo says he thinks Mozilla and Firefox still have a role to play in the web, even as things shift toward AI.David Pierce (The Verge)
Is Mozilla trying hard to kill itself?
📝 Is Mozilla trying hard to kill itself?
In an interview with “The Verge”, the new Mozilla CEO, Enzor-DeMeo, IMHO hints that axing adblockers is something that, at the very least, was on the table in some form and at some point. From the article:He says he could begin to block ad blockers in Firefox and estimates that’d bring in another $150 million, but he doesn’t want to do that. It feels off-mission.
It may be just me, but I read this as “I don't want to 😜 😜 but I'll kill AdBlockers in Firefox for buckerinos 😂”. This disappoints and saddens me a lot, and I hope I'm wrong. I've been using Firefox before it was called that. Heck, I even used the Mozilla Application Suite back in the day. It was its commitment to open standards and the open web, and its powerful add-on system, that attracted me to its software.Honestly, that's what's been keeping me. I think that's also what's been keeping their loyal base of users with the project, the geeks and nerds that care about privacy. It's the same group of people who helped it get very popular at one point.
Killing one of its advantages over the Chromium engine, being able to have a fucking adblocker that's actually useful, and that nowadays is a fucking security feature due to malvertising, will be another nail in the coffin, IMHO. The core community will feel disenfranchised, and this may have negative consequences for the project. You know why? Because these are some of the people that the normies turn to when they want tech advice.
For fuck sake, for-profit side of Mozilla, get a damn grip!
#Mozilla #Firefox #AdBlocker #OpenSource #FOSS
Mozilla’s new CEO is doubling down on an AI future for Firefox
Anthony Enzor-DeMeo says he thinks Mozilla and Firefox still have a role to play in the web, even as things shift toward AI.David Pierce (The Verge)
Is Mozilla trying hard to kill itself?
📝 Is Mozilla trying hard to kill itself?
In an interview with “The Verge”, the new Mozilla CEO, Enzor-DeMeo, IMHO hints that axing adblockers is something that, at the very least, was on the table in some form and at some point. From the article:He says he could begin to block ad blockers in Firefox and estimates that’d bring in another $150 million, but he doesn’t want to do that. It feels off-mission.
It may be just me, but I read this as “I don't want to 😜 😜 but I'll kill AdBlockers in Firefox for buckerinos 😂”. This disappoints and saddens me a lot, and I hope I'm wrong. I've been using Firefox before it was called that. Heck, I even used the Mozilla Application Suite back in the day. It was its commitment to open standards and the open web, and its powerful add-on system, that attracted me to its software.Honestly, that's what's been keeping me. I think that's also what's been keeping their loyal base of users with the project, the geeks and nerds that care about privacy. It's the same group of people who helped it get very popular at one point.
Killing one of its advantages over the Chromium engine, being able to have a fucking adblocker that's actually useful, and that nowadays is a fucking security feature due to malvertising, will be another nail in the coffin, IMHO. The core community will feel disenfranchised, and this may have negative consequences for the project. You know why? Because these are some of the people that the normies turn to when they want tech advice.
For fuck sake, for-profit side of Mozilla, get a damn grip!
#Mozilla #Firefox #AdBlocker #OpenSource #FOSS
Mozilla’s new CEO is doubling down on an AI future for Firefox
Anthony Enzor-DeMeo says he thinks Mozilla and Firefox still have a role to play in the web, even as things shift toward AI.David Pierce (The Verge)
Is Mozilla trying hard to kill itself?
📝 Is Mozilla trying hard to kill itself?
In an interview with “The Verge”, the new Mozilla CEO, Enzor-DeMeo, IMHO hints that axing adblockers is something that, at the very least, was on the table in some form and at some point. From the article:He says he could begin to block ad blockers in Firefox and estimates that’d bring in another $150 million, but he doesn’t want to do that. It feels off-mission.
It may be just me, but I read this as “I don't want to 😜 😜 but I'll kill AdBlockers in Firefox for buckerinos 😂”. This disappoints and saddens me a lot, and I hope I'm wrong. I've been using Firefox before it was called that. Heck, I even used the Mozilla Application Suite back in the day. It was its commitment to open standards and the open web, and its powerful add-on system, that attracted me to its software.Honestly, that's what's been keeping me. I think that's also what's been keeping their loyal base of users with the project, the geeks and nerds that care about privacy. It's the same group of people who helped it get very popular at one point.
Killing one of its advantages over the Chromium engine, being able to have a fucking adblocker that's actually useful, and that nowadays is a fucking security feature due to malvertising, will be another nail in the coffin, IMHO. The core community will feel disenfranchised, and this may have negative consequences for the project. You know why? Because these are some of the people that the normies turn to when they want tech advice.
For fuck sake, for-profit side of Mozilla, get a damn grip!
#Mozilla #Firefox #AdBlocker #OpenSource #FOSS
Mozilla’s new CEO is doubling down on an AI future for Firefox
Anthony Enzor-DeMeo says he thinks Mozilla and Firefox still have a role to play in the web, even as things shift toward AI.David Pierce (The Verge)
Ah, yes, the effect is made of cause (repost, accidentally deleted the original)
Den tredje bokbyn i Skåne heter Kivik men kallas Albo efter det härad där Kivik ligger. I motsats till de två andra bokbyarna i Borrby och Önneköp verkar Kivik inte vara ett folkligt projekt och kanske heller inget projekt för att rädda en avfolkningsbygd. Detta sagt även om det i verkligheten är så att befolkningen i KIvik minskar för att sommargäster och turister köper upp bostadshusen.
non_burglar
in reply to zknd • • •Really great article.
I was a bit critical of your last post on kernel init stuff, but this one is well laid out and gets quickly to the material at hand: all applications make the same system calls.
Keep it up, I'm going to follow this.
zknd
in reply to non_burglar • • •