<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/fs/devfs, branch release/8.1.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.1.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.1.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2010-07-17T05:41:01Z</updated>
<entry>
<title>Copy releng/8.1 to release/8.1.0 for 8.1-RELEASE.</title>
<updated>2010-07-17T05:41:01Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2010-07-17T05:41:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=90d6fa76a8141fc596ad376ecd86a8a493836298'/>
<id>urn:sha1:90d6fa76a8141fc596ad376ecd86a8a493836298</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 8.1-RELEASE image.
</content>
</entry>
<entry>
<title>MFC r207729:</title>
<updated>2010-05-20T09:38:15Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2010-05-20T09:38:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c67c645d9da3298ec2f2c877faa446055c4cc846'/>
<id>urn:sha1:c67c645d9da3298ec2f2c877faa446055c4cc846</id>
<content type='text'>
Add MAKEDEV_NOWAIT flag for make_dev_credf(9).
</content>
</entry>
<entry>
<title>Improve nested jail awareness of devfs by handling credentials.</title>
<updated>2009-06-20T14:50:32Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-06-20T14:50:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f8f6146082e8bb49d8337f450b1f60402ef5c4e2'/>
<id>urn:sha1:f8f6146082e8bb49d8337f450b1f60402ef5c4e2</id>
<content type='text'>
Now that we start to use credentials on character devices more often
(because of MPSAFE TTY), move the prison-checks that are in place in the
TTY code into devfs.

Instead of strictly comparing the prisons, use the more common
prison_check() function to compare credentials. This means that
pseudo-terminals are only visible in devfs by processes within the same
jail and parent jails.

Even though regular users in parent jails can now interact with
pseudo-terminals from child jails, this seems to be the right approach.
These processes are also capable of interacting with the jailed
processes anyway, through signals for example.

Reviewed by:	kib, rwatson (older version)
</content>
</entry>
<entry>
<title>VOP_IOCTL takes unlocked vnode as an argument. Due to this, v_data may</title>
<updated>2009-06-10T13:57:36Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-06-10T13:57:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c4df27d5c8dc92a24cd81c7afddde67998262554'/>
<id>urn:sha1:c4df27d5c8dc92a24cd81c7afddde67998262554</id>
<content type='text'>
be NULL or derefenced memory may become free at arbitrary moment.

Lock the vnode in cd9660, devfs and pseudofs implementation of VOP_IOCTL
to prevent reclaim; check whether the vnode was already reclaimed after
the lock is granted.

Reported by:	georg at dts su
Reviewed by:	des (pseudofs)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Move "options MAC" from opt_mac.h to opt_global.h, as it's now in GENERIC</title>
<updated>2009-06-05T14:55:22Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-06-05T14:55:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bcf11e8d0048006ba97cb460a134cc23290428b2'/>
<id>urn:sha1:bcf11e8d0048006ba97cb460a134cc23290428b2</id>
<content type='text'>
and used in a large number of files, but also because an increasing number
of incorrect uses of MAC calls were sneaking in due to copy-and-paste of
MAC-aware code without the associated opt_mac.h include.

Discussed with:	pjd
</content>
</entry>
<entry>
<title>Re-add opt_mac.h include, which is required in order for MNT_MULTILABEL</title>
<updated>2009-06-04T10:30:18Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-06-04T10:30:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=927e0a56ce80a7ae9603d8b10c65a4de589b30c2'/>
<id>urn:sha1:927e0a56ce80a7ae9603d8b10c65a4de589b30c2</id>
<content type='text'>
to be set properly on devfs.  Otherwise, it isn't possible to set labels
on /dev nodes.

Reported by:	Sergio Rodriguez &lt;sergiorr at yahoo.com&gt;
MFC after:	3 days
</content>
</entry>
<entry>
<title>Devfs replaces file ops vector with devfs-specific one in devfs_open(),</title>
<updated>2009-05-15T19:23:05Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-05-15T19:23:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0e9bd89d7ddf23148bcdcfc2249cd711fe76fbaa'/>
<id>urn:sha1:0e9bd89d7ddf23148bcdcfc2249cd711fe76fbaa</id>
<content type='text'>
before the struct file is fully initialized in vn_open(), in particular,
fp-&gt;f_vnode is NULL. Other thread calling file operation before f_vnode
is set results in NULL pointer dereference in devvn_refthread().

Initialize f_vnode before calling d_fdopen() cdevsw method, that might
set file ops too.

Reported and tested by:	Chris Timmons &lt;cwt networks cwu edu&gt;
	(RELENG_7 version)
MFC after:	3 days
</content>
</entry>
<entry>
<title>Remove the thread argument from the FSD (File-System Dependent) parts of</title>
<updated>2009-05-11T15:33:26Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2009-05-11T15:33:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dfd233edd5040ed82a16a0074e220188e2c67ad4'/>
<id>urn:sha1:dfd233edd5040ed82a16a0074e220188e2c67ad4</id>
<content type='text'>
the VFS.  Now all the VFS_* functions and relating parts don't want the
context as long as it always refers to curthread.

In some points, in particular when dealing with VOPs and functions living
in the same namespace (eg. vflush) which still need to be converted,
pass curthread explicitly in order to retain the old behaviour.
Such loose ends will be fixed ASAP.

While here fix a bug: now, UFS_EXTATTR can be compiled alone without the
UFS_EXTATTR_AUTOSTART option.

VFS KPI is heavilly changed by this commit so thirdy parts modules needs
to be recompiled.  Bump __FreeBSD_version in order to signal such
situation.
</content>
</entry>
<entry>
<title>Remove VOP_LEASE and supporting functions.  This hasn't been used since</title>
<updated>2009-04-10T10:52:19Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-04-10T10:52:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=885868cd8f34658a50b376ff06df3c4990666c17'/>
<id>urn:sha1:885868cd8f34658a50b376ff06df3c4990666c17</id>
<content type='text'>
the removal of NQNFS, but was left in in case it was required for NFSv4.
Since our new NFSv4 client and server can't use it for their
requirements, GC the old mechanism, as well as other unused lease-
related code and interfaces.

Due to its impact on kernel programming and binary interfaces, this
change should not be MFC'd.

Proposed by:    jeff
Reviewed by:    jeff
Discussed with: rmacklem, zach loafman @ isilon
</content>
</entry>
<entry>
<title>Enable advisory file locking for devfs vnodes.</title>
<updated>2009-03-11T12:53:16Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-03-11T12:53:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=52dc9305aa61a1f9ab19e4e84cbbe37827806c91'/>
<id>urn:sha1:52dc9305aa61a1f9ab19e4e84cbbe37827806c91</id>
<content type='text'>
Reported by:	Timothy Redaelli &lt;timothy redaelli eu&gt;
MFC after:	1 week
</content>
</entry>
</feed>
