Increase the mount path to MAXPATHLEN?

Konstantin Belousov kostikbel at gmail.com
Wed Mar 20 10:21:28 UTC 2013


On Tue, Mar 19, 2013 at 01:11:45PM -0700, Doug Ambrisko wrote:
> I have a patch at:
> 	http://people.freebsd.org/~ambrisko/statf.patch
> that people can glance at.  If this approach is the right way to go
> then I update it for the latest -current and update it.

No, I do not think this is the right approach.
You are breaking the ABI in the backward-incompatible way.

What should be done is versioning the fstatfs(2) and other related
symbols from libc. Please look at the lib/libc/include/compat.h
and its use for upgrading the syscalls ABI.

Also, the whole ABI of the system should be inspected for the changes,
due to possible use of the struct statfs in other structures, or as
an argument to other functions.

Gleb Kurtsou (gleb@) has a tool which could compare a set of the shlibs
before and after change for the ABI drift, using the dward debugging
information. I do not remember where it is stored, definitely worth
committing somewhere at tools/tools.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20130320/4d541ce0/attachment.sig>


More information about the freebsd-arch mailing list