[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1691739100753614.jpg (95 KB, 896x896)
95 KB
95 KB JPG
previous: >>108532493

#define __NR_personality        135

https://man7.org/linux/man-pages/man2/personality.2.html

tl;dr: manage process execution quirks

this is mostly useful for compatibility with legacy behavior, from what i can tell. pretty strange how there's only a single EINVAL error code, though. you'd think for at least a couple of them, an EPERM might fit better.
but anyway, yeah, another mostly useless syscall that i doubt anyone here has ever bothered to use before. it's got a cute name, though. similar to nice

relevant resources:
man man

man syscalls

https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/
>>
>>108539586
The pic really fits. Good work, OP.
>>
>>108539586
for a sec I thought I had /lgbt/ open
>>
>>108539778
but you do
>>
>>108539778
Lol
>>
>>108539739
>>108539778
hehe >w<
>>
File: KUYASHII.jpg (163 KB, 1280x960)
163 KB
163 KB JPG
>>108539586
The deeper we get into these syscalls, the more I'm convinced microkernels were the right idea.
>>
>>108540884
>he has never straced anything
>>
>>108540884
What's the deal with microkernels anyway? Weren't they supposed to be the hot new thing that was going to replace everything else when Linux was just starting?
>>
>>108540997
Microkernels are alluring to autists because they feed directly into the "do one thing, and do it well" mindset that is indicative of autism. Everyone who knows but a little bit of processor architecture quickly realizes that they just don't scale, especially for modern systems, but even all the way back in the 1980s.
>>
>>108540997
Microkernels are basically the OS architecture version of functional languages. Elegant but impractical.
>>
>>108539586
this is actually used in containers
https://github.com/opencontainers/runc/pull/4082
>>
>>108541016
the less autistic read on that philosophy as practiced by gnu is the ideal. the thing here would then refer to a solution domain as opposed to a problem domain. within that you're free to cram as much functionality as humanly possible. instead of creating an program to solve a problem, you create many different solutions ie. tools that you fit to a problem by decomposing it into sub-problems each fitting some tool you configure (via functionality) to fit the sub-problem. basic composition and modularization applied beyond the stupid app your employer wants you to shit out.
>>
>>108539586
madoka mentioned
>>
>>108542104
>within that you're free to cram as much functionality as humanly possible.
Like in a monolith, eh.
>>
>>108541016
>>108541497
Yeah, it'd be a shame if people used microkernels in production. May I direct your attention to Nintendo's 3DS and Switch consoles?
>>
>>108542189
Console kernels are just fancy bootloaders.
>>
>>108542162
you confuse features and solutions
>>
>>108542226
You separate interface with implementation.
>>
>>108542189
>>108540936
>>
>>108542350
I am talking strictly about interfaces. if you're too autistic to get what I'm tlaking about you should just admit to it and stop being obtuse.
>>
I love you syscall anon
>>
>>108542371
>I am talking strictly about interfaces.
Yeah, and that's the problem. And yes, that makes YOU the autist here.
>>
>>108542396
I split interfaces into two new concepts. you refuse to acknowledge that.
is this really the state of the syscall threads today? I regret effortposting and making a genuine contribution to this apparent trash heap. should have kept the idea to myself.
>>
>>108542423
>I split interfaces into two new concepts. you refuse to acknowledge that.
There's nothing to acknowledge here. It's like saying the earth is flat - just flat-out wrong. You have to be a complete autist to actively refuse reality (which you are and which you do).
>>
>>108542459
whatever retard. congrats on making me actually mad in a long time. fuck these threads, I had it on the back of my head that it would be filled with larping skid jamboys when I started the first discussion in the first thread (I'm not the one spamming these) but murphy's law I guess.
>>
>>108542476
Good. Making autists uncomfortable is my raison d'etre.
>>
>>108542490
be sure to keep doing it in the syscall threads so it becomes the scourge of /g/. accelerate
>>
>>108542503
Yeah, because I so give a fuck about autistic opinions.
>>
>>108542524
says the guy who speaks like a total altboard autist, lol. keep up with the replies. we shit on these threads you and me both
>>
>>108542539
Erm: >>108542524
>>
>>108542476
scratch that, I should've known this general was a trainwreck when the op started using the most tranny-coded images I have ever seen an anon post.
>>108542548
Erm: >>108542539
>>
>>108542556
>>108542524
>>
>>108542572
see >>108542524
>>
>>108542589
... yes. Yes, that's what I said.
>>
>>108542613
see >>108542524
>>
>folds at the first sign of his own /v/ tactics used against him
kwab
>>
>>108539778
IS THAT HECKIN TRANIME?!?!!??!?
>>
strange antics happening in this thread...
>>
>>108539586
>another day on /g/
>another botpost
>>
>>108544259
i am unfortunately a real human bean
>>
>>108544874
bot claiming to be transhuman
>>
I have nothing to add over the three other bozos in here but keep it up syscall anon
>>
File: personality.jpg (14 KB, 480x360)
14 KB
14 KB JPG
>>108539586
>personality
>>
>>108545692
most intelligent syscall thread poster
>>
>>108546815
i appreciate the bumps regardless!
>>
>>108548210
I'll bump your threads if it pisses everyone on the board off



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.