Announcement
Collapse
No announcement yet.
The Linux Kernel Has Been Forcing Different Behavior For Processes Starting With "X"
Collapse
X
-
Originally posted by skeevy420 View Post
How is the kernel having a bad workaround for supposedly depreciated software the fault of the depreciated software and not the fault of the kernel? How is this even Xorg vs Wayland?
- Likes 3
Comment
-
Originally posted by Ironmask View PostLinux is also a hybrid design these days, so actually, there are no popular strictly monolithic OSes anymore.
Originally posted by Ironmask View PostIt doesn't matter if critical OS drivers like the disk controller or USB stack crash.
- Likes 4
Comment
-
Originally posted by justinkb View Post
no, it does not mean anything of the sort, this isn't a check on the length of the process name or something? req->value is an unsigned 64-bit integer value that corresponds to the value to set for the capability, in this case the atomic cap. it can only be 0 (incapable) or 1 (capable). the "&& req->value == 1" simply makes it so the function errors out with -EOPNOTSUPP and a info message if atomic cap is trying to be enabled for these X* processes. there is no issue if the function is trying to set atomic cap off, so then it doesn't need to error out and print that message. only the first character of the process name is checked.
Comment
-
Originally posted by anarki2 View Post
It's X's fault because we need kernel workarounds for X's shortcomings. Because X is unmaintained. And Wayland isn't. That's how.
But really, off-topic at post #1, how rare is that? Oh, wait...Last edited by bug77; 07 November 2022, 11:56 AM.
- Likes 5
Comment
-
Originally posted by marios View PostIf this is true:
0. You learn something interesting every day.
1. A certain company will soon have to resort to non-printable ascii characters for versioning. They have already used '1', '2', '3', '7', '8', '9', 'M', 'N', 'V' and 'X'. Maybe I am still forgetting something. I would love to see them name a version "beep" (not the word, the sound)...
20 could be a problem though, with Windows 2000 and all.
- Likes 3
Comment
-
Originally posted by bug77 View PostI think the most amazing part of Wayland is that it's a replacement for X, when X has shortcoming, but it is "just a protocol" when the shortcomings are in Wayland.
But really, off-topic at post #1, how rare is that? Oh, wait...
- Likes 1
Comment
-
Originally posted by Ironmask View Post
I don't think you realize the overwhelming amount of microkernels there are.
Redox is a microkernel. L4 is a microkernel. You don't have to make a microkernel at all, they exist in copious quantities. Did you write this post under some strange assumption that microkernels are entirely theoretical?
An OS is useless by itself, which is why nobody uses them. You need drivers, otherwise the OS is literally just a mundane abstraction with nothing to abstract. That's why nobody uses anything besides Linux and Windows, all the drivers are for those.
Your comment about why monolithic kernels are successful is also incredibly ignorant. Windows is a hybrid design based off a microkernel design but simplified for performance reasons. Linux just happened to be at the right place at the right time, it was actually inspired by Minix, a microkernel, but Linux was just more popular with hobbyists. Linux is also a hybrid design these days, so actually, there are no popular strictly monolithic OSes anymore.
The simple fact of the matter is, a microkernel is useless. It doesn't matter if critical OS drivers like the disk controller or USB stack crash. Either they hard crash the OS because they're in kernel mode, or they politely ask the OS to shut down because they're in usermode but still critical to the OS to actually do it's job (there are many usermode components in Windows that do this). The only thing that really needs to be in usermode is third party drivers, for stuff like graphics cards and printers, which both Windows and Linux do. That provides you all the stability you need, anything more than that is needlessly excessive and an unwarranted engineering effort.
This is also the same reason why when a new graphics card comes out (i.e. right now with the new Radeon series) you have to get the latest Kernel (in this case 6.2) to have support for the graphics card. On windows you can just install the newest driver on whatever version of Windows you happen to be using as long as its not ancient (i.e. pre Vista).Last edited by mdedetrich; 07 November 2022, 03:49 PM.
- Likes 2
Comment
-
Originally posted by anarki2 View PostNo.
Originally posted by anarki2 View PostIt doesn't matter if it "only" broke sometimes, it's just bad logic. Process naming patterns shouldn't be used to determine application behavior, period.
I'm not saying it's not a questionable solutionCode:req->value
Comment
-
Originally posted by anarki2 View PostIt's X's fault because we need kernel workarounds for X's shortcomings. Because X is unmaintained. And Wayland isn't. That's how.
Even says so in the article, nice reading skills. Wayland is church for a bunch of clowns as always.
You're probably going to ask so what's this hack for, then?
Well newsflash, it's called old versions of Xorg. No matter how maintained a software is, the old version will remain broken, unless fixes are backported. Wayland is not immune to this. Dumbass.
- Likes 7
Comment
Comment