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
-
Permalink (press 'y' anywhere on GitHub): https://github.com/torvalds/linux/blob/4d939780b70592e0f4bc6... .
comment by heinrich5991 · 2024-10-18 · in C++ proposal: There are exactly 8 bits in a byte -
…IEEE floats should be next? Though that would obsolete this Linux kernel classic so maybe not. https://github.com/torvalds/linux/blob/master/include/math-e...
comment by jsheard · 2024-10-18 · in C++ proposal: There are exactly 8 bits in a byte -
…explicit "system calls are not linking" exception to avoid any possible confusion on this matter. https://github.com/torvalds/linux/blob/master/LICENSES/excep... Merely using the kernel's facilities from user space does not make your…
comment by matheusmoreira · 2024-10-16 · in Winamp deletes entire GitHub source code repo after a rocky few weeks -
…Currently Linux still follows RFC6928 and defaults to initcwnd=10 : https://github.com/torvalds/linux/blob/v6.11/include/net/tcp...
comment by divbzero · 2024-10-07 · in How do HTTP servers figure out Content-Length? -
…learners, the more random PRs you get. But apparently even projects like linux kernel aren't safe https://github.com/torvalds/linux/pulls?q=is%3Apr+is%3Aclose... (for context, this repo doesn't accept PRs as development happens in mailing…
comment by PhilipRoman · 2024-10-05 · in 炊紙(kashikishi) is a text editor that utilizes GPU to edit text in a 3D space -
…these constraints, but not all of them. If you ned that, you can always get to manual patching in https://github.com/torvalds/linux/blob/d42f7708e27cc68d080ac... et al.
comment by c0l0 · 2024-09-15 · in Defend against vampires with 10 gbps network encryption -
Maybe related to this? https://github.com/torvalds/linux/blob/master/tools/thermal/...
comment by ewalk153 · 2024-09-14 · in My 71 TiB ZFS NAS After 10 Years and Zero Drive Failures -
…impression that it's mandatory to allow anyone to request changes and for you to review them. [1] https://github.com/torvalds/linux/pull/7 [2] https://github.com/torvalds/linux/pull/17
comment by faresahmed · 2024-09-11 · in Yaak is now open source -
…change, but apparently this driver is going to be enabled on Fedora rawhide soon. https://github.com/torvalds/linux/blob/master/drivers/net/ph... MR where they are working though a build system issue: https://gitlab.com/cki-project/kernel-a
comment by gpm · 2024-08-31 · in Rust in Linux Revisited -
…API docs: https://www.kernel.org/doc/html/v6.0/filesystems/api-summary... And the function itself: https://github.com/torvalds/linux/blob/d5d547aa7b51467b15d9c... Ask yourself when and how this can fail. I'm not sure those case are covered…
comment by mustache_kimono · 2024-08-30 · in Rust in Linux Revisited -
…from objdump you are seeing the result of RET being replaced with JMP __x86_return_thunk. https://github.com/torvalds/linux/blob/v6.1/arch/x86/include... https://github.com/torvalds/linux/blob/v6.1/arch/x86/lib/ret... > The NOP…
comment by fatcunt · 2024-08-26 · in Linux Pipes Are Slow -
…(maybe because of the target ?). I 'd be interested to know more about that. Call to the wild. [1]: https://github.com/torvalds/linux/blob/master/arch/x86/inclu... [2]: https://stackoverflow.com/a/60579385
comment by sixthDot · 2024-08-26 · in Linux Pipes Are Slow -
…looking like the link above for OpenBSD. [0]: https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/ [1]: https://github.com/torvalds/linux
comment by OJFord · 2024-08-24 · in We have reached OpenBSD of Theseus -
…a packet interface over which you can pass IP, no need for Ethernet emulation. Linux driver is here https://github.com/torvalds/linux/blob/master/drivers/net/th...
comment by ignaloidas · 2024-08-17 · in RP2350 PicoDVI Preview -
I like that GitHub supports file-like suffixes to get different views of the same content. https://github.com/torvalds/linux/commit/{hash} https://github.com/torvalds/linux/commit/{hash}.patch https://github.com/torvalds/linux/commit/{hash}…
comment by unglaublich · 2024-08-14 · in Examples of Great URL Design (2023) -
…license has an explicit excemption for binaries running under Linux. So it's not a great example. https://github.com/torvalds/linux/blob/master/LICENSES/excep...
comment by actionfromafar · 2024-08-14 · in Why we picked AGPL -
…humans don't in cases where complex instructions are beneficial, see Linux kernel using rep movsb ( https://github.com/torvalds/linux/blob/5189dafa4cf950e675f02 ...), and Arm introducing similar complex instructions (…
comment by clamchowder · 2024-08-11 · in AMD's Strix Point: Zen 5 Hits Mobile -
…library supports reading the flags from a file, in case your appetite for flags is insatiable. https://github.com/torvalds/linux/commit/b6a2fea39318e43fee8...
comment by jeffbee · 2024-07-29 · in Chromium has over 1600 command-line switches -
Thanks for the pointers!! https://www.man7.org/linux/man-pages/man2/PR_SET_MM_EXE_FILE... https://github.com/torvalds/linux/blob/master/kernel/fork.c#... /* Forbid mm->exe_file change if old file still mapped. */ I suppose before doing…
comment by matheusmoreira · 2024-07-28 · in Hiding in plain sight: Modifying process names in Unix-like systems -
Yes, but it's hard to find in the kernel: https://github.com/torvalds/linux/tree/5437f30d3458ad36e83ab...
comment by commandersaki · 2024-07-28 · in The Linux Kernel Module Programming Guide -
…chooses to utilize the problem commit. The commit where the kernel bug was introduced is seen at https://github.com/torvalds/linux/commit/fde2a3882bd07876c14... and the commit that resolves the issue is seen at…
comment by nicklad · 2024-07-22 · in CrowdStrike Update: Windows Bluescreen and Boot Loops -
…Isovalent, Google) and academia (e.g., Rutgers University, University of Washington). [0] links to https://github.com/torvalds/linux/blob/master/kernel/bpf/ver... which has this interesting comment at the top: /* bpf_check() is a static…
comment by shrx · 2024-07-22 · in No More Blue Fridays -
…via the linux/unistd.h header which in turn includes the appropriate asm-generic/ and asm/ headers. https://github.com/torvalds/linux/blob/master/include/uapi/a... https://github.com/torvalds/linux/blob/master/tools/arch/x86...…
comment by matheusmoreira · 2024-07-21 · in A Linux kernel syscall implementation tracker -
…standards. But by the standards of historical mainframe/minicomputer filesystems, less so. [0] https://github.com/torvalds/linux/blob/v6.10/arch/s390/inclu... [1] https://github.com/torvalds/linux/blob/v6.10/block/partition...
comment by skissane · 2024-07-17 · in Inside an IBM/Motorola mainframe controller chip from 1981 -
…z/VM might be able to do so, by relying on the hypervisor’s card device driver. [0] Have a look at https://github.com/torvalds/linux/blob/v6.10/drivers/s390/ch... – if it encounters a real card reader/punch, it is hardcoded to return…
comment by skissane · 2024-07-16 · in Inside an IBM/Motorola mainframe controller chip from 1981 -
Line 593 https://github.com/torvalds/linux/blob/d67978318827d06f1c0fa...
comment by OuterVale · 2024-07-16 · in Call Flight Attendant Button in the Linux Kernal -
▲ 1
Call Flight Attendant Button in the Linux Kernalstory by OuterVale · 2024-07-16 · 2 comments
-
…That gets set in a termios structure that gets passed to the kernel's terminal subsystem via ioctl. https://github.com/torvalds/linux/blob/master/include/uapi/a... https://github.com/torvalds/linux/blob/master/include/uapi/a...…
comment by matheusmoreira · 2024-07-09 · in Entering text in the terminal is complicated -
…other than e.g. [0], but I was around (IRC, mailing lists) when some of these were created. [0]: https://github.com/torvalds/linux/blob/master/Documentation/...
comment by mh- · 2024-07-06 · in Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021) -
…https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin... https://github.com/torvalds/linux/blob/master/include/uapi/l... https://github.com/torvalds/linux/blob/master/include/uapi/l... https://github.com/torvalds/li
comment by matheusmoreira · 2024-07-02 · in The Byte Order Fiasco (2021) -
▲ 2
drm/panic: Add a drm panic handlerstory by GalaxySnail · 2024-05-26 · 0 comments
-
…is voodoo from the Promise driver. Label this entire section "TODO: figure out why we do this" ``` https://github.com/torvalds/linux/blob/0450d2083be6bdcd18c95...
comment by abro · 2024-05-19 · in LLM-generated code must not be committed without prior written approval by core -
…not let you hold a reference to an individual thread, only to a process I think that's outdated: https://github.com/torvalds/linux/commit/64bef697d33b75fc06c...
comment by garaetjjte · 2024-05-16 · in What even is a pidfd anyway? -
This seems to be the relevant behaviour from ext4: https://github.com/torvalds/linux/blob/8c06da67d0bd3139a97f3...
comment by viraptor · 2024-05-15 · in SSD death, tricky read-only filesystems, and systemd magic? -
▲ 2
Doyensec – OOB memory read in Linux kernelstory by tony-ds · 2024-05-07 · 0 comments
-
▲ 2
Memory is cheap, new structs are a painstory by lopkeny12ko · 2024-05-05 · 0 comments
-
…by all 3 major BSDs. I'm fairly confident that Linux actually supports it through the ufs driver ( https://github.com/torvalds/linux/tree/master/fs/ufs ); whether the use of different names in different places makes it better or worse is…
comment by yjftsjthsd-h · 2024-04-30 · in The File Filesystem (2021) -
These are a bit easier to see what's going on: https://github.com/torvalds/linux/commit/d5cf50dafc9dd5faa1e... https://github.com/torvalds/linux/blob/d5cf50dafc9dd5faa1e61... Unfortunately Github doesn't have a way to render symbols for…
comment by infogulch · 2024-04-18 · in Linus Torvalds adds arbitrary tabs to kernel code -
…[2]: https://github.com/1fishe2fishe/EXODUS/blob/90f70386b8ac6bd0... [3]: https://github.com/torvalds/linux/blob/8f2c057754b25075aa3da...
comment by 1fishe2fishe · 2024-04-13 · in Show HN: Running TempleOS in user space without virtualization -
I remember the 3c590 ( https://github.com/torvalds/linux/blob/20cb38a7af88dc40095da... ) doing something awful too which required changing the PCI latency setting from 32 to 248 to avoid some catastrophic errors. It's amazing how much…
comment by tech2 · 2024-04-09 · in Show HN: I made a discrete logic network card -
…ps://wiki.gentoo.org/wiki/Gentoo_FreeBSD [1] https://docs.kernel.org/admin-guide/binfmt-misc.html [2] https://github.com/torvalds/linux/blob/master/fs/binfmt_elf....
comment by emidln · 2024-04-04 · in PfSense Software Embraces Change: A Strategic Migration to the Linux Kernel -
…because it's a valid use-case for user space to copy smaller portions of *hwrpb into user space. https://github.com/torvalds/linux/commit/21c5977a836e399fc71...
comment by 1udfx9cf8azi0 · 2024-04-03 · in Improvements to static analysis in GCC 14 -
…what happened, the merge commit looks nothing like what you could make from GitHub (merging a tag). https://github.com/torvalds/linux/commit/8d7e76846521440255a...
comment by remram · 2024-04-01 · in Linus Torvalds accepts a merge commit to the Linux kernel -
▲ 9
Linus Torvalds accepts a merge commit to the Linux kernelstory by peter_l_downs · 2024-04-01 · 5 comments
-
…is the Linux kernel. There is code under different licenses in there, but people don't even read https://github.com/torvalds/linux/blob/master/COPYING till the end ("In addition, other licenses may also apply.") and conclude it's simply…
comment by Tomte · 2024-03-27 · in TinyMCE (also) moving from MIT to GPL -
Your link converted to GitHub: https://github.com/torvalds/linux/commit/f342de4e2f33e0e3916... https://bugs.launchpad.net/bugs/cve/2024-1086 > A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be…
comment by MuffinFlavored · 2024-03-26 · in Flipping Pages: New Linux vulnerability in nf_tables and exploitation techniques -
…something against it? He notoriously hates GNU Emacs, yes. https://marc.info/?m=122955159617722 https://github.com/torvalds/linux/blob/master/Documentation/...
comment by bhaney · 2024-02-28 · in Linus Torvalds is looking for a more modern GUI editor (2023) -
…all lines and not only LoC it would be around 0.05% [0] https://github.com/XAMPPRocky/tokei [1] https://github.com/torvalds/linux/commit/b401b621758e46812da...
comment by SushiHippie · 2024-02-18 · in The Linux Kernel Prepares for Rust 1.77 Upgrade -
…directly by the kernel via the exec family of system calls, so ld.so shouldn't be involved. https://github.com/torvalds/linux/blob/master/fs/Kconfig.bin... config BINFMT_SCRIPT tristate "Kernel support for scripts starting with #!" default…
comment by khrbtxyz · 2024-02-16 · in Pure Bash Web Server -
…not kernel upstream. they won't take esync/fsync because those have some missing features. https://github.com/torvalds/linux/commit/a0eb2da92b715d0c97b...
comment by the8472 · 2024-01-25 · in Proposed Windows NT sync driver brings big Wine/Proton performance improvements