Thread #108667869
File: 1769394757160310.jpg (407.9 KB)
407.9 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 [email protected]
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 manman 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/
19 RepliesView Thread
>>
>>
>>
>>
>>108667869
>anyway, even if i am, post your [email protected]
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
>>
>>
>>
>>
>>
>>
>>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.
>>
>>
>>
>>
>>
>>
File: 1751101904109517.jpg (89.8 KB)
89.8 KB JPG
>>108668233
if t and tg mean what I think they mean then those syscalls would truly make linux better just by existing
>>