All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hasso Tepper <hasso@estpak.ee>
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Sysctl syscall
Date: Thu, 16 Nov 2006 00:03:02 +0200	[thread overview]
Message-ID: <200611160003.02681.hasso@estpak.ee> (raw)

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

             reply	other threads:[~2006-11-15 22:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15 22:03 Hasso Tepper [this message]
2006-11-15 22:19 ` Sysctl syscall Jan Engelhardt
2006-11-17  7:15 ` Andi Kleen
2006-11-17  8:07   ` Hasso Tepper
2006-11-17  9:23     ` Andi Kleen
2006-11-17  9:38       ` Hasso Tepper
  -- strict thread matches above, loose matches on Subject: below --
2006-11-15 21:58 Hasso Tepper
2006-11-15 19:05 Hasso Tepper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611160003.02681.hasso@estpak.ee \
    --to=hasso@estpak.ee \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.