Displaying 6 results from an estimated 6 matches for "nfsmount_main".
2008 Jun 05
2
RESEND [PATCH][BUGFIX] Fix termination of the spoofing portmapper
Hi,
I'm resending since I got no feedback: I assume that the message was lost...
The attached patch fixes a few bugs related to the spoofing portmapper used
by nfsmount.
Regards,
Louis
--
Dr Louis Rilling Kerlabs
Skype: louis.rilling Batiment Germanium
Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes
http://www.kerlabs.com/ 35700 Rennes
-------------- next part
2011 Jun 10
0
[PATCH] nfsmount: free rem_name on errors
...max at stro.at>
---
usr/kinit/nfsmount/main.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/usr/kinit/nfsmount/main.c b/usr/kinit/nfsmount/main.c
index beda723..b85901a 100644
--- a/usr/kinit/nfsmount/main.c
+++ b/usr/kinit/nfsmount/main.c
@@ -214,6 +214,7 @@ int nfsmount_main(int argc, char *argv[])
if ((rem_path = strchr(rem_path, ':')) == NULL) {
fprintf(stderr, "%s: need a server\n", progname);
+ free(rem_name);
return 1;
}
@@ -221,6 +222,7 @@ int nfsmount_main(int argc, char *argv[])
if (*rem_path != '/') {
fprintf(std...
2005 Jan 05
1
[PATCH] kinit/nfsmount.c path from bootp
kinit/nfsmount.c:mount_nfs_root() should use the bootpath specified by
bootp/dhcp. If the "nfsroot" option is specified then it overrides the
boot server bootpath and a message indicating the override is printed.
--- klibc-0.194/kinit/nfsroot.c.orig 2005-01-05 04:13:47.043897880 -0700
+++ klibc-0.194/kinit/nfsroot.c 2005-01-05 04:13:09.316633296 -0700
@@ -66,34 +66,21 @@
const int
2006 May 12
1
nfsmount inside kinit
...ing this down, but am at a
bit of a loss for time, so I figured I'd report over this list to see
if anyone else has the time to fix this or at least find the error.
When calling nfsmount on it's own, say "nfsmount 1.2.3.4:/home/nfs
/root" it works just fine, however, when calling nfsmount_main from
within kinit (via nfsroot=), things get wonky.
I have verified that argc is 3 and argv[1] == "1.2.3.4:/home/nfs",
argv[2] == "/root", however, optind seems off-by-one. After leaving
the getopt loop, optind is 2, which causes the server check to fail (
strchr("/root&q...
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about.
The goal is not to be 100% checkpatch compliant,
but to have more consistent coding style.
As this is a trivial patch serie, will land in 24 hours in klibc git,
unless of course ml review hits a bugger.
Checked with size(3) that the generated kinit, fstype, ipconfig and
nfsmount are the same.
maximilian attems (4):
[klibc] ipconfig: reduce
2010 Feb 23
0
[PATCH 1/3] nfsmount.h: Add missing definitions.
...t.h b/usr/kinit/nfsmount/nfsmount.h
index 6d958bc..59c20cb 100644
--- a/usr/kinit/nfsmount/nfsmount.h
+++ b/usr/kinit/nfsmount/nfsmount.h
@@ -3,6 +3,9 @@
#include <linux/nfs_mount.h>
+#define MNTPROC_MNT 1
+#define MNTPROC_UMNT 3
+
extern int nfs_port;
extern int nfsmount_main(int argc, char *argv[]);
--
1.6.6.1
--r5Pyd7+fXNt84Ff3
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-klibc-nfsmount-s-PF_INET-AF_INET.patch"