[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: 1708896253024971.jpg (81 KB, 827x976)
81 KB
81 KB JPG
previous: >>108603652

#define __NR__sysctl                156

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

tl;dr:
control system variables

WOW! so they really can remove syscalls after all. isn't that something? only took them several years lmao. but i should give them credit where it's due. it's good that they did this, even if it took a lot time.
not really much to say about this one, though. it's /proc/sys, but worse

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/
>>
>>108609319
What a youthful lad!
>>
>>108609399
>warnings since 2.6.24
>24 January 2008
>removed in 5.5
>26 January 2020
Honestly, 12 years is a lot quicker than I thought it'd be..
>>
>>108609463
I never thought they'd remove any syscalls, desu.
>>
>>108609487
yeah, exactly. the "WE DO NOT BREAK USERSPACE" is about the most ironclad rule the kernel enforces
>>
>>108609399
Cant be a day over 17.
>>
>>108609319
is sysctl a good syscall
>>
>>108612734
Considering they removed it, it must have been actively terrible.
>>
>>108612786
>it must have been actively terrible
>meanwhile open is still allowed to exist
>>
File: 1770029530549963.jpg (25 KB, 665x574)
25 KB
25 KB JPG
>>108612796
Is there some other, better way to open files on POSIX systems?
>>
>>108609319
finally a good syscall of the day thread
>>
>_sysctl
>control system variables
shouldn't it've been _varctl, or _sysvarctl if you're not into the whole brevity thing
>>
>>108612826
>on POSIX systems
Aside from openat existing: POSIX is terribly outdated.
>>
>>108613778
hello, NT schizo:^)
>>
>>108614854
NT isn't exactly better, at least in that regard.
At least it never bothered with overcommit.



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