<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat, branch upstream/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-08-08T21:19:57Z</updated>
<entry>
<title>Regenerate for r303857.</title>
<updated>2016-08-08T21:19:57Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-08-08T21:19:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=430c030f8ab2583b889b6fc4c8ffc0e6d6c0c4aa'/>
<id>urn:sha1:430c030f8ab2583b889b6fc4c8ffc0e6d6c0c4aa</id>
<content type='text'>
Approved by:	re (gjb, implicit)
</content>
</entry>
<entry>
<title>Merge r303263:</title>
<updated>2016-08-02T13:57:20Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2016-08-02T13:57:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c4fd22683aa8007b664a15e4014e7dcdd61ab64e'/>
<id>urn:sha1:c4fd22683aa8007b664a15e4014e7dcdd61ab64e</id>
<content type='text'>
  Partially revert r257696/r257713, which have an issue with writing to user
  controlled address. Restore the old code that emulated OSIOCGIFCONF in if.c.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC r302517:</title>
<updated>2016-07-18T16:38:06Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-07-18T16:38:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=94b49ea6f94feee6d2c78627e57f141d98379261'/>
<id>urn:sha1:94b49ea6f94feee6d2c78627e57f141d98379261</id>
<content type='text'>
Fix a copy/paste bug introduced during X86_64 Linuxulator work.
FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation
use READ_IMPLIES_EXEC flag, introduced in r302515.

While here move common part of mmap() and mprotect() code to the files in compat/linux
to reduce code dupcliation between Linuxulator's

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFC r302515:</title>
<updated>2016-07-18T16:34:11Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-07-18T16:34:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ffa95dadf4849b70712c6765a500de1a36505542'/>
<id>urn:sha1:ffa95dadf4849b70712c6765a500de1a36505542</id>
<content type='text'>
Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag.
In Linux if this flag is set, PROT_READ implies PROT_EXEC for mmap().
Linux/i386 set this flag automatically if the binary requires executable stack.

READ_IMPLIES_EXEC flag will be used in the next Linux mmap() commit.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>Fix a bug introduced in r283433.</title>
<updated>2016-06-26T16:59:59Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-06-26T16:59:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3a49978f4536d952bb7d61333d185e1179f98afa'/>
<id>urn:sha1:3a49978f4536d952bb7d61333d185e1179f98afa</id>
<content type='text'>
[1] Remove unneeded sockaddr conversion before kern_recvit() call as the from
argument is used to record result (the source address of the received message) only.

[2] In Linux the type of msg_namelen member of struct msghdr is signed but native
msg_namelen has a unsigned type (socklen_t). So use the proper storage to fetch fromlen
from userspace and than check the user supplied value and return EINVAL if it is less
than 0 as a Linux do.

Reported by:	Thomas Mueller &lt;tmueller at sysgo dot com&gt; [1]
Reviewed by:	kib@
Approved by:	re (gjb, kib)
MFC after:	3 days
</content>
</entry>
<entry>
<title>Regen post r302096 and implement svr4_pipe().</title>
<updated>2016-06-23T00:30:09Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2016-06-23T00:30:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=722bc9c00b4c4d7f5e97a7372c18c0ecf7c87a9f'/>
<id>urn:sha1:722bc9c00b4c4d7f5e97a7372c18c0ecf7c87a9f</id>
<content type='text'>
Approved by:	re (implict, fixing build)
Sponsored by:	DARPA, AFRL
</content>
</entry>
<entry>
<title>Declare a svr4 version of pipe() now that sys_pipe() is no more.</title>
<updated>2016-06-23T00:29:03Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2016-06-23T00:29:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2b4a6471f4436a5773d390c18a340d8018ddd257'/>
<id>urn:sha1:2b4a6471f4436a5773d390c18a340d8018ddd257</id>
<content type='text'>
Approved by:	re (implicit, fixing build)
Sponsored by:	DARPA, AFRL
</content>
</entry>
<entry>
<title>Generate syscall tables and update pipe() implementation after r302094.</title>
<updated>2016-06-22T21:18:19Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2016-06-22T21:18:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a72c64b0b663b58c8e27d16102a61e2daea6dcdc'/>
<id>urn:sha1:a72c64b0b663b58c8e27d16102a61e2daea6dcdc</id>
<content type='text'>
Mark the pipe() system call as COMPAT10.

As of r302092 libc uses pipe2() with a zero flags value instead of pipe().

Approved by:	re (gjb)
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D6816
</content>
</entry>
<entry>
<title>Mark the pipe() system call as COMPAT10.</title>
<updated>2016-06-22T21:15:59Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2016-06-22T21:15:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e16e64098c183a3f9d16d63e2658dc04c070c513'/>
<id>urn:sha1:e16e64098c183a3f9d16d63e2658dc04c070c513</id>
<content type='text'>
As of r302092 libc uses pipe2() with a zero flags value instead of pipe().

Commit with regenerated files and implementation to follow.

Approved by:	re (gjb)
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D6816
</content>
</entry>
<entry>
<title>Update comments for the MD functions managing contexts for new</title>
<updated>2016-06-16T12:05:44Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-06-16T12:05:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c2cf818454375536fda522ba83cf67c50929e6b'/>
<id>urn:sha1:5c2cf818454375536fda522ba83cf67c50929e6b</id>
<content type='text'>
threads, to make it less confusing and using modern kernel terms.

Rename the functions to reflect current use of the functions, instead
of the historic KSE conventions:
  cpu_set_fork_handler -&gt; cpu_fork_kthread_handler (for kthreads)
  cpu_set_upcall -&gt; cpu_copy_thread (for forks)
  cpu_set_upcall_kse -&gt; cpu_set_upcall (for new threads creation)

Reviewed by:	jhb (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Approved by:	re (hrs)
Differential revision:	https://reviews.freebsd.org/D6731
</content>
</entry>
</feed>
