<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_ioctl.c, branch releng/7.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-06-11T18:39:31Z</updated>
<entry>
<title>MFC r192899: linux_ioctl_cdrom: reduce stack usage</title>
<updated>2009-06-11T18:39:31Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2009-06-11T18:39:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a22f3d4779b80389579bd88859cb106ce26d10ec'/>
<id>urn:sha1:a22f3d4779b80389579bd88859cb106ce26d10ec</id>
<content type='text'>
Approved by:	jhb (mentor)
</content>
</entry>
<entry>
<title>MFC r191876:</title>
<updated>2009-06-06T10:55:11Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-06-06T10:55:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=882b23954db80341c6e0d371be38fddc60946e87'/>
<id>urn:sha1:882b23954db80341c6e0d371be38fddc60946e87</id>
<content type='text'>
To avoid excessive code duplication move MI definitions to the MI
header file. As it is defined in Linux.

Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>MFC rev. 1.139 of src/sys/compat/linux/linux_ioctl.c,</title>
<updated>2007-11-15T10:38:06Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2007-11-15T10:38:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e7e238d97205f288a477ece4d62aaf0b993c1f41'/>
<id>urn:sha1:e7e238d97205f288a477ece4d62aaf0b993c1f41</id>
<content type='text'>
    rev. 1.27 of src/sys/compat/linux/linux_ioctl.h:

Implement  LINUX_SIOCGIFCOUNT and LINUX_SIOCGIFINDEX/LINUX_SIOGIFINDEX.

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Add the CAM 'SG' peripheral device.  This device implements a subset of the</title>
<updated>2007-04-07T19:40:58Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2007-04-07T19:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1eba4c794853ba782d5ddadc53793465f0b62570'/>
<id>urn:sha1:1eba4c794853ba782d5ddadc53793465f0b62570</id>
<content type='text'>
Linux SCSI SG passthrough device API.  The intention is to allow for both
running of Linux apps that want to talk to /dev/sg* nodes, and to facilitate
porting of apps from Linux to FreeBSD.  As such, both native and linuxolator
entry points and definitions are provided.

Caveats:
 - This does not support the procfs and sysfs nodes that the Linux SG
   driver provides.  Some Linux apps may rely on these for operation,
   others may only use them for informational purposes.
 - More ioctls need to be implemented.
 - Linux uses a naming scheme of "sg[a-z]" for devices, while FreeBSD uses a
   scheme of "sg[0-9]".  Devfs aliasis (symlinks) are automatically created
   to link the two together.  However, tools like camcontrol only see the
   native names.
 - Some operations were originally designed to return byte counts or other
   data directly as the syscall return value.  The linuxolator doesn't appear
   to support this well, so this driver just punts for these cases.

Now that the driver is in place, others are welcome to add missing
functionality.  Thanks to Roman Divacky for pushing this work along.
</content>
</entry>
<entry>
<title>- Protect the list of linux ioctl handlers with an sx lock.</title>
<updated>2006-07-06T21:42:36Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2006-07-06T21:42:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ad6d226d438107f16b5c8204ca7105343d5aa0ce'/>
<id>urn:sha1:ad6d226d438107f16b5c8204ca7105343d5aa0ce</id>
<content type='text'>
- Hold Giant while calling linux ioctl handlers for now as they aren't all
  known to be MPSAFE yet.
- Mark linux_ioctl() MPSAFE.
</content>
</entry>
<entry>
<title>Now that we don't have a linuxolator on alpha anymore:</title>
<updated>2006-05-10T20:38:16Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2006-05-10T20:38:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=01e0ffbae840faf42c8d1cd9326ec2b586772e92'/>
<id>urn:sha1:01e0ffbae840faf42c8d1cd9326ec2b586772e92</id>
<content type='text'>
 - unifdef __alpha__
 - revert rev. 1.66 of linux_socket.c
</content>
</entry>
<entry>
<title>Unbreak COMPAT_LINUX32 option support on amd64.</title>
<updated>2006-03-19T11:10:33Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-03-19T11:10:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aefce619cfd20278ca90e84535ae56e8264063b2'/>
<id>urn:sha1:aefce619cfd20278ca90e84535ae56e8264063b2</id>
<content type='text'>
Broken by:	netchild
</content>
</entry>
<entry>
<title>Fixup some problems in my previous commit (COMPAT_43).</title>
<updated>2006-03-18T20:47:36Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2006-03-18T20:47:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d4a3f5ddb67c4b2463330f2aa998a503383caf88'/>
<id>urn:sha1:d4a3f5ddb67c4b2463330f2aa998a503383caf88</id>
<content type='text'>
Pointyhat to:	netchild
</content>
</entry>
<entry>
<title>Get rid of the need of COMPAT_43 in the linuxolator.</title>
<updated>2006-03-18T18:20:17Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2006-03-18T18:20:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c8919adf42db11b7af50afde07a570d2749497a'/>
<id>urn:sha1:5c8919adf42db11b7af50afde07a570d2749497a</id>
<content type='text'>
Submitted by:	Divacky Roman &lt;xdivac02@stud.fit.vutbr.cz&gt;
Obtained from:	DragonFly (some parts)
</content>
</entry>
<entry>
<title>Linux compat bits needed to make linux programs use the new ptys :</title>
<updated>2006-01-26T01:32:46Z</updated>
<author>
<name>Olivier Houchard</name>
<email>cognet@FreeBSD.org</email>
</author>
<published>2006-01-26T01:32:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e83d253beb74ae6c8149b34f65fb76f2e665f15f'/>
<id>urn:sha1:e83d253beb74ae6c8149b34f65fb76f2e665f15f</id>
<content type='text'>
linux_ioctl.[ch] : Implement LINUX_TIOCGPTN, which returns the pty number
linux_stats.c :
	- Return the magic number for devfs.
	- In various stats()-related functions, check that we're stating a
file in /dev/pts, and if so, change the st_rdev field to match what linux
expects to be there for a slave pty device. The glibc checks for this, and
their openpty() fails if it is no correct.
</content>
</entry>
</feed>
