[Midnightbsd-cvs] src: zfs_replay.c: ZFS is a file-system originally developed by Sun
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Jan 6 19:32:40 EST 2010
Log Message:
-----------
ZFS is a file-system originally developed by Sun Microsystems.
The ZFS Intent Log ("ZIL") is a mechanism that gathers together in memory
transactions of writes, and is flushed onto disk when synchronous
semantics is necessary. In the event of crash or power failure, the
log is examined and the uncommitted transaction would be replayed to
maintain the synchronous semantics.
When replaying setattr transaction, the replay code would set the
attributes with certain insecure defaults, when the logged
transaction did not touch these attributes.
A system crash or power fail would leave some file with mode set
to 07777. This could leak sensitive information or cause privilege
escalation.
Based on FreeBSD security advisory SA-10:03.zfs (freebsd 7.x)
Modified Files:
--------------
src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs:
zfs_replay.c (r1.2 -> r1.3)
(http://cvsweb.midnightbsd.org/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_replay.c?r1=1.2&r2=1.3)
More information about the Midnightbsd-cvs
mailing list