<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_file.c, branch releng/4.3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC rev 1.43: Fix linux_getdents syscall.</title>
<updated>2000-11-08T02:38:24+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2000-11-08T02:38:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=32cacb342fa09ab707641c8e97c108cfd1c3e7d9'/>
<id>32cacb342fa09ab707641c8e97c108cfd1c3e7d9</id>
<content type='text'>
Approved by: jkh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by: jkh
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: allow AlphaLinux compat bits to build.</title>
<updated>2000-11-02T23:31:28+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2000-11-02T23:31:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=75f73770ab9a3c3af37cba510bec09ad284e0e23'/>
<id>75f73770ab9a3c3af37cba510bec09ad284e0e23</id>
<content type='text'>
Approved by:	JKH
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	JKH
</pre>
</div>
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_4'.</title>
<updated>2000-08-23T11:54:11+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2000-08-23T11:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4cd12ae4adcc6f21e6e9f792cbbffbc84ca3c241'/>
<id>4cd12ae4adcc6f21e6e9f792cbbffbc84ca3c241</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_4'.</title>
<updated>2000-03-13T04:59:44+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2000-03-13T04:59:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=842f30848780866cb822fe01c4d3d4576718ddb3'/>
<id>842f30848780866cb822fe01c4d3d4576718ddb3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement fdatasync in terms of fsync. The regeneration of proto.h,</title>
<updated>1999-11-26T10:20:10+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>1999-11-26T10:20:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=25e5bdab9e01374bafa2540c0e1a29d5c942f6b9'/>
<id>25e5bdab9e01374bafa2540c0e1a29d5c942f6b9</id>
<content type='text'>
syscall.h and sysent.h was probably forgotten after the last change
syscalls.master.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
syscall.h and sysent.h was probably forgotten after the last change
syscalls.master.
</pre>
</div>
</content>
</entry>
<entry>
<title>simplify check for device.</title>
<updated>1999-11-08T09:59:17+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-11-08T09:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e30338edddf50b73eff0da06d96647258cc3bd4'/>
<id>3e30338edddf50b73eff0da06d96647258cc3bd4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the duplicate filenames that are the result of using getdents.</title>
<updated>1999-10-21T09:14:49+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>1999-10-21T09:14:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5a02dbe45a261843030466992c53c9d9c85f2a0d'/>
<id>5a02dbe45a261843030466992c53c9d9c85f2a0d</id>
<content type='text'>
glibc2 defines struct dirent differently than the Linux kernel does.
The getdents function therefore needs to read a heuristically defined
number of kernel dirents to satisfy the request. In case where too
many kernel dirents have been read, the function lseeks on the
directory so that a next call will start with the right dirent. The
offset used in lseeking is the offset-field in the last dirent passed
to the application. This can only mean that the offset-field holds
the offset of the next dirent and not the offset of the dirent itself.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
glibc2 defines struct dirent differently than the Linux kernel does.
The getdents function therefore needs to read a heuristically defined
number of kernel dirents to satisfy the request. In case where too
many kernel dirents have been read, the function lseeks on the
directory so that a next call will start with the right dirent. The
offset used in lseeking is the offset-field in the last dirent passed
to the application. This can only mean that the offset-field holds
the offset of the next dirent and not the offset of the dirent itself.
</pre>
</div>
</content>
</entry>
<entry>
<title>This patch clears the way for removing a number of tty related</title>
<updated>1999-09-25T16:21:39+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-09-25T16:21:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ae8e1d08d7bf92c79a987fb2a6a4526fbb8415f6'/>
<id>ae8e1d08d7bf92c79a987fb2a6a4526fbb8415f6</id>
<content type='text'>
fields in struct cdevsw:

        d_stop          moved to struct tty.
        d_reset         already unused.
        d_devtotty      linkage now provided by dev_t-&gt;si_tty.

These fields will be removed from struct cdevsw together with
d_params and d_maxio Real Soon Now.

The changes in this patch consist of:

        initialize dev-&gt;si_tty in *_open()
        initialize tty-&gt;t_stop
        remove devtotty functions
        rename ttpoll to ttypoll
        a few adjustments to these changes in the generic code
        a bump of __FreeBSD_version
        add a couple of FreeBSD tags
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fields in struct cdevsw:

        d_stop          moved to struct tty.
        d_reset         already unused.
        d_devtotty      linkage now provided by dev_t-&gt;si_tty.

These fields will be removed from struct cdevsw together with
d_params and d_maxio Real Soon Now.

The changes in this patch consist of:

        initialize dev-&gt;si_tty in *_open()
        initialize tty-&gt;t_stop
        remove devtotty functions
        rename ttpoll to ttypoll
        a few adjustments to these changes in the generic code
        a bump of __FreeBSD_version
        add a couple of FreeBSD tags
</pre>
</div>
</content>
</entry>
<entry>
<title>This is what was "fdfix2.patch," a fix for fd sharing.  It's pretty</title>
<updated>1999-09-19T17:00:25+00:00</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>1999-09-19T17:00:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=13ccadd4b00cd6944ff3e60bee50aa629a769016'/>
<id>13ccadd4b00cd6944ff3e60bee50aa629a769016</id>
<content type='text'>
far-reaching in fd-land, so you'll want to consult the code for
changes.  The biggest change is that now, you don't use
	fp-&gt;f_ops-&gt;fo_foo(fp, bar)
but instead
	fo_foo(fp, bar),
which increments and decrements the fp refcount upon entry and exit.
Two new calls, fhold() and fdrop(), are provided.  Each does what it
seems like it should, and if fdrop() brings the refcount to zero, the
fd is freed as well.

Thanks to peter ("to hell with it, it looks ok to me.") for his review.
Thanks to msmith for keeping me from putting locks everywhere :)

Reviewed by:	peter
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
far-reaching in fd-land, so you'll want to consult the code for
changes.  The biggest change is that now, you don't use
	fp-&gt;f_ops-&gt;fo_foo(fp, bar)
but instead
	fo_foo(fp, bar),
which increments and decrements the fp refcount upon entry and exit.
Two new calls, fhold() and fdrop(), are provided.  Each does what it
seems like it should, and if fdrop() brings the refcount to zero, the
fd is freed as well.

Thanks to peter ("to hell with it, it looks ok to me.") for his review.
Thanks to msmith for keeping me from putting locks everywhere :)

Reviewed by:	peter
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix getcwd. It must return the length of the path including the terminating 0.</title>
<updated>1999-09-17T08:35:08+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>1999-09-17T08:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=13d9e61a674ba8dbc03f64563e83527606af54cc'/>
<id>13d9e61a674ba8dbc03f64563e83527606af54cc</id>
<content type='text'>
While I'm here, fix style and debug printf.

Fix derived from patch by: Darryl Okahata &lt;darrylo@sr.hp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While I'm here, fix style and debug printf.

Fix derived from patch by: Darryl Okahata &lt;darrylo@sr.hp.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
