X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fnamei.c;h=51bcb966a76bf6651e388ba5070184d1fc5a16e1;hb=HEAD;hp=ddb6a7c2b3d4aee1c3512e064350822533968dc5;hpb=1724c7c0c9494dcbdd7f630f29e1e8427cb231d1;p=mirror_ubuntu-artful-kernel.git diff --git a/fs/namei.c b/fs/namei.c index ddb6a7c2b3d4..51bcb966a76b 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -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