Commit c331eb40 authored by Tim Gardner's avatar Tim Gardner

UBUNTU: SAUCE: (no-up) Revert "VFS: don't do protected {sym,hard}links by default"

This reverts commit 561ec64a.

BugLink: http://bugs.launchpad.net/bugs/1084192

Reverting this in the kernel as opposed to adding a sysctl
to the procps package guarentees that this regression will be
propagated to the Raring LTS kernel.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent ec6970a3
...@@ -865,8 +865,8 @@ static inline void put_link(struct nameidata *nd) ...@@ -865,8 +865,8 @@ static inline void put_link(struct nameidata *nd)
path_put(&last->link); path_put(&last->link);
} }
int sysctl_protected_symlinks __read_mostly = 0; int sysctl_protected_symlinks __read_mostly = 1;
int sysctl_protected_hardlinks __read_mostly = 0; int sysctl_protected_hardlinks __read_mostly = 1;
/** /**
* may_follow_link - Check symlink following for unsafe situations * may_follow_link - Check symlink following for unsafe situations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment