UBUNTU: SAUCE: (no-up) Revert "VFS: don't do protected {sym,hard}links by default"
This reverts commit 561ec64ae6.
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: Tim Gardner <tim.gardner@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
1208220b5f
commit
3a9edc5210
+2
-2
@@ -1028,8 +1028,8 @@ static inline void put_link(struct nameidata *nd)
|
||||
path_put(&last->link);
|
||||
}
|
||||
|
||||
static int sysctl_protected_symlinks __read_mostly;
|
||||
static int sysctl_protected_hardlinks __read_mostly;
|
||||
static int sysctl_protected_symlinks __read_mostly = 1;
|
||||
static int sysctl_protected_hardlinks __read_mostly = 1;
|
||||
static int sysctl_protected_fifos __read_mostly;
|
||||
static int sysctl_protected_regular __read_mostly;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user