NFS Ganesha List Archives
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

Devel

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
devel@lists.nfs-ganesha.org

  • 2 participants
  • 3974 discussions
[XS] Change in ...nfs-ganesha[next]: idmapper: declare getgrouplist_func with gid_t
by Bjorn Leffler (GerritHub) 22 Oct '26

22 Oct '26
Bjorn Leffler has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255648?usp=email ) Change subject: idmapper: declare getgrouplist_func with gid_t ...................................................................... idmapper: declare getgrouplist_func with gid_t The pointer is declared with glibc's private __gid_t while the function assigned to it takes gid_t. The two are identical on glibc; __gid_t does not exist on other C libraries. Change-Id: I74a1b0f660e3b274045ec1acc52203b4d51fba8b Signed-off-by: Bjorn Leffler <github(a)leffler.org> --- M src/idmapper/pwnam_wrappers.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/48/1255648/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255648?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I74a1b0f660e3b274045ec1acc52203b4d51fba8b Gerrit-Change-Number: 1255648 Gerrit-PatchSet: 1 Gerrit-Owner: Bjorn Leffler <github(a)leffler.org>
1 0
0 0
[S] Change in ...nfs-ganesha[next]: idmapper: adapt getgrouplist() to Darwin's int signature
by Bjorn Leffler (GerritHub) 22 Oct '26

22 Oct '26
Bjorn Leffler has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255647?usp=email ) Change subject: idmapper: adapt getgrouplist() to Darwin's int signature ...................................................................... idmapper: adapt getgrouplist() to Darwin's int signature Darwin declares getgrouplist() with int where glibc uses gid_t. Both are 32 bits there; cast through a small wrapper, as Apple's own headers do internally. Change-Id: I196f4eb58df433dd75aaef127818cd7532320c93 Signed-off-by: Bjorn Leffler <github(a)leffler.org> --- M src/idmapper/pwnam_wrappers.c 1 file changed, 16 insertions(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/47/1255647/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255647?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I196f4eb58df433dd75aaef127818cd7532320c93 Gerrit-Change-Number: 1255647 Gerrit-PatchSet: 1 Gerrit-Owner: Bjorn Leffler <github(a)leffler.org>
1 0
0 0
[S] Change in ...nfs-ganesha[next]: monitoring: build the Prometheus exposer on Darwin
by Bjorn Leffler (GerritHub) 22 Oct '26

22 Oct '26
Bjorn Leffler has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255646?usp=email ) Change subject: monitoring: build the Prometheus exposer on Darwin ...................................................................... monitoring: build the Prometheus exposer on Darwin TEMP_FAILURE_RETRY is a glibc convenience macro, and accept4() is Linux-only. Provide the macro, and emulate the one accept4() flag used, SOCK_CLOEXEC, with FD_CLOEXEC after accept(). The emulation is not atomic, but ganesha does not fork after startup, so no descriptor can leak through the gap. Change-Id: I043f82f15c5f5169f6af8c4069b0c20cdf963e9a Signed-off-by: Bjorn Leffler <github(a)leffler.org> --- M src/monitoring/prometheus_exposer.cc 1 file changed, 42 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/46/1255646/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255646?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I043f82f15c5f5169f6af8c4069b0c20cdf963e9a Gerrit-Change-Number: 1255646 Gerrit-PatchSet: 1 Gerrit-Owner: Bjorn Leffler <github(a)leffler.org>
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: server_stats: use malloc_size() on Darwin
by Bjorn Leffler (GerritHub) 22 Oct '26

22 Oct '26
Bjorn Leffler has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255645?usp=email ) Change subject: server_stats: use malloc_size() on Darwin ...................................................................... server_stats: use malloc_size() on Darwin glibc's malloc_usable_size() is malloc_size() on Darwin, declared in <malloc/malloc.h>. Change-Id: I10b2b06830bb0c67f62266de15cabf4b66322c82 Signed-off-by: Bjorn Leffler <github(a)leffler.org> --- M src/support/server_stats.c 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/45/1255645/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255645?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I10b2b06830bb0c67f62266de15cabf4b66322c82 Gerrit-Change-Number: 1255645 Gerrit-PatchSet: 1 Gerrit-Owner: Bjorn Leffler <github(a)leffler.org>
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: abstract_mem: include <malloc.h> only where it exists
by Bjorn Leffler (GerritHub) 22 Oct '26

