Hacker GitHub

← All repos

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

Mentions per year 947 mentions · busiest year 2022 (104)
20082026
  1. …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
  2. …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
  3. …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
  4. …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
  5. …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...
  6. ▲ 2
    Show HN: Gitterbugs, an ultra fast and lightweight GitHub repo mapper
    story by amosoraptor · 2025-04-21 · 0 comments
  7. …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...
  8. …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?
  9. …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
  10. …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…
  11. …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…
  12. …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
  13. …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
  14. …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
  15. …And you can see under samples/rust that only a kbuild-style Makefile is provided: https://github.com/torvalds/linux/tree/master/samples/rust
  16. …the kernel's cgroup writeback accounting features are enabled / disabled based on this code: https://github.com/torvalds/linux/blob/c291c9cfd76a8fb92ef3d...
  17. …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…
  18. …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…
  19. …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
  20. …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
  21. 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.
  22. …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
  23. …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…
  24. > 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…
  25. …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…
  26. …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.…
  27. …the linux kernel itself actually also looks for `/etc/init` before it even looks for `/bin/init` https://github.com/torvalds/linux/blob/4a5df37964673effcd9f8...
  28. ▲ 9
    Ask HN: Why it is difficult to copy strings from web pages?
    story by markus_zhang · 2025-01-09 · 7 comments
  29. …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...
  30. 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
  31. 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!
  32. …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
  33. …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...
  34. It did not digest https://github.com/torvalds/linux ¯\_(ツ)_/¯
  35. …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
  36. …: 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
  37. 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
  38. …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
  39. …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
  40. …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
  41. …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
  42. 29 patches: https://github.com/torvalds/linux/compare/master...edera-dev...
  43. 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…
  44. …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…
  45. 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…
  46. …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).…
  47. https://github.com/torvalds/linux/commit/6e90b675cf942e50c70...
  48. https://github.com/torvalds/linux/commit/6e90b675cf942e50c70...
  49. …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...
  50. 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