diff options
Diffstat (limited to 'main/nfs-utils/musl-svcgssd-sysconf.patch')
-rw-r--r-- | main/nfs-utils/musl-svcgssd-sysconf.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/nfs-utils/musl-svcgssd-sysconf.patch b/main/nfs-utils/musl-svcgssd-sysconf.patch index 267c96ddbe..aab0e9612b 100644 --- a/main/nfs-utils/musl-svcgssd-sysconf.patch +++ b/main/nfs-utils/musl-svcgssd-sysconf.patch @@ -1,6 +1,6 @@ --- a/support/nfsidmap/libnfsidmap.c +++ b/support/nfsidmap/libnfsidmap.c -@@ -481,11 +481,17 @@ +@@ -430,11 +430,17 @@ nobody_user = conf_get_str("Mapping", "Nobody-User"); if (nobody_user) { @@ -19,7 +19,7 @@ buf = malloc(sizeof(*buf) + buflen); if (buf) { err = getpwnam_r(nobody_user, buf, ((char *)buf) + sizeof(*buf), buflen, &pw); -@@ -502,10 +508,16 @@ +@@ -451,10 +457,16 @@ nobody_group = conf_get_str("Mapping", "Nobody-Group"); if (nobody_group) { @@ -72,7 +72,7 @@ if (!buf) { --- a/support/nfsidmap/nss.c +++ b/support/nfsidmap/nss.c -@@ -90,9 +90,13 @@ +@@ -91,9 +91,13 @@ struct passwd *pw = NULL; struct passwd pwbuf; char *buf; @@ -87,7 +87,7 @@ buf = malloc(buflen); if (!buf) goto out; -@@ -118,8 +122,12 @@ +@@ -119,8 +123,12 @@ struct group *gr = NULL; struct group grbuf; char *buf; |