<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/compat/linux/linux_util.c, branch release/8.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-11-21T06:13:29Z</updated>
<entry>
<title>Create release/8.0.0 for the 8.0-RELEASE.</title>
<updated>2009-11-21T06:13:29Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2009-11-21T06:13:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a4d3b78df842614c46b116fc5a6f470be637dccd'/>
<id>urn:sha1:a4d3b78df842614c46b116fc5a6f470be637dccd</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 8.0-RELEASE image.
</content>
</entry>
<entry>
<title>Retire the MALLOC and FREE macros.  They are an abomination unto style(9).</title>
<updated>2008-10-23T15:53:51Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-10-23T15:53:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1ede983cc905643549d8cae56a9d0e28fc68375f'/>
<id>urn:sha1:1ede983cc905643549d8cae56a9d0e28fc68375f</id>
<content type='text'>
MFC after:	3 months
</content>
</entry>
<entry>
<title>Push down the major/minor conversion for pts/%u to improve consistency.</title>
<updated>2008-06-02T08:40:06Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-06-02T08:40:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a147e6cadf7e0b040cabd185739a63a7f2f1d36d'/>
<id>urn:sha1:a147e6cadf7e0b040cabd185739a63a7f2f1d36d</id>
<content type='text'>
In the mpsafetty branch, Linux sshd seems to work properly inside a
jail. Some small modifications had to be made to the Linux compatibility
layer.

The Linux PTY routines always expect the device major number to be 136
or higher. Our code always set the major/minor number pair to 136:0.
This makes routines like ttyname() and ptsname() fail, because we'll end
up having ambiguous device numbers.

The conversion was not performed on all *stat() routines, which meant in
some cases the numbers didn't get transformed. By pushing the conversion
into linux_driver_get_major_minor(), the transformation will take place
on all calls.

Approved by:	philip (mentor), rdivacky
</content>
</entry>
<entry>
<title>Implement the linux syscalls</title>
<updated>2008-04-08T09:45:49Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2008-04-08T09:45:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=48b05c3f8217016d464c5cd6dc8e61de1f8eda9c'/>
<id>urn:sha1:48b05c3f8217016d464c5cd6dc8e61de1f8eda9c</id>
<content type='text'>
    openat, mkdirat, mknodat, fchownat, futimesat, fstatat, unlinkat,
    renameat, linkat, symlinkat, readlinkat, fchmodat, faccessat.

Submitted by:	rdivacky
Sponsored by:	Google Summer of Code 2007
Tested by:	pho
</content>
</entry>
<entry>
<title>Add the support for the AT_FDCWD and fd-relative name lookups to the</title>
<updated>2008-03-31T12:01:21Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2008-03-31T12:01:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=57b4252e45134e588365807eef8462db092e0ffb'/>
<id>urn:sha1:57b4252e45134e588365807eef8462db092e0ffb</id>
<content type='text'>
namei(9).

Based on the submission by rdivacky,
	sponsored by Google Summer of Code 2007
Reviewed by:	rwatson, rdivacky
Tested by:	pho
</content>
</entry>
<entry>
<title>Partial MFp4 of 114977:</title>
<updated>2007-02-24T16:49:25Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2007-02-24T16:49:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=802e08a3608afbbb68f9fe21eded08a92ff0308f'/>
<id>urn:sha1:802e08a3608afbbb68f9fe21eded08a92ff0308f</id>
<content type='text'>
	Whitespace commit: Fix grammar, spelling and punctuation.

Submitted by:	"Scot Hetzel" &lt;swhetzel@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add the linux 2.6.x stuff (not used by default!):</title>
<updated>2006-08-15T12:54:30Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2006-08-15T12:54:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9b44bfc5560bf0cf1da18eaadb3a9da279a76efa'/>
<id>urn:sha1:9b44bfc5560bf0cf1da18eaadb3a9da279a76efa</id>
<content type='text'>
 - TLS - complete
 - pid/tid mangling - complete
 - thread area - complete
 - futexes - complete with issues
 - clone() extension - complete with some possible minor issues
 - mq*/timer*/clock* stuff - complete but untested and the mq* stuff is
   disabled when not build as part of the kernel with native FreeBSD mq*
   support (module support for this will come later)

Tested with:
 - linux-firefox - works, tested
 - linux-opera - works, tested
 - linux-realplay - doesnt work, issue with futexes
 - linux-skype - doesnt work, issue with futexes
 - linux-rt2-demo - works, tested
 - linux-acroread - doesnt work, unknown reason (coredump) and sometimes
   issue with futexes
 - various unix utilities in linux-base-gentoo3 and linux-base-fc4:
   everything tried worked

On amd64 not everything is supported like on i386, the catchup is planned for
later when the remaining bugs in the new functions are fixed.

To test this new stuff, you have to run
	sysctl compat.linux.osrelease=2.6.16
to switch back use
	sysctl compat.linux.osrelease=2.4.2

Don't switch while running a linux program, strange things may or may not
happen.

Sponsored by:			Google SoC 2006
Submitted by:			rdivacky
Some suggestions/help by:	jhb, kib, manu@NetBSD.org, netchild
</content>
</entry>
<entry>
<title>Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy.</title>
<updated>2006-05-05T16:10:45Z</updated>
<author>
<name>Doug Ambrisko</name>
<email>ambrisko@FreeBSD.org</email>
</author>
<published>2006-05-05T16:10:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=060e48824720626ae71cbff2328ec91f4aab1839'/>
<id>urn:sha1:060e48824720626ae71cbff2328ec91f4aab1839</id>
<content type='text'>
Add back in a scheme to emulate old type major/minor numbers via hooks into
stat, linprocfs to return major/minors that Linux app's expect.  Currently
only /dev/null is always registered.  Drivers can register via the Linux
type shim similar to the ioctl shim but by using
linux_device_register_handler/linux_device_unregister_handler functions.
The structure is:

    struct linux_device_handler {
        char    *bsd_driver_name;
        char    *linux_driver_name;
        char    *bsd_device_name;
        char    *linux_device_name;
        int     linux_major;
        int     linux_minor;
        int     linux_char_device;
    };

Linprocfs uses this to display the major number of the driver.  The
soon to be available linsysfs will use it to fill in the driver name.
Linux_stat uses it to translate the major/minor into Linux type values.

Note major numbers are dynamically assigned via passing in a -1 for
the major number so we don't need to keep track of them.

This is somewhat needed due to us switching to our devfs.  MegaCli
will not run until I add in the linsysfs and mfi Linux compat changes.

Sponsored by:	IronPort Systems
</content>
</entry>
<entry>
<title>Remove linux_emul_find() and the CHECKALT*() macros as they are no longer</title>
<updated>2005-03-01T17:57:45Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2005-03-01T17:57:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=501ce3056105e2d2b8063e96010fcdf993043a81'/>
<id>urn:sha1:501ce3056105e2d2b8063e96010fcdf993043a81</id>
<content type='text'>
used.
</content>
</entry>
<entry>
<title>Make linux_emul_convpath() a simple wrapper for kern_alternate_path().</title>
<updated>2005-02-07T18:46:05Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2005-02-07T18:46:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=25771ec2a490a9dcf054ac6e31fd6fd878fa7be5'/>
<id>urn:sha1:25771ec2a490a9dcf054ac6e31fd6fd878fa7be5</id>
<content type='text'>
</content>
</entry>
</feed>
