Skip to content

Instantly share code, notes, and snippets.

View yskzalloc's full-sized avatar
🏠
Working from home

Yunseong Kim yskzalloc

🏠
Working from home
View GitHub Profile
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 6.15.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="Ubuntu clang version 20.1.8 (0ubuntu4)"
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
CONFIG_CLANG_VERSION=200108
CONFIG_AS_IS_LLVM=y
CONFIG_AS_VERSION=200108
@yskzalloc
yskzalloc / install-debug-symbols.sh
Last active January 12, 2026 15:29 — forked from cantremember/install-debug-symbols.sh
Installing debug symbols for the Linux Kernel
#!/bin/bash
#
# https://askubuntu.com/questions/197016/how-to-install-a-package-that-contains-ubuntu-kernel-debug-symbols
# https://wiki.ubuntu.com/DebuggingProgramCrash#Debug_Symbol_Packages
echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
echo "deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
echo "deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ECDCAD72428D7C01
sudo apt-get update
@yskzalloc
yskzalloc / trixie-backports.sh
Created August 15, 2026 16:47
Install latest Linux kernel based on trixie-backports.
#!/usr/bin/env bash
set -euo pipefail
# 1. Ensure the script is executed with root privileges
if [[ $EUID -ne 0 ]]; then
echo "[ERROR] This script must be run as root or with sudo." >&2
exit 1
fi
# 2. Detect Debian codename (defaulting to trixie if undetected)
#!/bin/bash
#
# References:
# https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols
# https://wiki.debian.org/AutomaticDebugPackages
# sudo apt install kdump-tools crash
set -e
# Ensure lsb_release is available
@yskzalloc
yskzalloc / Makefile
Last active August 27, 2026 23:31
cacheinfo-oob-repro
# SPDX-License-Identifier: GPL-2.0
CC ?= gcc
CFLAGS ?= -O2 -Wall -Wextra -Wno-unused-parameter -std=gnu99
LDFLAGS ?=
BINS = cacheinfo-oob-predict cacheinfo-oob-trigger
all: $(BINS)
# Statically linked copies, for dropping into a guest image that may not have