diff options
| author | Gabor Kovesdan <gabor@FreeBSD.org> | 2013-11-05 15:52:37 +0000 |
|---|---|---|
| committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2013-11-05 15:52:37 +0000 |
| commit | 86a8d2d47111d88c3097c4dc9e180a017f355b4c (patch) | |
| tree | ebd725ec336f5b063c2fb7de042ddf4d0c37d295 /share/security/patches/SA-13:13 | |
| parent | 7e361100604333accae0c6c035486ddf3c30e57a (diff) | |
| parent | 597674dc719e15f24664f21aa49c97b0fc0a1d75 (diff) | |
Notes
Diffstat (limited to 'share/security/patches/SA-13:13')
| -rw-r--r-- | share/security/patches/SA-13:13/nullfs.patch | 28 | ||||
| -rw-r--r-- | share/security/patches/SA-13:13/nullfs.patch.asc | 7 |
2 files changed, 35 insertions, 0 deletions
diff --git a/share/security/patches/SA-13:13/nullfs.patch b/share/security/patches/SA-13:13/nullfs.patch new file mode 100644 index 0000000000..83f30e84fe --- /dev/null +++ b/share/security/patches/SA-13:13/nullfs.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, diff --git a/share/security/patches/SA-13:13/nullfs.patch.asc b/share/security/patches/SA-13:13/nullfs.patch.asc new file mode 100644 index 0000000000..e5cdf5919e --- /dev/null +++ b/share/security/patches/SA-13:13/nullfs.patch.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.14 (FreeBSD) + +iEYEABECAAYFAlIuGawACgkQFdaIBMps37J1OgCgm847iabfWVTdyCXAeXVQkK/g +ZR4AoJrz+a812XboghdqiTvVKVHUyD+b +=wGcC +-----END PGP SIGNATURE----- |
