<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc.git, branch arm/gcs</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/'/>
<entry>
<title>doc: Add plain text readme for using GCS</title>
<updated>2024-07-08T08:41:45+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2024-02-14T15:06:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=9ccf7a55c52671b905e5536b3eae827e11584754'/>
<id>9ccf7a55c52671b905e5536b3eae827e11584754</id>
<content type='text'>
TODO: this is just for the arm/gcs branch while it is being developed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TODO: this is just for the arm/gcs branch while it is being developed
</pre>
</div>
</content>
</entry>
<entry>
<title>aarch64: Process gnu properties in static exe</title>
<updated>2024-07-08T08:41:45+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2023-12-27T17:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=435305562edf4eb26a2a13856dd4847665f81175'/>
<id>435305562edf4eb26a2a13856dd4847665f81175</id>
<content type='text'>
Unlike for BTI, the kernel does not process GCS properties so update
GL(dl_aarch64_gcs) before the GCS status is set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unlike for BTI, the kernel does not process GCS properties so update
GL(dl_aarch64_gcs) before the GCS status is set.
</pre>
</div>
</content>
</entry>
<entry>
<title>aarch64: Ignore GCS property of ld.so</title>
<updated>2024-07-08T08:41:45+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2024-01-10T16:20:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=e6b927e2f90c2e1739a65fdc3b13de3a51426320'/>
<id>e6b927e2f90c2e1739a65fdc3b13de3a51426320</id>
<content type='text'>
check_gcs is called for each dependency of a DSO, but the GNU property
of the ld.so is not processed so ldso-&gt;l_mach.gcs may not be correct.
Just assume ld.so is GCS compatible independently of the ELF marking.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
check_gcs is called for each dependency of a DSO, but the GNU property
of the ld.so is not processed so ldso-&gt;l_mach.gcs may not be correct.
Just assume ld.so is GCS compatible independently of the ELF marking.
</pre>
</div>
</content>
</entry>
<entry>
<title>aarch64: Use l_searchlist.r_list for gcs</title>
<updated>2024-07-08T08:41:45+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2023-12-28T18:32:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=cb02a617fbd9591e4c78d3f9e5135e499a4dca30'/>
<id>cb02a617fbd9591e4c78d3f9e5135e499a4dca30</id>
<content type='text'>
Allows using the same function for static exe.

TODO: not clear if the two are always equivalent other than the
ordering and in case of static linking when dl-support.c leaves
l_initfini NULL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allows using the same function for static exe.

TODO: not clear if the two are always equivalent other than the
ordering and in case of static linking when dl-support.c leaves
l_initfini NULL.
</pre>
</div>
</content>
</entry>
<entry>
<title>aarch64: Handle gcs marking</title>
<updated>2024-07-08T08:41:45+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2023-12-21T23:05:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=6482ac2a5e57bb19ad0631f1ae02bf30119058f9'/>
<id>6482ac2a5e57bb19ad0631f1ae02bf30119058f9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>aarch64: Use l_searchlist.r_list for bti</title>
<updated>2024-07-08T08:41:45+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2023-12-28T18:31:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=47e778b4e0f3c538ab1f6845056cdf115abe4c89'/>
<id>47e778b4e0f3c538ab1f6845056cdf115abe4c89</id>
<content type='text'>
Allows using the same function for static exe.

TODO: not clear if the two are always equivalent other than the
ordering and in case of static linking when dl-support.c leaves
l_initfini NULL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allows using the same function for static exe.

TODO: not clear if the two are always equivalent other than the
ordering and in case of static linking when dl-support.c leaves
l_initfini NULL.
</pre>
</div>
</content>
</entry>
<entry>
<title>aarch64: Add glibc.cpu.aarch64_gcs_policy</title>
<updated>2024-07-08T08:41:44+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2023-12-21T15:14:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=f149acd167e49f09afc0402c7bc0aaead94e963a'/>
<id>f149acd167e49f09afc0402c7bc0aaead94e963a</id>
<content type='text'>
policy sets how gcs tunable and gcs marking turns into gcs state:

0: state = tunable
1: state = marking ? tunable : (tunable &amp;&amp; dlopen ? err : 0)
2: state = marking ? tunable : (tunable ? err : 0)

TODO: state lock, default policy
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
policy sets how gcs tunable and gcs marking turns into gcs state:

0: state = tunable
1: state = marking ? tunable : (tunable &amp;&amp; dlopen ? err : 0)
2: state = marking ? tunable : (tunable ? err : 0)

TODO: state lock, default policy
</pre>
</div>
</content>
</entry>
<entry>
<title>aarch64: Mark objects with GCS property note</title>
<updated>2024-07-08T08:41:44+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2023-12-22T12:29:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=4749a0c86aa030348fc44138ea8772bb3a4d075c'/>
<id>4749a0c86aa030348fc44138ea8772bb3a4d075c</id>
<content type='text'>
TODO: binutils config check
TODO: build attributes instead of gnu property
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TODO: binutils config check
TODO: build attributes instead of gnu property
</pre>
</div>
</content>
</entry>
<entry>
<title>aarch64: Enable GCS in dynamic linked exe</title>
<updated>2024-07-08T08:41:44+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2023-07-14T14:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=01204afc0d82e3fc47a65a3f6330c09d8e7459ee'/>
<id>01204afc0d82e3fc47a65a3f6330c09d8e7459ee</id>
<content type='text'>
Use the dynamic linker start code to enable GCS in the dynamic linked
case after _dl_start returns and before _dl_start_user which marks
the point after which user code may run.

Like in the static linked case this ensures that GCS is enabled on a
top level stack frame.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the dynamic linker start code to enable GCS in the dynamic linked
case after _dl_start returns and before _dl_start_user which marks
the point after which user code may run.

Like in the static linked case this ensures that GCS is enabled on a
top level stack frame.
</pre>
</div>
</content>
</entry>
<entry>
<title>aarch64: Enable GCS in static linked exe</title>
<updated>2024-07-08T08:41:44+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>szabolcs.nagy@arm.com</email>
</author>
<published>2023-07-13T06:22:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=a289e5dea083955eefbea82062d567a5c8026388'/>
<id>a289e5dea083955eefbea82062d567a5c8026388</id>
<content type='text'>
Use the ARCH_SETUP_TLS hook to enable GCS in the static linked case.
The system call must be inlined and then GCS is enabled on a top
level stack frame that does not return and has no exception handlers
above it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the ARCH_SETUP_TLS hook to enable GCS in the static linked case.
The system call must be inlined and then GCS is enabled on a top
level stack frame that does not return and has no exception handlers
above it.
</pre>
</div>
</content>
</entry>
</feed>
