Can we remove the sysfs() system call?
Christian Brauner
maintainerHey Linus,
we've been carrying sysfs() around since forever and we marked the sysfs() system call as deprecated in 2018 iiuc.
Should we try and get rid of this odd system call or at least flip the config switch to default to N instead of Y?
(Another candidate that comes to mind is uselib().)
Christian
Quoted 6 lines · Christian Brauner
we've been carrying
sysfs()around since forever and we marked thesysfs()system call as deprecated in 2018 iiuc.Should we try and get rid of this odd system call or at least flip the config switch to default to N instead of Y?
We can certainly try. But I bet it's used somewhere. Deprecation warnings tend to mean nothing ;(
Quoted 1 line
(Another candidate that comes to mind is
uselib().)
That one is already 'default n' since a few years ago, and only enabled on some legacy architectures that still use a.out:
default ALPHA || M68K || SPARC
so ...
Linus
Christian Brauner
maintainerQuoted 10 lines · Linus Torvalds
Quoted 6 lines · Christian Brauner
we've been carrying
sysfs()around since forever and we marked thesysfs()system call as deprecated in 2018 iiuc.Should we try and get rid of this odd system call or at least flip the config switch to default to N instead of Y?
We can certainly try. But I bet it's used somewhere. Deprecation warnings tend to mean nothing ;(
So let's try to decouple if from CONFIG_EXPERT and switch the default to N and see what happens.
Quoted 9 lines
Quoted 2 lines
(Another candidate that comes to mind is
uselib().)That one is already 'default n' since a few years ago, and only enabled on some legacy architectures that still use a.out:
default ALPHA || M68K || SPARCso ...
Ok, let's try and shed it.