<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc/sysdeps/mach/include, branch master</title>
<subtitle>Fork of glibc for development</subtitle>
<id>https://git.zx2c4.com/glibc/atom/sysdeps/mach/include?h=master</id>
<link rel='self' href='https://git.zx2c4.com/glibc/atom/sysdeps/mach/include?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/'/>
<updated>2023-05-01T00:24:04Z</updated>
<entry>
<title>Define __mig_strlen to support dynamically sized strings in hurd RPCs</title>
<updated>2023-05-01T00:24:04Z</updated>
<author>
<name>Flavio Cruz</name>
<email>flaviocruz@gmail.com</email>
</author>
<published>2023-05-01T00:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=eb14819c14d190830df673c9a3089d82d6b7b8f7'/>
<id>urn:sha1:eb14819c14d190830df673c9a3089d82d6b7b8f7</id>
<content type='text'>
We make lib{mach,hurd}user.so only call __mig_strlen which can be
relocated before libc.so is relocated, similar to what is done with
__mig_memcpy.
Message-Id: &lt;ZE8DTRDpY2hpPZlJ@jupiter.tail36e24.ts.net&gt;
</content>
</entry>
<entry>
<title>hurd: break relocation loop between libc.so and lib{mach,hurd}user.so</title>
<updated>2020-11-13T23:52:52Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2020-11-13T15:56:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=56010b73e81e2cb1082e418699f98353598fe671'/>
<id>urn:sha1:56010b73e81e2cb1082e418699f98353598fe671</id>
<content type='text'>
See
https://sourceware.org/pipermail/libc-alpha/2020-November/119575.html

lib{mach,hurd}user.so gets relocated before libc.so, but its references
to strpcpy and memcpy would need an ifunc decision, which e.g. on
x86 relies on cpu_features, but libc.so's _rtld_global_ro is not
relocated yet.

We can however just make lib{mach,hurd}user.so only call non-ifunc
functions, which can be relocated before libc.so is relocated.
</content>
</entry>
<entry>
<title>hurd: Fix installed-headers tests</title>
<updated>2018-07-20T01:28:08Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2018-07-20T01:00:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=8ba1520e8c72ad0e2a33235625b37002c2715706'/>
<id>urn:sha1:8ba1520e8c72ad0e2a33235625b37002c2715706</id>
<content type='text'>
	* sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Do not
	declare libc hidden prototypes.
	* sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
</content>
</entry>
<entry>
<title>hurd: Avoid PLT references to syscalls</title>
<updated>2018-06-16T00:50:36Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2018-06-16T00:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=b0344cf5c55b4ca83f383c7a1896a016dfe66687'/>
<id>urn:sha1:b0344cf5c55b4ca83f383c7a1896a016dfe66687</id>
<content type='text'>
	* mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
	* sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
	__mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
	__swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
</content>
</entry>
<entry>
<title>hurd: Avoid PLT ref to __mach_msg</title>
<updated>2018-06-16T00:50:30Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2018-06-16T00:35:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=7a646a93fadef8841c724501fe723b383069191e'/>
<id>urn:sha1:7a646a93fadef8841c724501fe723b383069191e</id>
<content type='text'>
	* sysdeps/mach/include/mach.h (__mach_msg): Add hidden prototype.
	* mach/msg.c: Include &lt;mach.h&gt;.
	(__mach_msg): Add hidden definition.
</content>
</entry>
<entry>
<title>hurd: Avoid PLT references to shortcuts</title>
<updated>2018-06-16T00:48:41Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2018-06-16T00:19:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=c1b7586c544957998c0f53711fa91e5de72cc819'/>
<id>urn:sha1:c1b7586c544957998c0f53711fa91e5de72cc819</id>
<content type='text'>
	* sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
	* mach/shortcut.awk: Make syscall stubs include
	&lt;mach-shortcuts-hidden.h&gt; and add hidden definition.
	* sysdeps/mach/include/mach.h: Include &lt;mach-shortcuts-hidden.h&gt;.
</content>
</entry>
<entry>
<title>hurd: Fix htl link failure</title>
<updated>2018-06-14T15:09:18Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2018-06-14T15:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=c596630bbdcab1520f0f2ebe065bc7b7eb508e99'/>
<id>urn:sha1:c596630bbdcab1520f0f2ebe065bc7b7eb508e99</id>
<content type='text'>
126b3ec370f0 ("hurd: Avoid PLTs for __mach_thread_self and
__mach_reply_port") made mach traps hidden, but htl actually uses two of
them. Re-expose them for now. Exposing them properly will be more involved
since their definition is generated.

	* sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
	__mach_task_self): Remove attribute_hidden.
</content>
</entry>
<entry>
<title>hurd: Avoid PLTs for __mach_thread_self and __mach_reply_port</title>
<updated>2018-06-13T23:01:57Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2018-06-13T23:01:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=126b3ec370f0fa8ecbbce27c8c4b621b1ce6f02d'/>
<id>urn:sha1:126b3ec370f0fa8ecbbce27c8c4b621b1ce6f02d</id>
<content type='text'>
	* mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
	__mach_task_self, __mach_host_self, __swtch, __swtch_pri,
	__thread_switch, __evc_wait): Move declarations to...
	* sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
	attribute_hidden.
</content>
</entry>
<entry>
<title>Revert "hurd: Fix mach installed headers test"</title>
<updated>2018-04-19T23:27:13Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2018-04-19T22:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=c5896a459543725dbca49ee894fd85b2f105ce6f'/>
<id>urn:sha1:c5896a459543725dbca49ee894fd85b2f105ce6f</id>
<content type='text'>
This reverts commit d4379e0216d01fd1395b1f3b37255e3486760135: the proper
headers are actually already getting installed.
</content>
</entry>
<entry>
<title>hurd: Fix spurious installation of headers defining hidden prototypes</title>
<updated>2018-04-18T00:07:17Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2018-04-18T00:07:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=c4375964dbf8194375a351b0d34ad9be5d4bda3b'/>
<id>urn:sha1:c4375964dbf8194375a351b0d34ad9be5d4bda3b</id>
<content type='text'>
	* sysdeps/mach/include/lock-intern.h: Move to include/.
	* sysdeps/mach/include/mach.h: Move to include/.
	* sysdeps/mach/include/mach/mig_support.h: Move to include/mach/.
	* sysdeps/mach/include/mach_error.h: Move to include/.
</content>
</entry>
</feed>
