<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec, branch release/8.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F8.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F8.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-10-20T13:26:58Z</updated>
<entry>
<title>MFC r197931:</title>
<updated>2009-10-20T13:26:58Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-10-20T13:26:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b6124fac40e3946f52439be7261305c7e874afe2'/>
<id>urn:sha1:b6124fac40e3946f52439be7261305c7e874afe2</id>
<content type='text'>
Apply relocations for PIE binary ELF data structures pointers in rtld.

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC r196787</title>
<updated>2009-09-07T14:10:55Z</updated>
<author>
<name>Remko Lodder</name>
<email>remko@FreeBSD.org</email>
</author>
<published>2009-09-07T14:10:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=07c141a646dc3d416d70e8feb751e2a4089b9e4f'/>
<id>urn:sha1:07c141a646dc3d416d70e8feb751e2a4089b9e4f</id>
<content type='text'>
  Do the first step in removing lukemftpd from the base system. Disconnect
  it from the build.

  If you are using the FTP daemon, please consider using the port ftp/tnftpd
  which is the same FTP server, but newer and might have more/better
  functionality.

  This results in us providing only one ftp daemon by default.

  Reviewed by:        bz
  Approved by:        imp (mentor, implicit)
  MFC after:        3 days
  Silence from:        obrien

Approved by:	re (kib), imp (mentor, implicit)
</content>
</entry>
<entry>
<title>Implement RTLD_NOLOAD flag for dlopen(3).</title>
<updated>2009-07-17T19:45:42Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-07-17T19:45:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49e8c06b454b9a37d48ea7c1c47fdf7230acafb9'/>
<id>urn:sha1:49e8c06b454b9a37d48ea7c1c47fdf7230acafb9</id>
<content type='text'>
Requested and tested by:	jkim
Reviewed by:	kan
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Only perform .bss mapping and cleaning operations when segment file size</title>
<updated>2009-07-17T19:32:04Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-07-17T19:32:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=69ca61ba5e482dda9410c227ca300218bf56c95a'/>
<id>urn:sha1:69ca61ba5e482dda9410c227ca300218bf56c95a</id>
<content type='text'>
is not equal to its memory size.

This eliminates unneeded clearing of the text segment that often
happens due to text end not being page-aligned.

For instance,
$ readelf -l /lib/libedit.so.6
Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000000 0x00000000 0x00000000 0x139e1 0x139e1 R E 0x1000
  LOAD           0x014000 0x00014000 0x00014000 0x00f04 0x00f14 RW  0x1000
  DYNAMIC        0x014cc4 0x00014cc4 0x00014cc4 0x000d0 0x000d0 RW  0x4
$ procstat -v $$ (for /bin/sh)
68585 0x28097000 0x280aa000 r-x    6    0  21  14 CN vn /lib/libedit.so.6
68585 0x280aa000 0x280ab000 r-x    1    0   1   0 CN vn /lib/libedit.so.6 &lt;==
68585 0x280ab000 0x280ac000 rwx    1    0   1   0 CN vn /lib/libedit.so.6
Note the splitted map entry marked by '&lt;=='.

Reviewed by:	kan
Approved by:	re (kensmith)
MFC after:	1 month
</content>
</entry>
<entry>
<title>Second attempt at eliminating .text relocations in shared libraries</title>
<updated>2009-07-14T21:19:13Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2009-07-14T21:19:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2286fe763592aa13d320186bf3e233a560af749b'/>
<id>urn:sha1:2286fe763592aa13d320186bf3e233a560af749b</id>
<content type='text'>
compiled with stack protector.

Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC
generates local calls to this function which result in absolute
relocations put into position-independent code segment, making dynamic
loader do extra work every time given shared library is being relocated
and making affected text pages non-shareable.

Reviewed by:        kib
Approved by:        re (kib)
</content>
</entry>
<entry>
<title>Back out previous revision until better tested fix is ready.</title>
<updated>2009-06-29T01:33:59Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2009-06-29T01:33:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d48890cfb8cf92f9f2d49763781b20fd01e1e9d4'/>
<id>urn:sha1:d48890cfb8cf92f9f2d49763781b20fd01e1e9d4</id>
<content type='text'>
Approved by: re (impliciti, by approving previos check-in)
</content>
</entry>
<entry>
<title>Eliminate .text relocations in shared libraries compiled with stack protector.</title>
<updated>2009-06-28T23:51:39Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2009-06-28T23:51:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a162c9ae9c55a9593b15ef618f4df0a045e39dbd'/>
<id>urn:sha1:a162c9ae9c55a9593b15ef618f4df0a045e39dbd</id>
<content type='text'>
Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC generates
local calls to this function which result in absolute relocations put into
position-independent code segment, making dynamic loader do extra work everys
time given shared library is being relocated and making affected text pages
non-shareable.

Reviewed by:        kib
Approved by:        re (kensmith)
</content>
</entry>
<entry>
<title>Fix a typo in the same comment, one line below.</title>
<updated>2009-06-23T14:12:49Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-06-23T14:12:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=26d0788e89d872ccbfe8d28412972e50f19d0b43'/>
<id>urn:sha1:26d0788e89d872ccbfe8d28412972e50f19d0b43</id>
<content type='text'>
Submitted by:	bf1783 googlemail com
</content>
</entry>
<entry>
<title>Fix typo in comment.</title>
<updated>2009-06-23T09:50:50Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-06-23T09:50:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=75b872ee53cd9d08ef38cdd78aa22b78304ce1bb'/>
<id>urn:sha1:75b872ee53cd9d08ef38cdd78aa22b78304ce1bb</id>
<content type='text'>
Submitted by:	Christoph Mallon
</content>
</entry>
<entry>
<title>Allow order of initialization of loaded shared objects to be</title>
<updated>2009-06-20T14:16:41Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2009-06-20T14:16:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6c3154f6a1243d7ab8832c46dd6853aba514739a'/>
<id>urn:sha1:6c3154f6a1243d7ab8832c46dd6853aba514739a</id>
<content type='text'>
altered through their .init code. This might happen if init
vector calls dlopen on its own and that dlopen causes some not
yet initialized object to be initialized earlier as part of that
dlopened DAG.

Do not reset module reference counts to zero on final fini vector
run when process is exiting. Just add an additional parameter to
force fini vector invocation regardless of current reference count
value if object was not destructed yet. This allows dlclose called
from fini vector to proceed normally instead of failing with handle
validation error.

Reviewed by:	kib
Reported by:	venki kaps
</content>
</entry>
</feed>
