[ home / overboard ] [ spam ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: 1776602664828i.png 📥︎ (464.75 KB, 1280x720) ImgOps

 â„–32676[Quote]

How do I make the Linux kernel less bloated and less monolithic without using Gentoo?

 â„–32678[Quote]

>>32676 (OP)
why

 â„–32680[Quote]

>>32678
Smaller attack surface

 â„–32688[Quote]

unironically rewriting it in rust

 â„–32689[Quote]

>>32688
I just need to remove the parts I don't need. Rewriting everything about it in Rust will just make it just as bloated and monolithic than before

 â„–32690[Quote]

>>32676 (OP)
install linux-source or kernel-source depending on the distro
cd /usr/src
sudo tar -xf linux-source-*.tar.xz
cp /boot/config-$(uname -r) .config
make olddefconfig
make menuconfig
make -j$(nproc)

 â„–32691[Quote]

>>32690
>sudo tar -xf linux-source-*.tar.xz
I found that my distro uses bz2 instead of xz but it's the same idea

 â„–32692[Quote]

>>32690
there are tricks you can use to make minimal kernels quickly like only using active modules of the current machine automatically, but reading through all the options is good for your first time. Make sure to save often because I find it easy to accidentally hit confirm on the quit page

 â„–32693[Quote]

>>32690
I forgot to change directories after extracting the tarball. Make sure to do that first before copying the current config

 â„–32694[Quote]

>>32690
and you will need some dependencies depending on the distro. And the make commands might need root. Sorry for trying to say this from memory, I thought I could be a 150 IQ linuxGOD

 â„–32714[Quote]

>>32680
nobody is attacking you nigger youre nophono that nophono cares about

 â„–32719[Quote]

inb4 sudo rm -rf joke appears

DON'T TYPE THAT FUCKING COMMAND OP

 â„–32720[Quote]

File: my desktop.png 📥︎ (155.01 KB, 860x645) ImgOps

>*mogs your shitty goyware*

 â„–32725[Quote]

>>32719
sudo dd if=/dev/random of=/dev/sda

 â„–32729[Quote]

>>32719
rule 13

 â„–32731[Quote]

>>32714
It would be good to know this if you're running a server

 â„–32732[Quote]

>>32731
if someone gets into your system to the point where kernel attack surface matters, its already over



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ spam ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]