MFC: r345992, r346087Add INET6 support for the upcalls to the nfsuserd daemon.The kernel code uses UDP to do upcalls to the nfsuserd(8) daemon to getupdates to the username<->uid and groupname<->
MFC: r345992, r346087Add INET6 support for the upcalls to the nfsuserd daemon.The kernel code uses UDP to do upcalls to the nfsuserd(8) daemon to getupdates to the username<->uid and groupname<->gid mappings.A change to AF_LOCAL last year had to be reverted, since it could resultin vnode locking issues on the AF_LOCAL socket.This patch adds INET6 support and the required #ifdef INET and INET6to the code.This patch also reverts the unused AF_LOCAL socket code.
show more ...
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
- For kernel compiled only with KDTRACE_HOOKS and not any lock debugging option, unbreak the lock tracing release semantic by embedding calls to LOCKSTAT_PROFILE_RELEASE_LOCK() direclty in the in
- For kernel compiled only with KDTRACE_HOOKS and not any lock debugging option, unbreak the lock tracing release semantic by embedding calls to LOCKSTAT_PROFILE_RELEASE_LOCK() direclty in the inlined version of the releasing functions for mutex, rwlock and sxlock. Failing to do so skips the lockstat_probe_func invokation for unlocking.- As part of the LOCKSTAT support is inlined in mutex operation, for kernel compiled without lock debugging options, potentially every consumer must be compiled including opt_kdtrace.h. Fix this by moving KDTRACE_HOOKS into opt_global.h and remove the dependency by opt_kdtrace.h for all files, as now only KDTRACE_FRAMES is linked there and it is only used as a compile-time stub [0].[0] immediately shows some new bug as DTRACE-derived support for debugin sfxge is broken and it was never really tested. As it was notincluding correctly opt_kdtrace.h before it was never enabled so itwas kept broken for a while. Fix this by using a protection stub,leaving sfxge driver authors the responsibility for fixing itappropriately [1].Sponsored by: EMC / Isilon storage divisionDiscussed with: rstone[0] Reported by: rstone[1] Discussed with: philip
Fix make buildworld -DMODULES_WITH_WORLDSort opt_ srcs
Add the kernel build glue for the experimental NFS subsystem thatincludes support for NFSv4. The subsystem can optionally be linkedinto the kernel using the two options: NFSCL - the client NFSD
Add the kernel build glue for the experimental NFS subsystem thatincludes support for NFSv4. The subsystem can optionally be linkedinto the kernel using the two options: NFSCL - the client NFSD - the serverIt is also built as three modules: nfscl - the client nfsd - the server nfscommon - functions shared by the client and serverApproved by: kib (mentor)