netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Sysctl syscall
@ 2006-11-15 19:05 Hasso Tepper
  0 siblings, 0 replies; 4+ messages in thread
From: Hasso Tepper @ 2006-11-15 19:05 UTC (permalink / raw)
  To: netdev, lkml

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Sysctl syscall
@ 2006-11-15 21:58 Hasso Tepper
  0 siblings, 0 replies; 4+ messages in thread
From: Hasso Tepper @ 2006-11-15 21:58 UTC (permalink / raw)
  To: netdev, lkml

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Sysctl syscall
@ 2006-11-15 22:03 Hasso Tepper
  2006-11-15 22:19 ` Jan Engelhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Hasso Tepper @ 2006-11-15 22:03 UTC (permalink / raw)
  To: netdev, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sysctl syscall
  2006-11-15 22:03 Hasso Tepper
@ 2006-11-15 22:19 ` Jan Engelhardt
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2006-11-15 22:19 UTC (permalink / raw)
  To: Hasso Tepper; +Cc: netdev, linux-kernel


On Nov 16 2006 00:03, Hasso Tepper wrote:
>
>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?

Well it was unobsoleted in 2.6.19 if I followed the list correctly.

>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.



	-`J'
-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-16 10:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-15 21:58 Sysctl syscall Hasso Tepper
  -- strict thread matches above, loose matches on Subject: below --
2006-11-15 22:03 Hasso Tepper
2006-11-15 22:19 ` Jan Engelhardt
2006-11-15 19:05 Hasso Tepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).