<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/miscfs/fdesc, branch release/2.2.6</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>YAMFC (fixed lseek() on named pipes by adding new descriptor type</title>
<updated>1996-12-21T19:04:32+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1996-12-21T19:04:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dc0351027710c96500849e98cb54b2be555afdb4'/>
<id>dc0351027710c96500849e98cb54b2be555afdb4</id>
<content type='text'>
DTYPE_FIFO).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DTYPE_FIFO).
</pre>
</div>
</content>
</entry>
<entry>
<title>Whoops, I should've used the LINT config file.  More ts -&gt; tv changes</title>
<updated>1996-09-20T05:56:36+00:00</updated>
<author>
<name>Nate Williams</name>
<email>nate@FreeBSD.org</email>
</author>
<published>1996-09-20T05:56:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d977b72dbd91c82c8dec7b40f1784db716330eb5'/>
<id>d977b72dbd91c82c8dec7b40f1784db716330eb5</id>
<content type='text'>
for timespec structure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for timespec structure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Eliminated nested include of &lt;sys/unistd.h&gt; in &lt;sys/file.h&gt; in the kernel.</title>
<updated>1996-09-03T14:25:27+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1996-09-03T14:25:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b71fec07dbcbbd6b5665aef535e57fa10a3e910c'/>
<id>b71fec07dbcbbd6b5665aef535e57fa10a3e910c</id>
<content type='text'>
Include it directly in the few places where it is used.

Reduced some #includes of &lt;sys/file.h&gt; to #includes of &lt;sys/fcntl.h&gt; or
nothing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include it directly in the few places where it is used.

Reduced some #includes of &lt;sys/file.h&gt; to #includes of &lt;sys/fcntl.h&gt; or
nothing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up -Wunused warnings.</title>
<updated>1996-06-12T05:11:41+00:00</updated>
<author>
<name>Gary Palmer</name>
<email>gpalmer@FreeBSD.org</email>
</author>
<published>1996-06-12T05:11:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c23670e2949d9e72d99006b4f3be147c712f2f89'/>
<id>c23670e2949d9e72d99006b4f3be147c712f2f89</id>
<content type='text'>
Reviewed by:		bde
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:		bde
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved the fsnode MALLOC to before the call to getnewvnode() so that the</title>
<updated>1996-06-12T03:37:57+00:00</updated>
<author>
<name>David Greenman</name>
<email>dg@FreeBSD.org</email>
</author>
<published>1996-06-12T03:37:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2f9bae59d66ce0d8d74807af1036164af819f415'/>
<id>2f9bae59d66ce0d8d74807af1036164af819f415</id>
<content type='text'>
process won't possibly block before filling in the fsnode pointer (v_data)
which might be dereferenced during a sync since the vnode is put on the
mnt_vnodelist by getnewvnode.

Pointed out by Matt Day &lt;mday@artisoft.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
process won't possibly block before filling in the fsnode pointer (v_data)
which might be dereferenced during a sync since the vnode is put on the
mnt_vnodelist by getnewvnode.

Pointed out by Matt Day &lt;mday@artisoft.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass 3 of the great devsw changes</title>
<updated>1995-12-08T11:19:42+00:00</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>1995-12-08T11:19:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=87f6c6625d5a4889540cb77c8296e456b7d1390b'/>
<id>87f6c6625d5a4889540cb77c8296e456b7d1390b</id>
<content type='text'>
most devsw referenced functions are now static, as they are
in the same file as their devsw structure. I've also added DEVFS
support for nearly every device in the system, however
many of the devices have 'incorrect' names under DEVFS
because I couldn't quickly work out the correct naming conventions.
(but devfs won't be coming on line for a month or so anyhow so that doesn't
matter)

If you "OWN" a device which would normally have an entry in /dev
then search for the devfs_add_devsw() entries and munge to make them right..
check out similar devices to see what I might have done in them in you
can't see what's going on..
for a laugh compare conf.c conf.h defore and after... :)
I have not doen DEVFS entries for any DISKSLICE devices yet as that will be
a much more complicated job.. (pass 5 :)

