torvalds/linux
View on GitHub ↗ ★ 254,124 C
Linux kernel source tree
947 mentions on Hacker News by 745 people: 99 stories, 848 comments · first 2010-07-15 · latest 2026-10-29
20082026
-
…essentially a sorted list of arguments for the mmap system call. This is Linux kernel's ELF loader: https://github.com/torvalds/linux/blob/master/fs/binfmt_elf.... It basically just mmaps in the PT_LOAD segments of the ELF file, copies…
comment by matheusmoreira · 2025-04-30 · in Path Isn't Real on Linux -
…call wrappers for more efficient access. The vDSO is a documented stable Linux kernel interface: https://github.com/torvalds/linux/blob/master/Documentation/... It's just a perfectly normal ELF shared object that the kernel maps into the…
comment by matheusmoreira · 2025-04-30 · in Path Isn't Real on Linux -
…user space and kernel is quite clear: the system call layer. It is stable and well documented. https://github.com/torvalds/linux/blob/master/Documentation/... System libraries like glibc are not part of the kernel, they are just components…
comment by matheusmoreira · 2025-04-30 · in Path Isn't Real on Linux -
…of trivia about the shebang support in Linux is that is possible to build the kernel without it. https://github.com/torvalds/linux/blob/master/fs/Kconfig.bin... config BINFMT_SCRIPT tristate "Kernel support for scripts starting with #!"…
comment by khrbtxyz · 2025-04-30 · in Path Isn't Real on Linux -
…effort. Still worth it compared to the alternative of writing a linux kernel driver though! [0]: https://github.com/torvalds/linux/commit/bc895e8b2a64e502fbb... [1]: https://github.com/torvalds/linux/blob/bc895e8b2a64e502fbba7...
comment by roblabla · 2025-04-23 · in Why Does My eBPF Program Work on One Kernel but Fail on Another? -
▲ 2
Show HN: Gitterbugs, an ultra fast and lightweight GitHub repo mapperstory by amosoraptor · 2025-04-21 · 0 comments
-
…his position on this topic? Well, he's not a fan of GitHub pull request as per the last decade. https://github.com/torvalds/linux/pull/17#issuecomment-56546...
comment by konimex · 2025-04-15 · in Important open source projects should not use GitHub (2020) -
…seems to be actively contributing in GitHub for the Linux kernel repository (also created by him): https://github.com/torvalds/linux Anyone has seen his position on this topic?
comment by miloc_c · 2025-04-15 · in Important open source projects should not use GitHub (2020) -
…Coe's ratio: https://people.cs.vt.edu/~naren/Courses/CS3414/assignments/p... (3rd page) Linux code: https://github.com/torvalds/linux/blob/b0cb56cbbdb4754918c28...
comment by rwmj · 2025-03-24 · in Intel: A Bug and a Pro -
…e.g. the `squash_the_stupid_serial_number` name did actually exist before the cregited commit: https://github.com/torvalds/linux/commit/0a488a53d7ca46ac638... (Perhaps this could be related to there being multiple function implementations…
comment by follower · 2025-03-23 · in Cregit-Linux: how code gets into the kernel -
…only pointing out that it hasn’t happened in practice. Also check the Android Binder code before (C https://github.com/torvalds/linux/blob/master/drivers/androi... ) and after (Rust - https://android.googlesource.com/platform/frameworks/nat…
comment by nindalf · 2025-03-13 · in I stopped everything and started writing C again -
…remove GPL as a factor ? No reason it must? AFAIK all Rust for Linux code is GPL2. For example see: https://github.com/torvalds/linux/blob/master/rust/kernel/al... If some was or were to be licensed as MIT code, there is also plenty of…
comment by mustache_kimono · 2025-03-10 · in Rewriting essential Linux packages in Rust -
…email client. There are some hints regarding email clients here, though focused on sending patches: https://github.com/torvalds/linux/blob/master/Documentation/...
comment by layer8 · 2025-03-06 · in Git without a forge -
…to the Linux kernel even references OpenBSD pledge(2)/unveil(2) as a source of inspiration. https://github.com/torvalds/linux/commit/17ae69aba89dbfa2139... https://lore.kernel.org/linux-security-module/20210422154123...
comment by brynet · 2025-02-23 · in OpenBSD Innovations -
…And you can see under samples/rust that only a kbuild-style Makefile is provided: https://github.com/torvalds/linux/tree/master/samples/rust
comment by cozzyd · 2025-02-21 · in Greg K-H: "Writing new code in Rust is a win for all of us" -
…the kernel's cgroup writeback accounting features are enabled / disabled based on this code: https://github.com/torvalds/linux/blob/c291c9cfd76a8fb92ef3d...
comment by dasl · 2025-02-14 · in Linux kernel cgroups writeback high CPU troubleshooting -
…a different board on a soc that already works? Welcome to the world of writing this kind of things: https://github.com/torvalds/linux/blob/master/arch/arm64/boo... and compiling the kernel from some dude's branch instead of going with…
comment by Muromec · 2025-02-09 · in RISC-V Mainboard for Framework Laptop 13 is now available -
…if he feels like it. What he did, and this entire thread is about, is he resigned as a maintainer : https://github.com/torvalds/linux/commit/1b3291f00013c86a9bb... So the title is factually correct. But I wouldn't be surprised if he tries…
comment by tredre3 · 2025-02-08 · in Asahi Linux lead developer Hector Martin resigns from Linux kernel -
…about your comment. It adds rust/kernel/dma.rs, not kernel/dma. That is, it adds that file here: https://github.com/torvalds/linux/tree/master/rust/kernel not here: https://github.com/torvalds/linux/tree/master/kernel/dma
comment by steveklabnik · 2025-02-07 · in Hector Martin – [Patch] Maintainers: Remove Myself -
…but if I say that I run Linux, there’s an assumption that I’m running something compiled from https://github.com/torvalds/linux - I.e. there is a central space. I’ve used git and perforce in anger for a decade, in teams of 1 to 150+ (with…
comment by maccard · 2025-02-05 · in Beej's Guide to Git -
Nitpick: There are actually a handful Rust drivers in-tree, e.g. https://github.com/torvalds/linux/blob/master/drivers/net/ph... Though, I think all of them are direct ports of existing drivers.
comment by Dagonfly · 2025-02-04 · in Resistance to Rust abstractions for DMA mapping -
…comment, it seems like it might sorta be supported in modern linux, possibly just read only though: https://github.com/torvalds/linux/tree/master/fs/befs
comment by buildbot · 2025-01-23 · in TMSU: Command-line tool for applying tags and viewing virtual tagged filesystem -
…the intentions are the pull requests/issues around it. Take a single commit from the Linux kernel: https://github.com/torvalds/linux/commit/08bd5b7c9a2401faabd... It doesn't tell me "add function X, Y and boolean flag Z". It tells us…
comment by Draiken · 2025-01-23 · in Ask HN: Is anyone doing anything cool with tiny language models? -
> Indeed where the DRM error message comes from https://github.com/torvalds/linux/blob/ffd294d346d185b70e28b ... That's for compact flash cards. Based on the kernel message from the StackExchange post we can tell it isn't a CF. So it's not…
comment by bdd · 2025-01-20 · in What does "supports DRM and may not be fully accessible" mean for SATA SDDs? -
…ship with this enabled for movie content management. Indeed where the DRM error message comes from https://github.com/torvalds/linux/blob/ffd294d346d185b70e28b... > CPRM may make this media unusable CPRM? > Content Protection for…
comment by Maxious · 2025-01-20 · in What does "supports DRM and may not be fully accessible" mean for SATA SDDs? -
…command line parameter to be passed to allow issuing them. (kernel source reference: https://github.com/torvalds/linux/blob/v6.12/drivers/ata/lib... ), which has _nothing to do_ with the trusted platform module TPM, just another TLA clash.…
comment by bdd · 2025-01-20 · in What does "supports DRM and may not be fully accessible" mean for SATA SDDs? -
…the linux kernel itself actually also looks for `/etc/init` before it even looks for `/bin/init` https://github.com/torvalds/linux/blob/4a5df37964673effcd9f8...
comment by NekkoDroid · 2025-01-13 · in The history and use of /etc/glob in early Unixes -
▲ 9
Ask HN: Why it is difficult to copy strings from web pages?story by markus_zhang · 2025-01-09 · 7 comments
-
…that didn't get added until they contributed support for the Deck controller in these drivers : https://github.com/torvalds/linux/blob/master/drivers/hid/hi...
comment by ThatPlayer · 2025-01-08 · in Lenovo Officially Announces the Legion Go S Handheld with SteamOS -
Including Linux kernel https://github.com/torvalds/linux/blob/master/include/linux/...
comment by fuhsnn · 2025-01-06 · in C: Simple Defer, Ready to Use -
Final boss: https://github.com/torvalds/linux Error message: Repository is too large (>200k tokens) for analysis. Claude 3.5 Sonnet's max context length is 200k tokens. Current size: 1334798 tokens. Cool project though! Kudos!
comment by Minervaskell · 2024-12-27 · in Show HN: Instantly visualize any codebase as an interactive diagram -
…working program that prints out the ASCII table [2] as part of my Ghidra extension test suite. [1] https://github.com/torvalds/linux/tree/master/tools/include/... [2] https://github.com/boricj/ghidra-delinker-extension/tree/mas...
comment by boricj · 2024-12-26 · in A Simple ELF -
…PCs need a different one than the default in order to make sure everything is properly reset. [1]: https://github.com/torvalds/linux/blob/9b2ffa6148b1e4468d08f...
comment by kyrofa · 2024-12-25 · in When power cycling your (x86) server isn't enough to recover it -
It did not digest https://github.com/torvalds/linux ¯\_(ツ)_/¯
comment by dim13 · 2024-12-06 · in Show HN: Replace "hub" by "ingest" in GitHub URLs for a prompt-friendly extract -
…unaware of the recent cleanup attribute infrastructure submitted on the c side of the kernel: https://github.com/torvalds/linux/blob/master/include/linux/... Zig is a fun and interesting language in its own right, there’s really no need…
comment by raggi · 2024-12-02 · in RAII and the Rust/Linux Drama -
…: static void check_hung_task(struct task_struct *t, unsigned long timeout) https://github.com/torvalds/linux/blob/9f16d5e6f220661f73b36... static void check_hung_uninterruptible_tasks(unsigned long timeout) https://github.com/torvald
comment by westurner · 2024-11-24 · in Linux 6.13 will report the number of hung tasks since boot -
Read the source Luke: https://github.com/torvalds/linux/blob/master/drivers/tty/vt...
comment by belter · 2024-11-21 · in ANSI Escape Sequences Cheatsheet -
…e.g. typedef int read_block_fn(void *context, u8 *buf, unsigned int block, size_t len); https://github.com/torvalds/linux/blob/0a9b9d17f3a781dea03ba...
comment by khrbtxyz · 2024-11-14 · in C Gibberish to English -
…the syscall interface are not considered derivative works and that GPL does not apply to them: https://github.com/torvalds/linux/blob/master/LICENSES/excep...
comment by unmole · 2024-11-07 · in Linux Syscall Support -
…OP. Their x64_64 arch support is here, which looks simple enough, putting things into registers: https://github.com/torvalds/linux/blob/master/tools/include/... The non-arch-specific callers which use this are here, which also look…
comment by jwatzman · 2024-11-07 · in Linux Syscall Support -
…one to write C software that completely bypass libc, but instead directly operate through syscalls. https://github.com/torvalds/linux/tree/master/tools/include/... A sample use-case? I was developing an Erlang-like actor platform that…
comment by sph · 2024-11-07 · in Linux Syscall Support -
29 patches: https://github.com/torvalds/linux/compare/master...edera-dev...
comment by transpute · 2024-11-04 · in HardenedBSD Feature Comparison with OpenBSD, FreeBSD, NetBSD -
Curiously, I can't find this message in recent kernels, it was patched out in 2018: https://github.com/torvalds/linux/commit/9d7c249a1ef9bf0d569... . Is it being re-added by distros or something? In terms of how it causes the issue, I…
comment by rcxdude · 2024-10-28 · in Debugging audio artifacts caused by... a serial port? -
…it did have a copyright header, but certainly not one that included a record of every change. https://github.com/torvalds/linux/blob/master/init/calibrate... So it doesn't look like this is peculiar to v2. But it does seem like people…
comment by tempfile · 2024-10-28 · in GoLic, injects license into source code files -
I'm reasonably confident that it is upstream: https://github.com/torvalds/linux/blob/master/drivers/androi... looks like the most obvious bit, though there are other pieces. (And now I'm curious why waydroid is maintaining their own dkms…
comment by yjftsjthsd-h · 2024-10-28 · in NewPipe on Linux, Using Android_translation_layer -
…of other sus entries and pushed the commit. It's painfully obvious if you take a look at the file https://github.com/torvalds/linux/blob/master/MAINTAINERS , there are no mail.ru addresses left (it's a public email service akin to gmail).…
comment by joric · 2024-10-27 · in On Linux MAINTAINERS file removal of Russian developers -
https://github.com/torvalds/linux/commit/6e90b675cf942e50c70...
comment by leoh · 2024-10-23 · in Several Russian developers lose kernel maintainership status -
https://github.com/torvalds/linux/commit/6e90b675cf942e50c70...
comment by leoh · 2024-10-23 · in Linus Torvalds comments on the Russian Linux maintainers being delisted -
…sources of this library [0] but the general syscall exception [1] may or may not apply. [0] e.g. https://github.com/torvalds/linux/blob/master/arch/x86/entry... [1] https://github.com/torvalds/linux/blob/master/LICENSES/excep...
comment by account42 · 2024-10-21 · in Winamp deletes entire GitHub source code repo after a rocky few weeks -
The file is groups.c from the Linux Kernel, circa sometime before 2015: https://github.com/torvalds/linux/blob/8f6c5ffc8987f4f5b5a3e...
comment by BoppreH · 2024-10-18 · in Hacker Typer