16 lines
502 B
Diff
16 lines
502 B
Diff
|
diff --git a/fs/namei.c b/fs/namei.c
|
||
|
index d999a86..eb6e530 100644
|
||
|
--- a/fs/namei.c
|
||
|
+++ b/fs/namei.c
|
||
|
@@ -703,8 +703,8 @@ static inline void put_link(struct nameidata *nd, struct path *link, void *cooki
|
||
|
path_put(link);
|
||
|
}
|
||
|
|
||
|
-int sysctl_protected_symlinks __read_mostly = 1;
|
||
|
-int sysctl_protected_hardlinks __read_mostly = 1;
|
||
|
+int sysctl_protected_symlinks __read_mostly = 0;
|
||
|
+int sysctl_protected_hardlinks __read_mostly = 0;
|
||
|
|
||
|
/**
|
||
|
* may_follow_link - Check symlink following for unsafe situations
|