Skip to content

Instantly share code, notes, and snippets.

View keepitupkitty's full-sized avatar
😎
aspiring

Veronica keepitupkitty

😎
aspiring
  • Lobotomy Corporation
  • Moscow
  • 07:44 (UTC +03:00)
View GitHub Profile
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Господин Моё Почтение — Лорбук</title>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inconsolata:wght@300;400&display=swap" rel="stylesheet">
<style>
:root {
--bg: #0c0c0e;
@keepitupkitty
keepitupkitty / 1-crate-3-devs.md
Created March 19, 2026 22:12
Seven years unimplemented. Three weeks after I published the solution, it appeared in Redox OS with AGPLv3 violation

Seven years unimplemented. Three weeks after I published the solution, it appeared in Redox OS with AGPLv3 violation

Intro. Who am I?

I am keepitupkitty, 22 year old amateur programmer who writes in C, C++ and Rust most of the time. I love doing it so much and so I decided to write my own libc in Rust for my own GNU/Linux distribution. Why? I want a secure solution that implements wide support for compiler (and not only) mitigation like LLVM SafeStack, cross-DSO CFI and much more, additionally using Rust essentially forces programmer to write correct and memory safe code which also benefits overall safety and reliablity of the libc. Before the accusations to my side I will say that I use LLVM, *BSD and glibc code to see how things shall be done and to understand them more precisely.

Issues implementing libc in pure Rust

As someone who programs in Rust might now that Rust supports C FFI and thus C variadic arguments, although it is considered to be an unstable feature, also someone might know too

@keepitupkitty
keepitupkitty / cam.sh
Created February 24, 2026 13:54 — forked from Realiserad/cam.sh
Use your Android phone camera as a webcam in Linux
#!/bin/sh
# What this script does
# =====================
#
# It allows you to access the phone camera of your Android device as a webcam in Linux. Then
# you can use it for web meetings.
#
# How to use
# ==========
# Close all
losetup -D
# Create a disk image
qemu-img create -f raw linux.img 1G
# Partition
cfdisk linux.img
# Activate loop
Main focus is to provide a secure (as hardened) GNU/Linux desktop (and server) with privacy secured.
Provide memory-safe userspace.
Pure stateless operating system made be possible with systemd-sysusers, tmpfiles and patches made by clear Linux.
This distro must be bootstrappable, binary seeds should only include: cc, c++, ld, ar, ranlib, strip, cargo, rustc, POSIX shell, POSIX tools
Fully libre: use blacklist.txt from parabola and hyperbola Linux to exclude packages which are not FSF compliant.
libc: custom written in rust language with support for smashing stack protection, shadow call stack hardening, safe stack support and much more features. We can look at openbsd libc hardenings + graphene O's.
runtime: compiler-rt, libc++ and libunwind from llvm
kernel: backported grsec patches + linux-hardened patchset + kssp configuration
LC_MESSAGES, LC_TIME:
chinese_simplified.rs
chinese_traditional.rs
belarussian.rs
dutch.rs
english.rs
french.rs
german.rs
italian.rs
japanese.rs
FreeBSD headers:
sys/cdefs.h
sys/queue.h
sys/tree.h
err.h
fts.h
nlist.h
readpassphrase.h
fstab.h
machine/endian.h
# Close all
losetup -D
# Create a disk image
qemu-img create -f raw linux.img 1G
# Partition
cfdisk linux.img
# Activate loop
@keepitupkitty
keepitupkitty / arch-linux-install.md
Created November 8, 2024 00:06 — forked from Thrilleratplay/arch-linux-install.md
Installing Arch Linux on an LUKS Encrpyted root and booting from UEFI
@keepitupkitty
keepitupkitty / arch-linux-install.md
Created November 8, 2024 00:06 — forked from Thrilleratplay/ arch-linux-install.md
Installing Arch Linux on a fully encrypted LUKS partition using GRUB