Messages in this thread | | | Date | Fri, 12 Dec 2003 21:58:37 +0900 (JST) | Subject | sysctl vs /proc/sys | From | YOSHIFUJI Hideaki / 吉藤英明 <> |
| |
Hello.
sysctl(2) seems to be deprecated, but IMHO, /proc/sys cannot be the alternative because it cannot return "previous" value atomicly.
I would say it is okay to leave sysctl(2) because the interface is very common. Or, I'd rather propose introducing sysctlbyname(2).
.. or do I miss something?
--yoshfuji - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |