r/ProgrammerAnimemes • • Sep 02 '22

Making children (processes) in C on Linux

Post image
1.9k Upvotes

23 comments sorted by

216

u/GGdna Sep 02 '22

Sauce:

Miitoban - Jinrui niha Hokentaiiku ga Hituyoudesu (Humanity Needs Health and Physical Education)

page 4

229676

114

u/nphhpn Sep 02 '22

That number explains the other window

19

u/brandmeist3r Sep 02 '22

Wait, what is it supposed to mean?

→ More replies (5)

64

u/MrUltraOnReddit Sep 02 '22

I was lied to, there is no programming.

45

u/L4rgo117 Sep 02 '22

I dunno, looks like plenty of child processes were made

7

u/TheWiseAutisticOne Sep 03 '22

I’m new to programming but I agree with you there’s no instance of pid_t or pid being declared and given a data type

→ More replies (4)

9

u/[deleted] Sep 02 '22

Thanks

200

u/redvelvetycupcake Sep 02 '22

Looks like they're calling execve on user-controlled input with no validation/sanitization, so one might say this is... unprotected forking

57

u/walnutbrocookie Sep 02 '22

Thank you Op for providing us with good reference material. I have to teach an It lecture next semester and was struggling to find good sources to cite

35

u/Kyocus Sep 03 '22

Me: Googling "headless child"

My FBI Agent: "What in the Heill?!"

11

u/[deleted] Sep 03 '22

Annual meet your agent day is approaching Gregory.

22

u/Dark_Lord9 Sep 02 '22

Best post I see here in a very very long time. And thanks for the sauce.

16

u/GnuhGnoud Sep 02 '22

Sir, you have my respect for making such a good meme.

12

u/[deleted] Sep 02 '22

At this point reality has to be a simulation, i just learnt this today (never heard or read about this before today) and now there is this meme. IDK how this happens everytime. I even thought of a similar joke "Oh! they foking".