Re: Sysctl re-deprecated! | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Rene Herman wrote:
On 29-04-08 08:42, Scott Lovenberg wrote:Scott Lovenberg wrote:Rene Herman wrote:HAHA! Found it. LWN Article reproduced here just in case the article moves in the future:The "proper" way of setting sysctl's is in fact though the sysctl program:Actually, I think sysctl is deprecated and on its way out. I'd better double check that. I think the general consensus was that there was no need for it since you can just echo in arguments. Maybe Red Hat is deprecating it and I'm thinking it's everyone. I'll get back to you guys on this in a few hours.# sysctl kernel.randomize_va_space=0 but hey...Re-deprecating sysctl() By *Jonathan Corbet* August 29, 2007 The sysctl() system call allows a suitably-privileged application toThat's the binary sysctl interface, the sysctl(2) system call. The sysctl(8) _program_ though just uses /proc/sys as its interface.Well, my version does at least: # sysctl --version sysctl (procps version 3.2.7)strace yours to make vewy, vewy sure but as far as I'm aware nothing regular has used the binary interface anymore for years.So yes, "proper" was in quotes for a reason; it doesn't much matter if it's you or the program that echoes things into /proc/sys, but, again, hey...Rene.
D'oh! My misunderstanding. Thanks for clarifying! -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ
[Newbies FAQ] [Kernel List] [Site Home] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI] [DDR & Rambus] [UNIX Filesystems] [Linux Resources]
![]() |
![]() |