OSDN Git Service

[PATCH] smbfs: fix problems introduced by last security backport
authordann frazier <dannf@dannf.org>
Tue, 23 Jan 2007 21:12:57 +0000 (14:12 -0700)
committerWilly Tarreau <w@1wt.eu>
Wed, 31 Jan 2007 21:59:44 +0000 (22:59 +0100)
commitdb3511de156debbea8966b926d391d7ba6e6958b
tree7b63454ce5da7ea579d33d9ad939fa5ce64e395a
parent22adbf2bd4a735c44379402df8a004e669cfaf6e
[PATCH] smbfs: fix problems introduced by last security backport

Users have reported a symlink issue with my recent smbfs backport.
Turns out my backport overlooked a second 2.6 patch w/ the fix:
 http://linux.bkbits.net:8080/linux-2.6/?PAGE=cset&REV=419e7b76CdrmRG_NZ8LKj9DUUBGu1w

This is a backport of Haroldo Gamal's 2.6 patch that fixes the symlink
issue, and also cleans up an unnecessary double assignment. As his
commit message notes, you will need the userspace patches from Samba
Bug #999 in order to use the permission/ownership assigned by the
server.

Signed-off-by: dann frazier <dannf@debian.org>
fs/smbfs/inode.c
fs/smbfs/proc.c