Re: Fwd: Linux Broadcom 5820 Cryptonet Driver Integer Overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 02, 2004 at 02:17:53PM +0100, Jon Peatfield wrote:
 > I see that the new fc1 kernel-2.4.22-1.2197 also includes the nfs
 > fchown fix too though I can't seem to download that src.rpm and the
 > mirrors don't have it yet (well not the ones I've looked at anyway).
 > 
 > Does anyone have a pointer just to the patch(es) to fix the nfs
 > problem and disable the Broadcom driver?

fchown was this...
 
--- linux-2.4.22/fs/attr.c~	2004-07-01 17:24:21.707391872 +0100
+++ linux-2.4.22/fs/attr.c	2004-07-01 17:24:40.733499464 +0100
@@ -33,7 +33,8 @@
 
 	/* Make sure caller can chgrp. */
 	if ((ia_valid & ATTR_GID) &&
-	    (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) &&
+	    (current->fsuid != inode->i_uid ||
+		(!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid)) &&
 	    !capable(CAP_CHOWN))
 		goto error;
 

The broadcom bit was disabling teh bcm5820 patch in the kernel-2.4.spec file

		Dave


--

fedora-legacy-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux