<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/cddl, branch releng/7.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2010-02-01T11:05:19Z</updated>
<entry>
<title>MFC r201406:</title>
<updated>2010-02-01T11:05:19Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2010-02-01T11:05:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9aba7c3da243e105c63f964df9254f1f31a3cc7e'/>
<id>urn:sha1:9aba7c3da243e105c63f964df9254f1f31a3cc7e</id>
<content type='text'>
Reduce diff against OpenSolaris - move Giant acquire/release to
zfs_znode.c.  As a side effect this also eliminates two potential
Giant leaks.

Approved by:  re (kib)
</content>
</entry>
<entry>
<title>MFC c195785:</title>
<updated>2010-01-22T11:42:44Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2010-01-22T11:42:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0466d839c245a48d1a0cd946800ca8417bd1bde3'/>
<id>urn:sha1:0466d839c245a48d1a0cd946800ca8417bd1bde3</id>
<content type='text'>
Fix permission handling for extended attributes in ZFS.  Without
this change, ZFS uses SunOS Alternate Data Streams semantics - each
EA has its own permissions, which are set at EA creation time
and - unlike SunOS - invisible to the user and impossible to change.
From the user point of view, it's just broken: sometimes access
is granted when it shouldn't be, sometimes it's denied when
it shouldn't be.

This patch makes it behave just like UFS, i.e. depend on current
file permissions.  Also, it fixes returned error codes (ENOATTR
instead of ENOENT) and makes listextattr(2) return 0 instead
of EPERM where there is no EA directory (i.e. the file never had
any EA).

Tested by:	cperciva
</content>
</entry>
<entry>
<title>Revert part of the previous change that partially reverted an earlier MFC</title>
<updated>2010-01-21T21:04:29Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2010-01-21T21:04:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1335148631758392acc90a7e44dc23d0f3300022'/>
<id>urn:sha1:1335148631758392acc90a7e44dc23d0f3300022</id>
<content type='text'>
of 199156.
</content>
</entry>
<entry>
<title>MFC 189696,189697:</title>
<updated>2010-01-21T14:33:18Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2010-01-21T14:33:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5aa59907190a7e3c598fa247773a0037cddabdaa'/>
<id>urn:sha1:5aa59907190a7e3c598fa247773a0037cddabdaa</id>
<content type='text'>
Add a new internal mount flag (MNTK_EXTENDED_SHARED) to indicate that a
filesystem supports additional operations using shared vnode locks.
Currently this is used to enable shared locks for open() and close() of
read-only file descriptors.
- When an ISOPEN namei() request is performed with LOCKSHARED, use a
  shared vnode lock for the leaf vnode only if the mount point has the
  extended shared flag set.
- Set LOCKSHARED in vn_open_cred() for requests that specify O_RDONLY but
  not O_CREAT.
- Use a shared vnode lock around VOP_CLOSE() if the file was opened with
  O_RDONLY and the mountpoint has the extended shared flag set.
- Adjust md(4) to upgrade the vnode lock on the vnode it gets back from
  vn_open() since it now may only have a shared vnode lock.
- Don't enable shared vnode locks on FIFO vnodes in ZFS and UFS since
  FIFO's require exclusive vnode locks for their open() and close()
  routines.  (My recent MPSAFE patches for UDF and cd9660 already included
  this change.)
- Enable extended shared operations on UFS, cd9660, and UDF.
</content>
</entry>
<entry>
<title>MFC r202129:</title>
<updated>2010-01-18T05:24:51Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2010-01-18T05:24:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=40a6c09d05efe648c30548faf09d85d7ed247c06'/>
<id>urn:sha1:40a6c09d05efe648c30548faf09d85d7ed247c06</id>
<content type='text'>
Report ZFS filesystem version instead of the zpool version when we say it.

Reported by:	Yuri Pankov (on -fs@)
Submitted by:	delphij
</content>
</entry>
<entry>
<title>MFC r201756:</title>
<updated>2010-01-10T07:18:35Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2010-01-10T07:18:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3c3898ff6fa8551e3a8e118c7e343257f1a382de'/>
<id>urn:sha1:3c3898ff6fa8551e3a8e118c7e343257f1a382de</id>
<content type='text'>
Re-apply onnv-gate revisions 7994 and 8986 (corresponds to FreeBSD
revision 200726 and 200727).

Reviewed by:  mm@
</content>
</entry>
<entry>
<title>MFC</title>
<updated>2010-01-08T11:06:13Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2010-01-08T11:06:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d6bd54ec01f6a56e799084ac6302267055b886d7'/>
<id>urn:sha1:d6bd54ec01f6a56e799084ac6302267055b886d7</id>
<content type='text'>
r197514:
---snip---
    On lookup error VFS expects *vpp to be set to NULL, be sure to do that.
---snip---

r197816:
---snip---
    Prevent paging pressure from draining arc too much
    - always drain arc if above arc_c_max - never drain arc if arc is below
      arc_c_max
