[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: 1769394757160310.jpg (408 KB, 2048x1918)
408 KB JPG
previous: >>108661408

#define __NR_sethostname            170
#define __NR_setdomainname 171

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

tl;dr:
<your_name>@<hostname>.<domainname>

at least, that's what i think it is. it would be pretty embarrassing to fuck that up.
anyway, even if i am, post your name@domain.host
some of you have some pretty neat ones, i'm sure

the getters for these wrap uname, which i find very interesting. it's not often that you break the get/set paradigm. i wonder why they did it that way. i guess because parts of the uname are "baked in" as it were.

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/
>>
>>108667869
Realtek? Kill her.
>>
they should make a syscall that kills people
>>
>>108668191
#define __NR_kill                62
#define __NR_tkill 200
#define __NR_tgkill 234
>>
>>108667869
>anyway, even if i am, post your name@domain.host
poast yours, too
mine's
[given name's first char][middle name's first char][surname's first three chars]@meiner

I've no domainname
>>
>>108668191
I would use it on op
>>
>>108668376
muzi@seres.wired
>>
>>108668191
autism
>>
>>108668233
>there's no __NR_exploit
Sadness.
>>
>>108668376
???
>>
>>108670534
what would it do?
>>
>>108673059
Take precious resources from the process and gives them to other processes.
>you want to open a file? Sorry, we already have 100 processes that *might* want to do the same, you'll have to wait
>you want to schedule a thread? Sorry, context switches are expensive, maybe try again if the load isn't so high (2% CPU use total).
>you want to render something? Sorry, that would be really bothersome, and no one cares anyway, so why don't you, I dunno, spinlock for a while.

It'd essentially be like setting the nice value to 999 without recourse.
>>
>>108673351
need someone to do this to me
>>
>>108673351
retard
>>
>>108675579
he's just an autist
>>
>>108670534
leddit ahh meme
>>
>>108668052
this kills the crab
>>
File: 1751101904109517.jpg (90 KB, 1060x481)
90 KB JPG
>>108668233
if t and tg mean what I think they mean then those syscalls would truly make linux better just by existing
>>
>>108675902
Let's outlaw autists then and put them all into ADX.
Surely you have no issues with that proposal, right? Right?
>>
>>108677479
lol
whenever i see tgkill i do read it as that



[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.