diff options
author | 2013-11-17 04:22:55 +0000 | |
---|---|---|
committer | 2013-11-17 04:22:55 +0000 | |
commit | 6d4035d3cc07d809e1200d298299f6d6881c84fa (patch) | |
tree | 89149f79eb7ecaf8ccb7e893b8efb259c0e924c7 /sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-cve-2013-5710.patch | |
parent | 1.6.1 with restricted tests due to upstream bug (diff) | |
download | historical-6d4035d3cc07d809e1200d298299f6d6881c84fa.tar.gz historical-6d4035d3cc07d809e1200d298299f6d6881c84fa.tar.bz2 historical-6d4035d3cc07d809e1200d298299f6d6881c84fa.zip |
Add Eratta/CVE patch. #482076
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xF8551514
Diffstat (limited to 'sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-cve-2013-5710.patch')
-rw-r--r-- | sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-cve-2013-5710.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-cve-2013-5710.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-cve-2013-5710.patch new file mode 100644 index 000000000000..83f30e84fe9e --- /dev/null +++ b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-cve-2013-5710.patch @@ -0,0 +1,28 @@ +Index: sys/fs/nullfs/null_vnops.c +=================================================================== +--- sys/fs/nullfs/null_vnops.c (revision 254941) ++++ sys/fs/nullfs/null_vnops.c (working copy) +@@ -858,6 +858,15 @@ + return (error); + } + ++static int ++null_link(struct vop_link_args *ap) ++{ ++ ++ if (ap->a_tdvp->v_mount != ap->a_vp->v_mount) ++ return (EXDEV); ++ return (null_bypass((struct vop_generic_args *)ap)); ++} ++ + /* + * Global vfs data structures + */ +@@ -871,6 +880,7 @@ + .vop_getwritemount = null_getwritemount, + .vop_inactive = null_inactive, + .vop_islocked = vop_stdislocked, ++ .vop_link = null_link, + .vop_lock1 = null_lock, + .vop_lookup = null_lookup, + .vop_open = null_open, |