sysctl vs /proc/sys

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Fri Dec 12 2003 - 08:06:23 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/