Skip to content

Instantly share code, notes, and snippets.

View bitglitcher's full-sized avatar
🎯
Focusing

Benjamin Herrera bitglitcher

🎯
Focusing
View GitHub Profile
@adnan360
adnan360 / install-weston-void-linux.md
Last active November 6, 2024 19:39
Basic Guide on how to install and use Weston (Wayland) on Void Linux (without SystemD)

How to Install and Use Weston (Wayland) on Void Linux (without SystemD)

sudo xbps-install weston
sudo usermod -a -G weston-launch `whoami`

Reboot to update the group assignment.

Now we can prepare the config. Let's create the file:

ELF

ELF Header

The first portion of any ELF file is the ELF header. This generally provides offsets to other headers (program headers and section headers) within an ELF.

typedef struct {
  unsigned char e_ident[EI_NIDENT];
 uint16_t e_type;