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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <A6FDE6B975803043804A49F12F49028E0F59C7@hawk.exanet-il.co.il>
Date:	Thu, 10 May 2007 12:56:50 +0300
From:	"Menny Hamburger" <menny@...net.com>
To:	<linux-kernel@...r.kernel.org>
Subject: [PATCH] NLM program ID for user space NLM server

Hi,

Since the current kernel cannot be compiled with NFS client and without
lockd, it is not possible to register a user space NLM server
Without colliding with the kernel service registered in
.../fs/lockd/lockd.c.

This simple patch gives the ability to provide NLM_PROGRAM from outside:
--- linux-2.6.20/include/linux/lockd/nlm.h	2007-02-04
20:44:54.000000000 +0200
+++ linux-2.6.20_patched/include/linux/lockd/nlm.h	2007-05-10
12:21:40.799004000 +0300
@@ -30,7 +30,9 @@
 #endif
 };
 
+#ifndef 
 #define NLM_PROGRAM		100021
+#endif
 
 #define NLMPROC_NULL		0
 #define NLMPROC_TEST		1

Menny

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