Skip to content

Commit

Permalink
fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
mudongliang committed Apr 6, 2024
2 parents 6701da1 + fddd976 commit aa60708
Show file tree
Hide file tree
Showing 56 changed files with 69 additions and 66 deletions.
5 changes: 3 additions & 2 deletions pages/src/components/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@ import { slugifyStr } from "@utils/slugify";
import type { CollectionEntry } from "astro:content";

export interface Props {
id?: string;
href?: string;
frontmatter: CollectionEntry<"posts">["data"];
secHeading?: boolean;
body?: string;
}

export default function Card({ href, frontmatter, secHeading = true, body }: Props) {
export default function Card({ id, href, frontmatter, secHeading = true, body }: Props) {
const {
title,
status,
} = frontmatter;

const headerProps = {
style: { viewTransitionName: slugifyStr(title) },
style: { viewTransitionName: slugifyStr(id || title) },
className: "text-lg font-medium decoration-dashed hover:underline",
};

Expand Down
4 changes: 3 additions & 1 deletion pages/src/layouts/PostDetails.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export interface Props {
const { post } = Astro.props;
const { id } = post;
const { title, author, collected_date, collector, translated_date, translator, link, proofreader, proofread_date, publisher, published_date } = post.data;
const { Content } = await post.render();
Expand Down Expand Up @@ -51,7 +53,7 @@ const layoutProps = {
</button>
</div>
<main id="main-content">
<h1 transition:name={slugifyStr(title)} class="post-title">{title}</h1>
<h1 transition:name={slugifyStr(id || title)} class="post-title">{title}</h1>
<!-- <Datetime -->
<!-- pubDatetime={pubDatetime} -->
<!-- modDatetime={modDatetime} -->
Expand Down
4 changes: 2 additions & 2 deletions pages/src/layouts/Posts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function getStyle(tabStatus: string) {
</nav>
<ul>
{
paginatedPosts.map(({ data, slug, body }) => (
<Card href={`/posts/${slug}/`} frontmatter={data} body={body} />
paginatedPosts.map(({ id, data, slug, body }) => (
<Card id={id} href={`/posts/${slug}/`} frontmatter={data} body={body} />
))
}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/adding_new_os_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Adding new OS support"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/adding_new_os_support.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/akaros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Akaros support"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/akaros/README.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/akaros/found_bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: translated
title: "Found bugs"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: shandianchengzi
translated_date: 20240317
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Continuous integration fuzzing"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/ci.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Configuration"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/configuration.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "How to contribute to syzkaller"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/contributing.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/darwin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Darwin/XNU"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/darwin/README.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/darwin/found_bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: translated
title: "Found bugs"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: Eliza
translated_date: 20240331
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/found_bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Found bugs"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/found_bugs.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/freebsd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "FreeBSD"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/freebsd/README.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/freebsd/found_bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Found Bugs"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/freebsd/found_bugs.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/fuchsia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Fuchsia support"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/fuchsia/README.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/gvisor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "gVisor"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/gvisor/README.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/hafnium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Hafnium"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/hafnium/README.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/hub.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Connecting several managers via Hub"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/hub.md
---
Expand Down
6 changes: 3 additions & 3 deletions sources/syzkaller/linux/external_fuzzing_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
status: translated
title: "External network fuzzing for Linux kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: squirrel_sch
translator: squirrelsss
translated_date: 20240317
link: https://github.com/google/syzkaller/blob/master/docs/linux/external_fuzzing_network.md
---
Expand Down Expand Up @@ -79,4 +79,4 @@ r3 = accept$inet6(r0, &(0x7f0000004000)={0x0, 0x0, 0x0, @empty={[0x0, 0x0, 0x0,
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::20001 :::* LISTEN 5527/a.out
tcp6 0 0 fe80::aa:20001 fe80::bb:20000 ESTABLISHED 5527/a.out
```
```
2 changes: 1 addition & 1 deletion sources/syzkaller/linux/external_fuzzing_usb.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Internals"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/linux/external_fuzzing_usb.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/linux/external_fuzzing_usbip.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "USB/IP Fuzzing for Linux Kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/linux/external_fuzzing_usbip.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/linux/found_bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Found bugs"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/linux/found_bugs.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/linux/found_bugs_usb.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Found Linux kernel USB bugs"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/linux/found_bugs_usb.md
---
Expand Down
4 changes: 2 additions & 2 deletions sources/syzkaller/linux/internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
status: proofread
title: "Linux-specific syzkaller internals"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: hust_cmx_18
translator: Earlystarry
translated_date: 20240317
proofreader: mudongliang
proofread_date: 20240405
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/linux/reporting_kernel_bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: translating
title: "Reporting Linux kernel bugs"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: Ecila01
link: https://github.com/google/syzkaller/blob/master/docs/linux/reporting_kernel_bugs.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: translating
title: "Setup: Linux host, Android device, arm32/64 kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: Athanlaich
link: https://github.com/google/syzkaller/blob/master/docs/linux/setup_linux-host_android-device_arm-kernel.md
Expand Down
6 changes: 3 additions & 3 deletions sources/syzkaller/linux/setup_linux-host_isolated.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
status: translated
title: "Setup: Linux isolated host"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translater: xiaobor
translater: xiaobor123
translate_data: 20240317
link: https://github.com/google/syzkaller/blob/master/docs/linux/setup_linux-host_isolated.md
---
Expand Down Expand Up @@ -104,4 +104,4 @@ Host *
``` bash
./bin/syz-manager -config=my.cfg
```
如果在启动 syz-manager 后遇到问题,请考虑使用 -debug 标志运行它。同时参阅[此页面](/docs/troubleshooting.md)以获取故障排除提示。
如果在启动 syz-manager 后遇到问题,请考虑使用 -debug 标志运行它。同时参阅[此页面](/docs/troubleshooting.md)以获取故障排除提示。
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: translating
title: "Setup: Debian host, QEMU vm, arm kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: apowerfulmei
link: https://github.com/google/syzkaller/blob/master/docs/linux/setup_linux-host_qemu-vm_arm-kernel.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: translated
title: "Setup: Linux host, QEMU vm, arm64 kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: Gskh3450
translated_date: 20240317
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Setup: Debian/Ubuntu host, QEMU vm, riscv64 kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/linux/setup_linux-host_qemu-vm_riscv64-kernel.md
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: translated
title: "Setup: Debian/Ubuntu/Fedora host, QEMU vm, s390x kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: xin-zheqi
translated_date: 20240317
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Setup: Ubuntu host, Odroid C2 board, arm64 kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/linux/setup_ubuntu-host_odroid-c2-board_arm64-kernel.md
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Setup: Ubuntu host, QEMU vm, x86-64 kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Setup: Ubuntu host, VMware vm, x86-64 kernel"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/linux/setup_ubuntu-host_vmware-vm_x86-64-kernel.md
---
Expand Down
6 changes: 3 additions & 3 deletions sources/syzkaller/linux/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
status: proofread
title: "Troubleshooting"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
translator: renxiaohust
translator: Ren Xiao
translated_date: 20240317
proofreader: mudongliang
proofread_date: 20240406
Expand Down Expand Up @@ -74,4 +74,4 @@ link: https://github.com/google/syzkaller/blob/master/docs/linux/troubleshooting

也可以查看[此处](https://github.com/google/syzkaller/docs/troubleshooting.md)了解通用的故障排除建议。

如果以上方法都没有帮助,请在[错误追踪器](https://github.com/google/syzkaller/issues)上提交错误,或直接通过 [email protected] 邮件列表询问我们。请在问题中包含您使用的 syzkaller 版本和 `-debug` 标志启用时的 `syz-manager` 输出(如果适用的话)。
如果以上方法都没有帮助,请在[错误追踪器](https://github.com/google/syzkaller/issues)上提交错误,或直接通过 [email protected] 邮件列表询问我们。请在问题中包含您使用的 syzkaller 版本和 `-debug` 标志启用时的 `syz-manager` 输出(如果适用的话)。
2 changes: 1 addition & 1 deletion sources/syzkaller/linux/wifi_fuzzing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Wifi fuzzing"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/linux/wifi_fuzzing.md
---
Expand Down
2 changes: 1 addition & 1 deletion sources/syzkaller/maintaining.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: collected
title: "Maintainer's Guide"
author: Syzkaller Community
collector: chengziqiu
collector: jxlpzqc
collected_date: 20240314
link: https://github.com/google/syzkaller/blob/master/docs/maintaining.md
---
Expand Down
Loading

0 comments on commit aa60708

Please sign in to comment.