]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/namei.c
scsi: lpfc: Fix issue_lip if link is disabled
[mirror_ubuntu-bionic-kernel.git] / fs / namei.c
index 9cc91fb7f156541bd53243b35c2823bbf9ca1133..ba0e4b2bad2237aaff219dd6e7f682e11a227922 100644 (file)
@@ -900,8 +900,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