- diff --git a/cygwin/devel/msnfs41client.bash b/cygwin/devel/msnfs41client.bash
- index 41a2b4f..51967cd 100644
- --- a/cygwin/devel/msnfs41client.bash
- +++ b/cygwin/devel/msnfs41client.bash
- @@ -212,7 +212,7 @@ function nfsclient_rundeamon
- "${nfsd_args[@]:1}"
- )
- "${nfsd_args[@]}"
- - elif false ; then
- + elif true ; then
- #
- # test nfsd_debug.exe with Dr. Memory (version 2.6.0 -- build 0)
- #
- @@ -223,7 +223,7 @@ function nfsclient_rundeamon
- '-brief'
- '-no_follow_children'
- '-lib_blocklist_frames' '1'
- - '-check_uninit_blocklist' 'MSWSOCK,WS2_32'
- + '-check_uninit_blocklist' 'MSWSOCK,WS2_32,ucrtbased'
- '-malloc_callstacks'
- '-delay_frees' '16384'
- '-delay_frees_maxsz' $((64*1024*1024))
- @@ -279,12 +279,6 @@ function nfsclient_system_rundeamon
- #'--gid' '1616' '--uid' '1616'
- )
- - # run everything as su_system
- - nfsd_args=(
- - 'su_system'
- - "${nfsd_args[@]}"
- - )
- -
- #
- # cdb cheat sheet:
- #
- @@ -304,6 +298,13 @@ function nfsclient_system_rundeamon
- '--args'
- "${nfsd_args[@]}"
- )
- +
- + # run everything as su_system
- + nfsd_args=(
- + 'su_system'
- + "${nfsd_args[@]}"
- + )
- +
- "${nfsd_args[@]}"
- elif false ; then
- export _NT_ALT_SYMBOL_PATH="$(cygpath -w "$PWD");srv*https://msdl.microsoft.com/download/symbols"
- @@ -314,8 +315,15 @@ function nfsclient_system_rundeamon
- "$(cygpath -w "$PWD/${nfsd_args[0]}")"
- "${nfsd_args[@]:1}"
- )
- +
- + # run everything as su_system
- + nfsd_args=(
- + 'su_system'
- + "${nfsd_args[@]}"
- + )
- +
- "${nfsd_args[@]}"
- - elif false ; then
- + elif true ; then
- #
- # test nfsd_debug.exe with Dr. Memory (version 2.6.0 -- build 0)
- #
- @@ -326,7 +334,7 @@ function nfsclient_system_rundeamon
- '-brief'
- '-no_follow_children'
- '-lib_blocklist_frames' '1'
- - '-check_uninit_blocklist' 'MSWSOCK,WS2_32'
- + '-check_uninit_blocklist' 'MSWSOCK,WS2_32,ucrtbased'
- '-malloc_callstacks'
- '-delay_frees' '16384'
- '-delay_frees_maxsz' $((64*1024*1024))
- @@ -340,10 +348,18 @@ function nfsclient_system_rundeamon
- "${nfsd_args[@]}"
- '--crtdbgmem' 'none'
- )
- +
- + # run everything as su_system
- + nfsd_args=(
- + 'su_system'
- + "${nfsd_args[@]}"
- + )
- +
- "${nfsd_args[@]}"
- elif false ; then
- typeset -i vsdiagnostics_id=50
- - VSDiagnostics \
- + # run everything as su_system
- + su_system VSDiagnostics \
- start ${vsdiagnostics_id} \
- "/launch:$(cygpath -w "$PWD/nfsd_debug.exe")" \
- "/launchArgs:${nfsd_args[*]:1}" \
- @@ -354,6 +370,11 @@ function nfsclient_system_rundeamon
- "$(which -a 'VSDiagnostics.exe')" \
- "${vsdiagnostics_id}" "$$"
- else
- + # run everything as su_system
- + nfsd_args=(
- + 'su_system'
- + "${nfsd_args[@]}"
- + )
- "${nfsd_args[@]}"
- fi
- diff --git a/daemon/nfs41_xdr.c b/daemon/nfs41_xdr.c
- index 1a33d95..34f60c3 100644
- --- a/daemon/nfs41_xdr.c
- +++ b/daemon/nfs41_xdr.c
- @@ -2304,7 +2304,7 @@ static bool_t decode_readdir_entry(
- unsigned char name[NFS4_OPAQUE_LIMIT];
- unsigned char *nameptr = &name[0];
- uint32_t name_len, entry_len;
- - fattr4 attrs;
- + fattr4 attrs = { 0 };
- /* decode into temporaries so we can determine if there's enough
- * room in the buffer for this entry */
- diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c
- index c1ddcfd..c1181c8 100644
- --- a/sys/nfs41_driver.c
- +++ b/sys/nfs41_driver.c
- @@ -167,7 +167,7 @@ typedef enum _nfs41_updowncall_state {
- typedef struct _updowncall_entry {
- DWORD version;
- LONGLONG xid;
- - DWORD opcode;
- + nfs41_opcodes opcode;
- NTSTATUS status;
- nfs41_updowncall_state state;
- FAST_MUTEX lock;
msnfs41client backup 2024-05-02
Posted by Anonymous on Thu 2nd May 2024 14:53
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.