diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2018-11-02 14:42:36 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2018-11-02 14:42:36 +0000 |
commit | 1493c2ee62b8cbd8dbe70670b9108b4b9c36e032 (patch) | |
tree | f2093ea92b4a5e3bfcf9d68a22544587b7a8257d /sys/sys/param.h | |
parent | be81239ddc9404d0dcfffb449d35fbcfdc2e20a0 (diff) | |
download | src-1493c2ee62b8cbd8dbe70670b9108b4b9c36e032.tar.gz src-1493c2ee62b8cbd8dbe70670b9108b4b9c36e032.zip |
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
Notes
Notes:
svn path=/head/; revision=340055
Diffstat (limited to 'sys/sys/param.h')
-rw-r--r-- | sys/sys/param.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h index 769a3146e21d..f7a26d5e0d44 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -60,7 +60,7 @@ * in the range 5 to 9. */ #undef __FreeBSD_version -#define __FreeBSD_version 1300002 /* Master, propagated to newvers */ +#define __FreeBSD_version 1300003 /* Master, propagated to newvers */ /* * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD, |