Tech article
Linux containers in 500 lines of code
No preview is available. Read the original article for the full story.
Hacker News | Oct 5, 2026 | mkornaukhov
Automated excerpt
Listing 35: fs/fhandle. c:166static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, * the directory. Listing 92: ipc/shm. c:1249@c8d2bcSYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg) Listing 93: ipc/sem. c:20151@c8d2bcSYSCALL_DEFINE3(semop, int, semid, struct sembuf __user *, tsops, Listing 94: ipc/sem. c:1816@c8d2bcSYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsops, Listing 95: ipc/msg. c:743@c8d2bcSYSCALL_DEFINE4(msgsnd, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, Listing 96: ipc/msg. c:1004@c8d2bcSYSCALL_DEFINE5(msgrcv, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, Listing 97: enumerate_net_devs. c/* Local Variables: */ /* compile-command: "gcc -Wall -Werror -static enumerate_net_devs. c \*/ struct ifreq req = { .
Selected automatically from source text; not independently written or fact-checked. Read the original for full context.