Re: How to register a sysctl table on linux-2.6.25? | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
I am really confused by the method of registering a sysctl table.I can register it normally on linux-2.4 with the function register_sysctl_table(struct ctl_table,int),but failed with register_sysctl_table(struct ctl_table) & register_sysctl_paths(struct ctl_path,struct ctl_table) on linux-2.6.25.9 with error message:"sysctl table check failed, /net/xxx Unknown sysctl binary path".
in summary,I made the
struct ctl_path net_ipv4_ctl_path[] = {
{ .procname = "net", .ctl_name = CTL_NET, },
{ .procname = "xxx", .ctl_name = an_int, },
{ },
};
if any solutions & materials about it are really appreciated!
[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]
![]() |
![]() |