Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2023 21:14:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 275597] Samba: smbd sometimes aborts by PANIC when 'vfs objects = cap'
Message-ID:  <bug-275597-3630-CYN0pwQgmn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275597-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275597-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275597

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #5 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Kirk McKusick from comment #4)

I'm confused. Comment #2 includes a patch that has not been
made to the port:

QUOTE
      |#define Q_HACK_U  1
      |#if Q_HACK_U
      |        newdirent->d_pad1   =3D result->d_pad1   ;
      |        newdirent->d_namlen =3D result->d_namlen ;
      |        newdirent->d_pad0   =3D result->d_pad0   ;
      |        newdirent->d_type   =3D result->d_type   ;
      |        newdirent->d_reclen =3D result->d_reclen ;
      |        newdirent->d_off    =3D result->d_off    ;
      |        newdirent->d_fileno =3D result->d_fileno ;
      |#else /* Q_HACK_U */
**115 |        memcpy(newdirent, result, sizeof(struct dirent));
      |#endif /* Q_HACK_U */
END QUOTE

While a more directly useful variant of the patch would be
appropriate as an attachment, this submittal is reporting
a bug and an example source code fix/workaround. It seems
early to close this bug report.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275597-3630-CYN0pwQgmn>