<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/fs/devfs, branch release/6.1.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.1.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.1.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2006-05-06T19:24:14Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2006-05-06T19:24:14Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2006-05-06T19:24:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=26c52663cb5e53422c188e65b45755f348c2fbf3'/>
<id>urn:sha1:26c52663cb5e53422c188e65b45755f348c2fbf3</id>
<content type='text'>
'RELENG_6_1_0_RELEASE'.

This commit was manufactured to restore the state of the 6.1-RELEASE image.
</content>
</entry>
<entry>
<title>MFC Rev 1.45</title>
<updated>2006-03-13T03:05:06Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2006-03-13T03:05:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=46704f2b59158f714310fafdca0ed8bd9cf25c5c'/>
<id>urn:sha1:46704f2b59158f714310fafdca0ed8bd9cf25c5c</id>
<content type='text'>
VFS SMP fixes, stack api, softupdates fixes.

Sponsored by:	Isilon Systems, Inc.
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>MFC devfs_rule.c:1.21 from HEAD to RELENG_6:</title>
<updated>2006-01-11T10:15:57Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-01-11T10:15:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e43ff577ba53b367c25f4762689b03a76396df6f'/>
<id>urn:sha1:e43ff577ba53b367c25f4762689b03a76396df6f</id>
<content type='text'>
  When returning EIO from DEVFSIO_RADD ioctl, drop the exclusive rule
  lock.  Otherwise the system comes to a rather sudden and grinding
  halt.

As the underlying devfs locking changes that lead to this bug have not
been merged to RELENG_5, this fix to those locking changes does not
need to be merged.
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-11-12T21:21:27Z</updated>
<author>
<name>Doug White</name>
<email>dwhite@FreeBSD.org</email>
</author>
<published>2005-11-12T21:21:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ad700b49adf7506a3c1b0c5f12004a4907abb41b'/>
<id>urn:sha1:ad700b49adf7506a3c1b0c5f12004a4907abb41b</id>
<content type='text'>
 src/sys/fs/devfs/devfs_vnops.c		1.128
 src/sys/kern/vfs_subr.c		1.652

This is a workaround for a complicated issue involving VFS cookies and devfs.
The PR and patch have the details. The ultimate fix requires architectural
changes and clarifications to the VFS API, but this will prevent the system
from panicking when someone does "ls /dev" while running in a shell under the
linuxulator.

PR:		88249
Submitted by:   "Devon H. O'Dell" &lt;dodell@ixsystems.com&gt;
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-10-19T21:25:31Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-10-19T21:25:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9531ba46370a5239cfde369c742744b39e68377e'/>
<id>urn:sha1:9531ba46370a5239cfde369c742744b39e68377e</id>
<content type='text'>
	Use correct criteria to determine if dirent can be removed
	right away.

Approved by:	re@ (scottl)
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-09-26T14:36:54Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-09-26T14:36:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=02eb92cc0eb8efadf6e5fc5ac65a45a8b92d15bc'/>
<id>urn:sha1:02eb92cc0eb8efadf6e5fc5ac65a45a8b92d15bc</id>
<content type='text'>
	DEVFS fixes of many sorts.

Approved by:	re@ (scottl)
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-09-18T07:10:57Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-09-18T07:10:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5dc21d2be6f7413a9bb39502733d07949ef8f777'/>
<id>urn:sha1:5dc21d2be6f7413a9bb39502733d07949ef8f777</id>
<content type='text'>
	Various fixes for DEVFS, in particular "devfs ruleset already running".

Approved by:	re@ (scottl)
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-09-05T11:02:30Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-09-05T11:02:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=68103aa3b01a42184f9ff6fd87b3d0c50f45609e'/>
<id>urn:sha1:68103aa3b01a42184f9ff6fd87b3d0c50f45609e</id>
<content type='text'>
	missing dev_relthread() call.

