From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hasso Tepper Subject: Sysctl syscall Date: Wed, 15 Nov 2006 23:58:33 +0200 Message-ID: <200611152358.33334.hasso@estpak.ee> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out.neti.ee ([194.126.126.45]:39577 "EHLO smtp-out.neti.ee") by vger.kernel.org with ESMTP id S1161781AbWKOV6h (ORCPT ); Wed, 15 Nov 2006 16:58:37 -0500 To: netdev@vger.kernel.org, lkml@vger.kernel.org Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Compiling the program which uses a lot "sysctl" syscalls, gives me this warning on Debian unstable: "warning: the `sysctl' syscall has been removed from 2.6.18+ kernels, direct access to `/proc/sys' should be used instead." Is it true? And what can be used as alternative which would work with both 2.4 and 2.6 kernels and would work with capabilities (sys/capability.h)? Accessing `/proc/sys' directly isn't such alternative as it doesn't work with capabilities. regards, -- Hasso Tepper Elion Enterprises Ltd. [AS3249] Data Communication Network Administrator