]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/namei.c
Revert "UBUNTU: SAUCE: aufs -- remove .readlink assignment"
[mirror_ubuntu-zesty-kernel.git] / fs / namei.c
index ad74877e1442c0c9ea5fca87b065e59090088b10..551a0af00019dc0d5d182577537c1822d09c7ece 100644 (file)
@@ -888,8 +888,8 @@ static inline void put_link(struct nameidata *nd)
                path_put(&last->link);
 }
 
-int sysctl_protected_symlinks __read_mostly = 0;
-int sysctl_protected_hardlinks __read_mostly = 0;
+int sysctl_protected_symlinks __read_mostly = 1;
+int sysctl_protected_hardlinks __read_mostly = 1;
 
 /**
  * may_follow_link - Check symlink following for unsafe situations