22 Oct '26
Bjorn Leffler has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255644?usp=email ) Change subject: abstract_mem: include <malloc.h> only where it exists ...................................................................... abstract_mem: include <malloc.h> only where it exists glibc declares valloc() in <malloc.h>; Darwin declares it in <stdlib.h> and has no <malloc.h>. Everything else this header uses is in <stdlib.h> on both. Change-Id: Iafacadf8f06a2f724f769af39b182e6757f8b0b9 Signed-off-by: Bjorn Leffler <github(a)leffler.org> --- M src/include/abstract_mem.h 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/44/1255644/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255644?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Iafacadf8f06a2f724f769af39b182e6757f8b0b9 Gerrit-Change-Number: 1255644 Gerrit-PatchSet: 1 Gerrit-Owner: Bjorn Leffler <github(a)leffler.org>
1 0
0 0
[M] Change in ...nfs-ganesha[next]: os/darwin: add subr.c, and default GSH_CAN_HOST_LOCAL_FS to OFF
by Bjorn Leffler (GerritHub) 22 Oct '26

22 Oct '26
Bjorn Leffler has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255643?usp=email ) Change subject: os/darwin: add subr.c, and default GSH_CAN_HOST_LOCAL_FS to OFF ...................................................................... os/darwin: add subr.c, and default GSH_CAN_HOST_LOCAL_FS to OFF Add the platform subr.c that Linux and FreeBSD have to the existing if(DARWIN) source list in os/CMakeLists.txt. The setuser/setgroup/set_threadgroups half of subr.c cannot be implemented on Darwin as separate operations: its per-thread credential primitive, pthread_setugid_np(2), sets uid and gid together. Those functions are only reached when GSH_CAN_HOST_LOCAL_FS is enabled, so default that option to OFF on Darwin, and make subr.c fail to compile if it is turned on, rather than ship stubs that would fail silently. Change-Id: I1b5dac4cfee9a584380540364a85c7ad36594dd7 Signed-off-by: Bjorn Leffler <github(a)leffler.org> --- M src/CMakeLists.txt M src/os/CMakeLists.txt A src/os/darwin/subr.c 3 files changed, 51 insertions(+), 2 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/43/1255643/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255643?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I1b5dac4cfee9a584380540364a85c7ad36594dd7 Gerrit-Change-Number: 1255643 Gerrit-PatchSet: 1 Gerrit-Owner: Bjorn Leffler <github(a)leffler.org>
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: os: add Darwin arms to the per-platform dispatch headers
by Bjorn Leffler (GerritHub) 22 Oct '26

22 Oct '26
Bjorn Leffler has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255642?usp=email ) Change subject: os: add Darwin arms to the per-platform dispatch headers ...................................................................... os: add Darwin arms to the per-platform dispatch headers include/os/{acl,quota,xattr}.h and include/extended_types.h select the per-platform header with #ifdef LINUX / #elif FREEBSD. Add #elif DARWIN, matching the FreeBSD arm: Darwin has <sys/xattr.h>, and gets its own acl.h, quota.h and extended_types.h. Change-Id: I2490b80f6f90a919a37efb00a913053004bc7a05 Signed-off-by: Bjorn Leffler <github(a)leffler.org> --- M src/include/extended_types.h M src/include/os/acl.h M src/include/os/quota.h M src/include/os/xattr.h 4 files changed, 8 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/42/1255642/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255642?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I2490b80f6f90a919a37efb00a913053004bc7a05 Gerrit-Change-Number: 1255642 Gerrit-PatchSet: 1 Gerrit-Owner: Bjorn Leffler <github(a)leffler.org>
1 0
0 0
[S] Change in ...nfs-ganesha[next]: os/darwin: add the acl, quota and extended_types headers
by Bjorn Leffler (GerritHub) 22 Oct '26