pass 4 will be to make the devsw tables of type (cdevsw * )
rather than (cdevsw)
seems to work here..
complaints to the usual places.. :)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
most devsw referenced functions are now static, as they are
in the same file as their devsw structure. I've also added DEVFS
support for nearly every device in the system, however
many of the devices have 'incorrect' names under DEVFS
because I couldn't quickly work out the correct naming conventions.
(but devfs won't be coming on line for a month or so anyhow so that doesn't
matter)

If you "OWN" a device which would normally have an entry in /dev
then search for the devfs_add_devsw() entries and munge to make them right..
check out similar devices to see what I might have done in them in you
can't see what's going on..
for a laugh compare conf.c conf.h defore and after... :)
I have not doen DEVFS entries for any DISKSLICE devices yet as that will be
a much more complicated job.. (pass 5 :)

pass 4 will be to make the devsw tables of type (cdevsw * )
rather than (cdevsw)
seems to work here..
complaints to the usual places.. :)
</pre>
</div>
</content>
</entry>
<entry>
<title>Restored #include of &lt;sys/tty.h&gt;.  fdesc_vnops.c needs to know too much</title>
<updated>1995-12-05T19:12:05+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1995-12-05T19:12:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c66c72d1b411c6fa30df5d70f6ec13f58aec1327'/>
<id>c66c72d1b411c6fa30df5d70f6ec13f58aec1327</id>
<content type='text'>
about tty_tty.c's cdevswitch functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
about tty_tty.c's cdevswitch functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added prototypes.</title>
<updated>1995-12-03T14:54:48+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1995-12-03T14:54:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9b5e8b3aa54f6b5a613ad640be26529d4a45247e'/>
<id>9b5e8b3aa54f6b5a613ad640be26529d4a45247e</id>
<content type='text'>
Removed some unnecessary #includes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed some unnecessary #includes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed the type of fdesc_sync().  Trailing args were missing.</title>
<updated>1995-11-16T10:58:35+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1995-11-16T10:58:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=84cac4647faac7275d2797963bb6482afebddacb'/>
<id>84cac4647faac7275d2797963bb6482afebddacb</id>
<content type='text'>
Fixed the type of fdesc_fhtovp().  The args had little resemblance to
the correct ones.

Added prototypes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed the type of fdesc_fhtovp().  The args had little resemblance to
the correct ones.

Added prototypes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduced a type `vop_t' for vnode operation functions and used</title>
<updated>1995-11-09T08:17:23+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1995-11-09T08:17:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f57e65478df5b3ada8a4f7afb89a6cc633bb55fd'/>
<id>f57e65478df5b3ada8a4f7afb89a6cc633bb55fd</id>
<content type='text'>
it 1138 times (:-() in casts and a few more times in declarations.
This change is null for the i386.

The type has to be `typedef int vop_t(void *)' and not `typedef
int vop_t()' because `gcc -Wstrict-prototypes' warns about the
latter.  Since vnode op functions are called with args of different
(struct pointer) types, neither of these function types is any use
for type checking of the arg, so it would be preferable not to use
the complete function type, especially since using the complete
type requires adding 1138 casts to avoid compiler warnings and
another 40+ casts to reverse the function pointer conversions before
calling the functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it 1138 times (:-() in casts and a few more times in declarations.
This change is null for the i386.

The type has to be `typedef int vop_t(void *)' and not `typedef
int vop_t()' because `gcc -Wstrict-prototypes' warns about the
latter.  Since vnode op functions are called with args of different
(struct pointer) types, neither of these function types is any use
for type checking of the arg, so it would be preferable not to use
the complete function type, especially since using the complete
type requires adding 1138 casts to avoid compiler warnings and
another 40+ casts to reverse the function pointer conversions before
calling the functions.
</pre>
</div>
</content>
</entry>
</feed>
