netns compilation
Actually the CONFIG_NET_NS is depending on CONFIG_NET and !CONFIG_SYSFS
In order to disable CONFIG_SYSFS, I must specify CONFIG_EMBEDDED to have the choice to unset the sysfs.
Why don't we make CONFIG_NET_NS depends on CONFIG_NET and CONFIG_SYSFS_DEPRECATED ?
A message that is not in the archive (sent off-list or not yet received): 473B0DF7.2050509-NmTC/[email protected]
Quoted 8 lines · Daniel Lezcano
Actually the
CONFIG_NET_NSis depending onCONFIG_NETand !CONFIG_SYSFSIn order to disable
CONFIG_SYSFS, I must specifyCONFIG_EMBEDDEDto have the choice to unset the sysfs.Why don't we make
CONFIG_NET_NSdepends onCONFIG_NETandCONFIG_SYSFS_DEPRECATED?
AFAIK the SYSFS_DEPRECATED hides the sysfs functionality (files) that is not recommended to use, but doesn't disable the sysfs filesystem as is. On the other hand the NET_NS doesn't require any deprecated sysfs files, it just can't work at all with the SYSFS turned on.
That's why the things look like this.
Thanks,
Pavel
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Pavel Emelyanov
Quoted 8 lines · Daniel Lezcano
Actually the
CONFIG_NET_NSis depending onCONFIG_NETand !CONFIG_SYSFSIn order to disable
CONFIG_SYSFS, I must specifyCONFIG_EMBEDDEDto have the choice to unset the sysfs.Why don't we make
CONFIG_NET_NSdepends onCONFIG_NETandCONFIG_SYSFS_DEPRECATED?
Quoted 7 lines
AFAIK the
SYSFS_DEPRECATEDhides the sysfs functionality (files) that is not recommended to use, but doesn't disable the sysfs filesystem as is. On the other hand theNET_NSdoesn't require any deprecated sysfs files, it just can't work at all with the SYSFS turned on.That's why the things look like this.
Exactly. Once we get the sysfs support merged this restriction will go away but until then attempting to register a two copies of the loopback device with sysfs is fatal.
Eric