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
-
▲ 2
Researcher Guidelinesstory by jwilk · 2022-03-22 · 0 comments
-
…example, the same mechanism got adapted to Chromebooks+Coreboot and now uses that same driver here: https://github.com/torvalds/linux/commit/d384d6f43d1ec3f1225...
comment by b-rian · 2022-03-22 · in Lanai, the mystery CPU architecture in LLVM -
…to the public? Drivers is an unequivocal "yes". Here's an example -- from Google, in fact: https://github.com/torvalds/linux/commit/e561bc45920aade3f8a... Architectures is less likely. But the pendulum has swung away from "making your own…
comment by duskwuff · 2022-03-21 · in Lanai, the mystery CPU architecture in LLVM -
…f10 sends f10, not mute because you forgot to press fn+f10. You can find some other options in https://github.com/torvalds/linux/blob/c5d9ae265b105d9a67575... as well
comment by zamadatix · 2022-03-19 · in Asahi Linux alpha release -
…knowledge gained in the article, you would probably figure out what are the different parts. [1] https://github.com/torvalds/linux/blob/master/drivers/tty/se...
comment by antoinealb · 2022-03-15 · in Writing a device driver for Unix V6 -
…better do word-wrapping at commit time, because that's the only time you know the difference. [0] https://github.com/torvalds/linux/pull/17#issuecomment-56611... edit I realise there's some irony in the malformed '>' quotation notation I'm…
comment by MaxBarraclough · 2022-03-12 · in The Art of Plain Text (2015) -
…in different parts of the code, for which you'd have to resort to writing fields manually. [1]: https://github.com/torvalds/linux/blob/719fce7539cd3e186598e...
comment by dzaima · 2022-03-07 · in The Dirty Pipe Vulnerability -
…commit, the commit is correct, it only makes the bug exploitable. The buggy commit is older, it's https://github.com/torvalds/linux/commit/241699cd72a8489c944... but not exploitable. > I always try to shy away from making things look nicer…
comment by max_k · 2022-03-07 · in The Dirty Pipe Vulnerability -
…deep rabbit hole. The commit message gave me the feeling that we should have just trust the author. https://github.com/torvalds/linux/commit/f6dd975583bd8ce0884...
comment by dncornholio · 2022-03-07 · in The Dirty Pipe Vulnerability -
Practically, this is the struct you have to fill in if you don't use clone or fork. https://github.com/torvalds/linux/blob/719fce7539cd3e186598e... IMO clone looks a lot better than screwing with that giant struct and all of the kernel…
comment by monocasa · 2022-03-01 · in Fork() is evil; vfork() is goodness; afork() would be better; clone() is stupid -
…Dreamcast? (game console from 1998) Well there's a dreamcast_defconfig in the mainline kernel still https://github.com/torvalds/linux/blob/master/arch/sh/config... How about a Nintendo 64 from 1996? Someone sat down and hacked that out…
comment by IntelMiner · 2022-02-28 · in The Life of Pi: Ten Years of Raspberry Pi -
…butcher those variables depending on liveness makes this feature seem less valuable, though. [0] https://github.com/torvalds/linux/blob/2729cfdcfa1cc49bef5a9...
comment by jstimpfle · 2022-02-24 · in Moving the Linux Kernel to Modern C -
Are you catching the results? Probably a lot of people is trying https://github.com/torvalds/linux
comment by gus_massa · 2022-02-24 · in Show HN: I built a website that shows you active GitHub forks -
…meaning to "more stable". What makes userspace programs non-derived work is the syscall exception: https://github.com/torvalds/linux/blob/master/LICENSES/excep...
comment by meinersbur · 2022-02-20 · in Linux's GPLv2 licence is routinely violated (2015) -
Since I wanted to learn more about Linus Jitter Dance, here is the patch: https://github.com/torvalds/linux/commit/50ee7529ec45 And here is discussion of the concept: https://news.ycombinator.com/item?id=9512718
comment by lixtra · 2022-02-17 · in Uniting the Linux random-number devices -
▲ 1
Linux 5.17-rc4: Superb Owlstory by caaqil · 2022-02-14 · 0 comments
-
…what I'll be skimming through tonight ... [0]. Not short, but a lot more useful than guesswork. [0] https://github.com/torvalds/linux/blob/master/include/net/so...
comment by roenxi · 2022-02-14 · in What does it mean to listen on a port? -
…IBM 2002 ... * "The futexes are also cursed." * "But they come in a choice of three flavours!" https://github.com/torvalds/linux/blob/master/kernel/futex/c...
comment by RustyRussell · 2022-02-09 · in Landing a new syscall, part 1: What is futex? -
Yes, but some of the history has been omitted. [1] Line 1035 includes the signoff "-TYT, 12/1291" 1. https://github.com/torvalds/linux/commit/1da177e4c3f41524e88...
comment by gryfft · 2022-02-09 · in This needs some heavy checking... (line 1029) -
…unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip! 0: https://github.com/torvalds/linux/commit/1da177e4c3f41524e88...
comment by pfarrell · 2022-02-09 · in This needs some heavy checking... (line 1029) -
…(and much of the code in that function, it seems) was from 17 years ago. See the git-blame: https://github.com/torvalds/linux/blame/f4bc5bbb5fef3cf421ba...
comment by sli · 2022-02-09 · in This needs some heavy checking... (line 1029) -
You can link directly to a line by appending #<line_number> https://github.com/torvalds/linux/blob/f4bc5bbb5fef3cf421ba3...
comment by codingkev · 2022-02-09 · in This needs some heavy checking... (line 1029) -
It's a touch nicer (IMO) if you link directly to the specific lines you're referring to, like: https://github.com/torvalds/linux/blob/f4bc5bbb5fef3cf421ba3...
comment by jfk13 · 2022-02-09 · in This needs some heavy checking... (line 1029) -
▲ 30
This needs some heavy checking... (line 1029)story by dennis_moore · 2022-02-09 · 63 comments
-
No out-of-tree drivers. 1. https://github.com/torvalds/linux/commit/6b99e3569ba17b9fd38... (2017) This changed the userspace hwmon API of the thinkpad-acpi driver from `/sys/devices/platform/thinkpad_hwmon/` to `/sys/class/hwmon/hwmon1/`,…
comment by Arnavion · 2022-02-05 · in Handling argc==0 in the Linux kernel -
…below), and then look in the vendor sub-folders of the mainline linux Hardware compatibility list ( https://github.com/torvalds/linux/tree/master/arch/arm64/boo... /vendorname/) to look for the DTS of the ODM name of the board. Then you'll…
comment by stragies · 2022-02-01 · in It's dire: Raspberry Pi availability tracker -
▲ 7
“I Am Satoshi”story by artursapek · 2022-01-27 · 2 comments
-
…like Gobble Gobble / Trick of Treat etc, so i wouldn't assume its something to be taken seriously! https://github.com/torvalds/linux/blame/0280e3c58f92b2fe0e8f... https://github.com/torvalds/linux/blame/8ced7ca3570333998ad2...
comment by EToS · 2022-01-27 · in I Am Satoshi -
The relevant line: https://github.com/torvalds/linux/blob/ac632c504d0b881d7cfb4...
comment by jawns · 2022-01-27 · in I Am Satoshi -
…not belong to any branch on this repository, and may belong to a fork outside of the repository. https://github.com/torvalds/linux/commit/ac632c504d0b881d7cf... https://github.com/torvalds/linux/commits?author=torvalds This ability to (1)…
comment by re · 2022-01-27 · in I Am Satoshi -
▲ 84
I Am Satoshistory by revskill · 2022-01-27 · 26 comments
-
▲ 35
Torvalds: Delete Linux because it sucksstory by makeworld · 2022-01-25 · 3 comments
-
Seems it wasn't disabled in 2009 https://github.com/torvalds/linux/commit/a3ca86aea5079041488...
comment by mzs · 2022-01-21 · in ISO C became unusable for operating systems development -
…a legacy config. We build up a comma-separated list of options. It looks to be the second one. [0] https://github.com/torvalds/linux/commit/3e1aeb00e6d132efc15...
comment by shakna · 2022-01-20 · in Linux kernel heap buffer overflow in fs_context.c since version 5.1 -
Most user-space code is not difficult to port. An operating system is much more work. Take a look at https://github.com/torvalds/linux/tree/master/arch/arm64
comment by 8192kjshad09- · 2022-01-16 · in Essence: Desktop operating system built from scratch -
…kernel modules here: https://elinux.org/Android_Kernel_Features#List_of_kernel_fe... [1] ashmem https://github.com/torvalds/linux/blob/master/drivers/stagin... [2] hwbinder https://github.com/torvalds/linux/tree/master/drivers/androi...
comment by testtesttestte · 2022-01-04 · in Android in Docker without QEMU/emulator -
…user space to see all the potentials sources of additional latency a call like getpid() may incur: https://github.com/torvalds/linux/blob/c9e6606c7fe92b50a02ce... Again this is not by accident, this is on purpose. You’ll find a similar…
comment by CyberRabbi · 2022-01-03 · in Fixing stutters in Papers Please on Linux -
…casing) * Ubiquiti UniFi 6 LR * Also some others See here the open source wifi driver for MT7915: https://github.com/torvalds/linux/tree/master/drivers/net/wi...
comment by randomhacker123 · 2021-12-27 · in Analysis and reverse-engineering of the original Starlink router -
▲ 9
Ask HN: Why does Linux Kernel use goto statements?story by soheil · 2021-12-08 · 17 comments
-
…my understanding that Intel has no plans to support. See the following link for supported devices. https://github.com/torvalds/linux/blob/bbf5c979011a099af5dc7...
comment by broknbottle · 2021-12-03 · in OS X-KVM: Run macOS on QEMU/KVM -
Linus takes a seemingly opposite stance when discussing word-wrapping commit messages: https://github.com/torvalds/linux/pull/17#issuecomment-56611...
comment by jonahx · 2021-11-28 · in Linus on Line Breaks (2020) -
…It is stable and language agnostic. The interface is defined at the processor architecture level. https://github.com/torvalds/linux/blob/master/Documentation/... https://man7.org/linux/man-pages/man2/syscall.2.html Any compiler can emit…
comment by matheusmoreira · 2021-11-09 · in liblinux: Architecture-independent access to Linux system calls -
…not actually required for kernel system calls. The binary interface is stable and will not change. https://github.com/torvalds/linux/blob/master/Documentation/... On Windows and other operating systems, things such as system call numbers…
comment by matheusmoreira · 2021-11-09 · in liblinux: Architecture-independent access to Linux system calls -
…because I discovered the Linux itself has a better solution that they use for their own tools: > https://github.com/torvalds/linux/blob/master/tools/include/... 1: https://news.ycombinator.com/item?id=29106179
comment by wongarsu · 2021-11-09 · in liblinux: Architecture-independent access to Linux system calls -
…them with the relevant memory barriers (which are especially important on ARM CPUs). [0] https://github.com/torvalds/linux/blob/master/Documentation/... [1] https://doc.rust-lang.org/std/intrinsics/fn.volatile_store.h...
comment by exDM69 · 2021-11-05 · in What memory model should Rust use? -
…of the Linux vDSO, some random bytes, program file name, user and group IDs, among other things. https://github.com/torvalds/linux/blob/master/include/uapi/l... https://github.com/torvalds/linux/blob/master/arch/x86/inclu...…
comment by matheusmoreira · 2021-11-04 · in Linux x86 program start up – How the heck do we get to main()? (2011) -
…how to get that driver[1] to compile and loaded as a kernel module was very educational. [1] https://github.com/torvalds/linux/blob/master/drivers/net/sb...
comment by matthewmcg · 2021-11-02 · in SPARCbook 3000ST: The coolest 90s laptop (2019) -
…Someday (when the parts shortage is over), I may productize it. https://www.w6rz.net/ofdm3.png https://github.com/torvalds/linux/blob/master/drivers/media/...
comment by drmpeg · 2021-10-28 · in Open IP over VHF/UHF Part 5 -
…://man7.org/linux/man-pages/man2/syscalls.2.html https://man7.org/linux/man-pages/man2/syscall.2.html https://github.com/torvalds/linux/blob/master/Documentation/...
comment by matheusmoreira · 2021-10-25 · in Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility -
> https://github.com/torvalds/linux/blob/master/tools/include/ ... Cool, thanks for sharing! > I really want to get into this. Hope to see more links on that topic popping up on HN. Are you aware, beyond "raw" OpenGL, of any GUI/TUI…
comment by southerntofu · 2021-10-24 · in OK Lenovo, we need to talk