---snip---
</content>
</entry>
<entry>
<title>Diff reduction to 8-stable:</title>
<updated>2010-01-07T13:42:28Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2010-01-07T13:42:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=75bd17e96c78316e6c7375eda99d2fb9e4fe2bc4'/>
<id>urn:sha1:75bd17e96c78316e6c7375eda99d2fb9e4fe2bc4</id>
<content type='text'>
 - whitespace
 - fix harmless mismerges
   - comments or (harmless) code which was there twice
 - fix not so harmless mismerges (mem leak - double mtx_init)

MFC r197842: whitespace fix
</content>
</entry>
<entry>
<title>MFC several ZFS related commits:</title>
<updated>2010-01-07T09:37:59Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2010-01-07T09:37:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ffad4ecfda2c3d9957853339df85f96beaf3d895'/>
<id>urn:sha1:ffad4ecfda2c3d9957853339df85f96beaf3d895</id>
<content type='text'>
r197459:
---snip---
    Before calling vflush(FORCECLOSE) mark file system as unmounted so the
    following vnops will fail. This is very important, because without this change
    vnode could be reclaimed at any point, even if we increased usecount. The only
    way to ensure that vnode won't be reclaimed was to lock it, which would be very
    hard to do in ZFS without changing a lot of code. With this change simply
    increasing usecount is enough to be sure vnode won't be reclaimed from under
    us. To be precise it can still be reclaimed but we won't be able to see it,
    because every try to enter ZFS through VFS will result in EIO.

    The only function that cannot return EIO, because it is needed for vflush() is
    zfs_root(). Introduce ZFS_ENTER_NOERROR() macro that only locks
    z_teardown_lock and never returns EIO.
---snip---

r197512:
---snip---
    - Don't depend on value returned by gfs_*_inactive(), it doesn't work
      well with forced unmounts when GFS vnodes are referenced.
    - Make other preparations to GFS for forced unmounts.

    PR:			kern/139062
    Reported by:	trasz
---snip---

r197513:
---snip---
    Use traverse() function to find and return mount point's vnode instead of
cov    ered vnode when snapshot is already mounted.
---snip---

r197513:
---snip---
    Handle cases where virtual (GFS) vnodes are referenced when doing forced
    unmount. In that case we cannot depend on the proper order of invalidating
    vnodes, so we have to free resources when we have a chance.

    PR:			kern/139062
    Reported by:	trasz
---snip---

r197683:
---snip---
    Return EOPNOTSUPP instead of EINVAL when doing chflags(2) over an old
    format ZFS, as defined in the manual page.

    Submitted by:	pjd (response of my original patch but bugs are mine)
---snip---

r198703:
---snip---
    - zfs_zaccess() can handle VAPPEND too, so map V_APPEND to VAPPEND and call
      zfs_access() instead of vaccess() in this case as well.
    - If VADMIN is specified with another V* flag (unlikely) call both
      zfs_access() and vaccess() after spliting V* flags.

    This fixes "dirtying snapshot!" panic.

    PR:				kern/139806
    Reported by:		Carl Chave &lt;carl@chave.us&gt;
    In co-operation with:	jh
---snip---
While I'm here: fix two comments regarding the members of vop_access_args
to comply what is in RELENG_7.

r199156:
---snip---
    Avoid passing invalid mountpoint to getnewvnode().

    Reported by:	rwatson
    Tested by:	rwatson
---snip---

r200724:
---snip---
    Apply fix Solaris bug 6462803 zfs snapshot -r failed because
    filesystem was busy. (onnv-gate revision 8989)

    Submitted by:	mm
    Approved by:	pjd
---snip---

r200726:
---snip---
    Apply fix for Solaris bug 6801979: zfs recv can fail with E2BIG
    (onnv revision 8986)

    Requested by:	mm
    Submitted by:	pjd
    Obtained from:	OpenSolaris
---snip---

r200727 (following is the corrected commit log):
---snip---
    Apply fix for Solaris bug 6764159: restore_object() makes a call
    that can block while having a tx open but not yet committed
    (onnv revision 7994)

    Submitted by:	mm
    Obtained from:	OpenSolaris
---snip---
</content>
</entry>
<entry>
<title>Fix BIND named(8) cache poisoning with DNSSEC validation.</title>
<updated>2010-01-06T21:45:30Z</updated>
<author>
<name>Simon L. B. Nielsen</name>
<email>simon@FreeBSD.org</email>
</author>
<published>2010-01-06T21:45:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0173dfc7418aad35260bd24ab9d5688bf5007211'/>
<id>urn:sha1:0173dfc7418aad35260bd24ab9d5688bf5007211</id>
<content type='text'>
[SA-10:01]

Fix ntpd mode 7 denial of service. [SA-10:02]

Fix ZFS ZIL playback with insecure permissions. [SA-10:03]

Various FreeBSD 8.0-RELEASE improvements. [EN-10:01]

Security:	FreeBSD-SA-10:01.bind
Security:	FreeBSD-SA-10:02.ntpd
Security:	FreeBSD-SA-10:03.zfs
Errata:		FreeBSD-EN-10:01.freebsd
Approved by:	so (simon)
</content>
</entry>
</feed>
