From: Vincent Bernat Date: Sat, 6 Aug 2016 21:46:06 +0000 (+0200) Subject: priv: document functions that should not use the monitor process X-Git-Tag: 0.9.5~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f6443386b64f2fa14316ba3113c93b2025a1d7c;p=thirdparty%2Flldpd.git priv: document functions that should not use the monitor process We should use them only if "oldies" are enabled. --- diff --git a/src/daemon/priv-linux.c b/src/daemon/priv-linux.c index a21e1220..ee78bb66 100644 --- a/src/daemon/priv-linux.c +++ b/src/daemon/priv-linux.c @@ -53,7 +53,8 @@ priv_open(char *file) return receive_fd(PRIV_UNPRIVILEGED); } -/* Proxy for ethtool ioctl (GSET only) */ +/* Proxy for ethtool ioctl (GSET only). Not needed since + * 0fdc100bdc4b7ab61ed632962c76dfe539047296 (2.6.37) */ int priv_ethtool(char *ifname, void *ethc, size_t length) { @@ -71,7 +72,8 @@ priv_ethtool(char *ifname, void *ethc, size_t length) return rc; } -/* Proxy to get permanent MAC address */ +/* Proxy to get permanent MAC address. Not needed since + * 75f3123c118743f52b690d9ab41649814befda0a (2.6.19). */ int priv_iface_mac(char *ifname, void *mac, size_t length) {