[PATCH] VFS: local denial-of-service with file leases
Remove time_out_leases() printk that's easily triggered by users.
Signed-off-by: Chris Wright <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Above is the signoff information for
f3a9388e4ebea57583272007311fffa26ebbb305 included in Linus's 2.6 tree.
As this is CVE-2005-3857 I am proposing its inclusion in 2.4
Signed-off-by: Horms <[email protected]>
diff --git a/fs/locks.c b/fs/locks.c
index 370ed4c..2f21d25 100644
--- a/fs/locks.c
+++ b/fs/locks.c
@@ -1087,7 +1087,6 @@ static void time_out_leases(struct inode
before = &fl->fl_next;
continue;
}
- printk(KERN_INFO "lease broken - owner pid = %d\n", fl->fl_pid);
lease_modify(before, fl->fl_type & ~F_INPROGRESS);
if (fl == *before) /* lease_modify may have freed fl */
before = &fl->fl_next;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]