lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1304894407-32201-94-git-send-email-lucian.grijincu@gmail.com>
Date:	Mon,  9 May 2011 00:39:45 +0200
From:	Lucian Adrian Grijincu <lucian.grijincu@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	netdev@...r.kernel.org,
	Lucian Adrian Grijincu <lucian.grijincu@...il.com>
Subject: [v2 093/115] sysctl: ax25: create empty dir with register_sysctl_dir

Signed-off-by: Lucian Adrian Grijincu <lucian.grijincu@...il.com>
---
 net/ax25/af_ax25.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c
index 965662d..d8a4ea4 100644
--- a/net/ax25/af_ax25.c
+++ b/net/ax25/af_ax25.c
@@ -1996,7 +1996,6 @@ static const struct __initdata ctl_path ax25_path[] = {
 	{ .procname = "ax25" },
 	{ }
 };
-static struct ctl_table empty;
 static struct ctl_table_header *ax25_root_header;
 #endif /* CONFIG_SYSCTL */
 
@@ -2014,7 +2013,7 @@ static int __init ax25_init(void)
 
 	/* XXX: no error checking done in initializer */
 	#ifdef CONFIG_SYSCTL
-	ax25_root_header = register_sysctl_paths(ax25_path, &empty);
+	ax25_root_header = register_sysctl_dir(ax25_path);
 	#endif
 
 	proc_net_fops_create(&init_net, "ax25_route", S_IRUGO, &ax25_route_fops);
-- 
1.7.5.134.g1c08b

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