<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/compat/svr4, branch stable/10</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F10</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F10'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2018-03-29T22:31:14Z</updated>
<entry>
<title>MF11 r331330: Fix kernel memory disclosure in svr4_sys_getdents64</title>
<updated>2018-03-29T22:31:14Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-03-29T22:31:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=06e5649477c2e1b2c3ccb12bde2a0004fc41b208'/>
<id>urn:sha1:06e5649477c2e1b2c3ccb12bde2a0004fc41b208</id>
<content type='text'>
svr4_sys_getdents64() copies a dirent structure to userland.  When
calculating the record length for any given dirent entry alignment is
performed.  However, the aligned bytes are not cleared, this will
trigger an info leak.

Reported by:	Ilja Van Sprundel &lt;ivansprundel@ioactive.com&gt;
Security:	Kernel memory disclosure (801)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r281436 (by mjg@):</title>
<updated>2017-07-15T17:25:40Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2017-07-15T17:25:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a79cdb4701612026a0db1a04113d4452b201eba4'/>
<id>urn:sha1:a79cdb4701612026a0db1a04113d4452b201eba4</id>
<content type='text'>
fd: remove filedesc argument from fdclose

Just accept a thread instead. This makes it consistent with fdalloc.

No functional changes.
</content>
</entry>
<entry>
<title>MFC 313564:</title>
<updated>2017-05-10T23:09:17Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2017-05-10T23:09:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=48b4feca0f27b3eccc3ca0dcd4b399a8137ad9f9'/>
<id>urn:sha1:48b4feca0f27b3eccc3ca0dcd4b399a8137ad9f9</id>
<content type='text'>
Drop the "created from" line from files generated by makesyscalls.sh.

This information is less useful when the generated files are included in
source control along with the source.  If needed it can be reconstructed
from the $FreeBSD$ tag in the generated file.  Removing this information
from the generated output permits committing the generated files along
with the change to the system call master list without having inconsistent
metadata in the generated files.

Regenerate the affected files along with the MFC.
</content>
</entry>
<entry>
<title>MFC r303464 (by brooks@):</title>
<updated>2017-03-11T08:40:59Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2017-03-11T08:40:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a0ac2faf322415b24beb581f604e1602cb0e6ed4'/>
<id>urn:sha1:a0ac2faf322415b24beb581f604e1602cb0e6ed4</id>
<content type='text'>
Don't create pointless backups of generated files in "make sysent".

Any sensible workflow will include a revision control system from which
to restore the old files if required.  In normal usage, developers just
have to clean up the mess.
</content>
</entry>
<entry>
<title>MFC r298519:</title>
<updated>2016-05-07T08:30:21Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-05-07T08:30:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3fd08254bba8199cb7cc2c9e5b16b83467d5a680'/>
<id>urn:sha1:3fd08254bba8199cb7cc2c9e5b16b83467d5a680</id>
<content type='text'>
Fix streams and svr4 module dependency. Both modules are complaining about
undefined symbol svr4_delete_socket which was moved from streams to the svr4 module
in r160558 that created a two-way dependency between them.

MFC r298520:
Allow to build svr4 module with SYSV support separatelly from the kernel build.

PR:		208464
Reported by:	Kristoffer Eriksson
</content>
</entry>
<entry>
<title>MFC r293613:</title>
<updated>2016-01-16T07:56:49Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-16T07:56:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7e9f9b545f934fa53edc8d9c65d22d71b108781e'/>
<id>urn:sha1:7e9f9b545f934fa53edc8d9c65d22d71b108781e</id>
<content type='text'>
Implement vsyscall hack. Prior to 2.13 glibc uses vsyscall
instead of vdso. An upcoming linux_base-c6 needs it.
</content>
</entry>
<entry>
<title>MFC r283382:</title>
<updated>2016-01-09T14:53:08Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T14:53:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=165fecf9b441fb8610fbaa2248d0f2ee7cbd9b3b'/>
<id>urn:sha1:165fecf9b441fb8610fbaa2248d0f2ee7cbd9b3b</id>
<content type='text'>
In preparation for switching linuxulator to the use the native 1:1
threads add a hook for cleaning thread resources before the thread die.
</content>
</entry>
<entry>
<title>To facillitate an upcoming Linuxulator merging partially</title>
<updated>2016-01-09T14:08:10Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T14:08:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b93aba7ff265c4e55fa56d05e9a1ead47f4e2fb4'/>
<id>urn:sha1:b93aba7ff265c4e55fa56d05e9a1ead47f4e2fb4</id>
<content type='text'>
MFC r275121 (by kib). Only merge the syntax changes from r275121,
PROC_*LOCK() macros still lock the same proc spinlock.

The process spin lock currently has the following distinct uses:

- Threads lifetime cycle, in particular, counting of the threads in
  the process, and interlocking with process mutex and thread lock.
  The main reason of this is that turnstile locks are after thread
  locks, so you e.g. cannot unlock blockable mutex (think process
  mutex) while owning thread lock.

- Virtual and profiling itimers, since the timers activation is done
  from the clock interrupt context.  Replace the p_slock by p_itimmtx
  and PROC_ITIMLOCK().

- Profiling code (profil(2)), for similar reason.  Replace the p_slock
  by p_profmtx and PROC_PROFLOCK().

- Resource usage accounting.  Need for the spinlock there is subtle,
  my understanding is that spinlock blocks context switching for the
  current thread, which prevents td_runtime and similar fields from
  changing (updates are done at the mi_switch()).  Replace the p_slock
  by p_statmtx and PROC_STATLOCK().

Discussed with:	kib
</content>
</entry>
<entry>
<title>MFC r282708:</title>
<updated>2015-05-24T07:32:02Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2015-05-24T07:32:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8137d23074ff59b6b6265eff815abe540b1f45f5'/>
<id>urn:sha1:8137d23074ff59b6b6265eff815abe540b1f45f5</id>
<content type='text'>
On exec, single-threading must be enforced before arguments space is
allocated from exec_map.
</content>
</entry>
<entry>
<title>Merge r263233 from HEAD to stable/10:</title>
<updated>2015-03-19T13:37:36Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2015-03-19T13:37:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8c0b8b26921d2b7336f487bf71f7bf9e555e374e'/>
<id>urn:sha1:8c0b8b26921d2b7336f487bf71f7bf9e555e374e</id>
<content type='text'>
  Update kernel inclusions of capability.h to use capsicum.h instead; some
  further refinement is required as some device drivers intended to be
  portable over FreeBSD versions rely on __FreeBSD_version to decide whether
  to include capability.h.

Sponsored by:	Google, Inc.
</content>
</entry>
</feed>
