svn commit: r340055 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/ext2fs sys/fs/fuse sys/fs/nandfs sys/fs/nfs sys/fs/nfsclient sys/fs/tmpfs sys/kern sys/sys sys/uf...
Andriy Gapon
avg at FreeBSD.org
Fri Nov 2 14:49:11 UTC 2018
On 02/11/2018 16:42, Brooks Davis wrote:
> Author: brooks
> Date: Fri Nov 2 14:42:36 2018
> New Revision: 340055
> URL: https://svnweb.freebsd.org/changeset/base/340055
>
> Log:
> Make vop_symlink take a const target path.
>
> This will enable callers to take const paths as part of syscall
> decleration improvements.
>
> Where doing so is easy and non-distruptive carry the const through
> implementations. In UFS the value is passed to an interface that must
> take non-const values. In ZFS, const poisoning would touch code shared
> with upstream and it's not worth adding diffs.
zfs_vnops.c is already sufficiently different from upstream (because of quite
different VFS models), so a small difference in zfs_symlink's signature would
not be too bad.
> Bump __FreeBSD_version for external API consumers.
>
> Reviewed by: kib (prior version)
> Obtained from: CheriBSD
> Sponsored by: DARPA, AFRL
> Differential Revision: https://reviews.freebsd.org/D17805
>
> Modified:
> head/share/man/man9/VOP_CREATE.9
> head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
--
Andriy Gapon
More information about the svn-src-all
mailing list