improvements

This commit is contained in:
Jack Bond-Preston 2022-11-21 00:07:45 +00:00
parent 36a1d78ebd
commit f88766280a
Signed by: jack
GPG Key ID: 010071F1482BA852
4 changed files with 24 additions and 3 deletions

View File

@ -200,7 +200,7 @@
</svg> </svg>
</div> </div>
<div class="article"> <div class="article">
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1> <h1><a href="{{ page.url }}">{{ page.title }}</a></a><span class="home-link">[ <a href="/">homepage</a> ]</span></h1>
{{ content }} {{ content }}

View File

@ -3,7 +3,7 @@ layout: default
--- ---
<div class="article"> <div class="article">
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1> <h1><a href="{{ page.url }}">{{ page.title }}</a><span class="home-link">[ <a href="/">homepage</a> ]</span></h1>
{{ content }} {{ content }}

View File

@ -208,7 +208,10 @@ fundamental to the idea of capabilities is their _provenance_ and _monotonicity_
{% highlight plaintext %} {% highlight plaintext %}
(gdb) runStarting program: /root/ptrs_as_numbers-cheribsd (gdb) runStarting program: /root/ptrs_as_numbers-cheribsd
*x=1234 *x=1234
Program received signal SIGPROT, CHERI protection violation.Capability tag fault caused by register ca1.0x0000000000101c66 in main () at ptrs_as_numbers.c:1414 printf("*x=%d\n", *x); Program received signal SIGPROT, CHERI protection violation.
Capability tag fault caused by register ca1.
0x0000000000101c66 in main () at ptrs_as_numbers.c:1414
printf("*x=%d\n", *x);
(gdb) p $ca1 (gdb) p $ca1
$1 = () 0x3fffdfff74 $1 = () 0x3fffdfff74
{% endhighlight %} {% endhighlight %}

View File

@ -102,6 +102,24 @@ li {
.header-link { .header-link {
display: inline-block; display: inline-block;
} }
h1 {
display: flex;
justify-content: space-between;
@media screen and (max-width: 450px) {
display: block;
.home-link {
display: block;
}
}
.home-link {
font-size: 0.5em;
color: $body-color;
}
}
} }
table { table {