Approved by:	re@ (scottl)
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_6'.</title>
<updated>2005-08-16T19:08:02Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-08-16T19:08:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fc207dde71e7899a4a484459a1ebc6a4d0bb9d7d'/>
<id>urn:sha1:fc207dde71e7899a4a484459a1ebc6a4d0bb9d7d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge two sets of changes relating to devfs device node cloning from</title>
<updated>2005-08-13T21:24:18Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-08-13T21:24:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7e993ff3bc9140ccccc23d520316c214cdad4ac2'/>
<id>urn:sha1:7e993ff3bc9140ccccc23d520316c214cdad4ac2</id>
<content type='text'>
HEAD to RELENG_6: changes to introduce a credentialed version of the
clone event handler, and then changes to merge the regular and
credentialed versions into a single interface (along with updates to
existing consumers).  With this merge, 6.x and 7.x are in sync.

First batch merges devfs_devs.c:1.37, devfs_vnops.c:1.115,
kern_conf.c:1.187, tty_pty.c:1.138, mac_vfs.c:1.109, mac_biba.c:1.36,
mac_lomac.c:1.36, mac_mls.c:1.73, mac_stub.c:1.53, mac_test.c:1.61,
conf.h:1.223, mac.h:1.68, mac_policy.h:1.67 from HEAD to RELENG_6:

  When devfs cloning takes place, provide access to the credential of the
  process that caused the clone event to take place for the device driver
  creating the device.  This allows cloned device drivers to adapt the
  device node based on security aspects of the process, such as the uid,
  gid, and MAC label.

  - Add a cred reference to struct cdev, so that when a device node is
    instantiated as a vnode, the cloning credential can be exposed to
    MAC.

  - Add make_dev_cred(), a version of make_dev() that additionally
    accepts the credential to stick in the struct cdev.  Implement it and
    make_dev() in terms of a back-end make_dev_credv().

  - Add a new event handler, dev_clone_cred, which can be registered to
    receive the credential instead of dev_clone, if desired.

  - Modify the MAC entry point mac_create_devfs_device() to accept an
    optional credential pointer (may be NULL), so that MAC policies can
    inspect and act on the label or other elements of the credential
    when initializing the skeleton device protections.

  - Modify tty_pty.c to register clone_dev_cred and invoke make_dev_cred(),
    so that the pty clone credential is exposed to the MAC Framework.

  While currently primarily focussed on MAC policies, this change is also
  a prerequisite for changes to allow ptys to be instantiated with the UID
  of the process looking up the pty.  This requires further changes to the
  pty driver -- in particular, to immediately recycle pty nodes on last
  close so that the credential-related state can be recreated on next
  lookup.

  Submitted by:   Andrew Reisse &lt;andrew.reisse@sparta.com&gt;
  Obtained from:  TrustedBSD Project
  Sponsored by:   SPAWAR, SPARTA

Second batch merges scsi_target.c:1.68, coda_fbsd.c:1.43,
firewirereg.h:1.38, fwdev.c:1.47, nmdm.c:1.36, snp.c:1.100, dsp.c:1.82,
mixer.c:1.45, vkbd.c:1.9, devfs_vnops.c:1.117, tty_pty.c:1.139,
tty_tty.c:1.57, bpf.c:1.156, if_tap.c:1.56, if_tun.c:1.153,
smb_dev.c:1.28, conf.h:1.224 from HEAD to RELENG_6:

  Merge the dev_clone and dev_clone_cred event handlers into a single
  event handler, dev_clone, which accepts a credential argument.
  Implementors of the event can ignore it if they're not interested,
  and most do.  This avoids having multiple event handler types and
  fall-back/precedence logic in devfs.

  This changes the kernel API for /dev cloning, and may affect third
  party packages containg cloning kernel modules.

  Requested by:   phk

These changes modifies the kernel device driver API for device cloning,
and might require minor modifications to third party device drivers that
make use of devfs cloning.  It will not be merged to RELENG_5.

Approved by:	re (scottl)
</content>
</entry>
</feed>
