HomeFreeBSD

There is no need to use temporary statfs buffer for fsid obliteration

Description

There is no need to use temporary statfs buffer for fsid obliteration
and prison enforcement. Do it on the caller buffer directly.

Besides eliminating memory copies, this change also removes large
structure from the kernel stack.

Extracted from: ino64 work by gleb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS311112: libgssapi_{krb5,ntlm,spnego} requires MK_GSSAPI != no; conditionalize
Branches
Unknown
Tags
Unknown