22 Oct '26
Bjorn Leffler has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255641?usp=email ) Change subject: os/darwin: add the acl, quota and extended_types headers ...................................................................... os/darwin: add the acl, quota and extended_types headers Linux and FreeBSD each have these three per-platform headers; include/os/darwin had only sys_resource.h. Change-Id: Ice9201a427c661e4eecdffdf0bd40dee81a92354 Signed-off-by: Bjorn Leffler <github(a)leffler.org> --- A src/include/os/darwin/acl.h A src/include/os/darwin/extended_types.h A src/include/os/darwin/quota.h 3 files changed, 46 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/41/1255641/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255641?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Ice9201a427c661e4eecdffdf0bd40dee81a92354 Gerrit-Change-Number: 1255641 Gerrit-PatchSet: 1 Gerrit-Owner: Bjorn Leffler <github(a)leffler.org>
1 0
0 0
[XS] Change in ...nfs-ganesha[next]: recovery_fs_ng: Fix NUL termination and cid_len check in clid parser
by Jim Chen (GerritHub) 21 Oct '26

21 Oct '26
Jim Chen has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255635?usp=email ) Change subject: recovery_fs_ng: Fix NUL termination and cid_len check in clid parser ...................................................................... recovery_fs_ng: Fix NUL termination and cid_len check in clid parser In fs_ng_read_recov_clids_impl(), temp[10] is an uninitialized stack buffer. Explicitly NUL-terminate temp[len] = '\0' and reject empty or non-positive cid_len values when reconstructing clientid strings. Change-Id: I65f381d8ac3e82cd6abdc669930e58f6f76b3e6d Signed-off-by: Jim Chen <czcbangkai(a)google.com> --- M src/SAL/recovery/recovery_fs_ng.c 1 file changed, 5 insertions(+), 3 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/35/1255635/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255635?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I65f381d8ac3e82cd6abdc669930e58f6f76b3e6d Gerrit-Change-Number: 1255635 Gerrit-PatchSet: 1 Gerrit-Owner: Jim Chen <czcbangkai(a)google.com>
1 0
0 0
[S] Change in ...nfs-ganesha[next]: recovery_fs: Fix stack buffer overflow, underflow, and NUL termination
by Jim Chen (GerritHub) 21 Oct '26

21 Oct '26
Jim Chen has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255634?usp=email ) Change subject: recovery_fs: Fix stack buffer overflow, underflow, and NUL termination ...................................................................... recovery_fs: Fix stack buffer overflow, underflow, and NUL termination 1. In fs_add_revoke_fh(), when new_pathpos >= sizeof(path), LogCrit() logged that the path was too long without returning, falling through into memcpy() and overflowing char path[PATH_MAX] on the stack. Also guard the NAME_MAX directory segment loop against exceeding PATH_MAX. 2. In fs_reclaim_complete(), path[dstpos] = '/' overwrites the NUL terminator written by fs_make_path(), and memcpy(..., marker_len) copied reclaim_complete_marker without its terminating NUL byte into an uninitialized stack buffer before calling creat(path, 0700). Copy marker_len + 1 bytes so path is NUL-terminated. 3. In fs_make_path(), propagate negative error returns from fs_make_ip_recov_dir_name() before indexing path[dstpos] = '\0'. GitHub Issue: #1423 Change-Id: I8efffe84ff2f89f4ecd66ed6750a2094924d1fab Signed-off-by: Jim Chen <czcbangkai(a)google.com> --- M src/SAL/recovery/recovery_fs.c 1 file changed, 11 insertions(+), 2 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/34/1255634/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1255634?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I8efffe84ff2f89f4ecd66ed6750a2094924d1fab Gerrit-Change-Number: 1255634 Gerrit-PatchSet: 1 Gerrit-Owner: Jim Chen <czcbangkai(a)google.com>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • ...
  • 398
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.