HomeFreeBSD

Make vop_symlink take a const target path.

Description

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.

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

Details

Provenance
brooksAuthored on Nov 2 2018, 2:42 PM
Parents
rGbe81239ddc94: Remove printf for debug purpose forgotten on r340046.
Branches
Unknown
Tags
Unknown

Event Timeline