Hacker GitHub

← All repos

freebsd/freebsd-src

View on GitHub ↗ ★ 9,421 C

The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....

189 mentions on Hacker News by 121 people: 8 stories, 181 comments · first 2012-05-14 · latest 2026-10-26

Mentions per year 189 mentions · busiest year 2020 (28)
20082026
  1. FreeBSD /bin/cat has lots of recent changes of substance: https://github.com/freebsd/freebsd-src/commits/main/bin/cat/... Otoh, /usr/bin/true has only minor changes since initial import (1994) https://github.com/freebsd/freebsd-src/commits/…
  2. …, and was committed in 1994: * https://svnweb.freebsd.org/base/head/lib/libcrypt/crypt.c?re... * https://github.com/freebsd/freebsd-src/commit/3b2b7f71deba2a... * https://phk.freebsd.dk/sagas/md5crypt/ *…
    comment by throw0101a · 2026-07-18 · in Goodbye, and Thanks for All the Bikesheds
  3. …Capsicum sandbox before processing any data, akin to what the OpenBSD version does with pledge. [1] https://github.com/freebsd/freebsd-src/blob/main/usr.bin/yes...
  4. …directly [2]. Yeah... but at least the kernel doesn't call the apps... which it could ;^) [1] https://github.com/freebsd/freebsd-src/blob/main/sys/x86/x86...
  5. …now until .\" the time_t's wrap around. .Pp You can tune a file system, but you cannot tune a fish. https://github.com/freebsd/freebsd-src/blob/main/sbin/tunefs...
    comment by beej71 · 2026-04-06 · in Number in man page titles e.g. sleep(3)
  6. …increases the chance they’ll both eventually accept it. [0] https://man.netbsd.org/getenv_r.3 [1] https://github.com/freebsd/freebsd-src/commit/873420ca1e6e8a...
  7. …did spot that their own find had a -delete option in 1999. (-: Hell, even I am still using find. https://github.com/freebsd/freebsd-src/blob/main/usr.sbin/pe...
    comment by JdeBP · 2025-08-11 · in Debian 13 “Trixie”
  8. …have to care about compatibility as much FreeBSD did it in 2012 (for the 2014 release of 10.0?): * https://github.com/freebsd/freebsd-src/commit/8f77be2b4ce5e3... And has compat layers going back many releases: *…
    comment by throw0101d · 2025-07-28 · in Debian switches to 64-bit time for everything
  9. …in 2017: * https://lists.freebsd.org/pipermail/svn-src-all/2017-June/14... but amd64 was in 2012: * https://github.com/freebsd/freebsd-src/commit/8f77be2b4ce5e3... with only i386 remaining: * https://man.freebsd.org/cgi/man.cgi?query=arch…
    comment by throw0101c · 2025-07-28 · in Debian switches to 64-bit time for everything
  10. I think FreeBSD tried to opaque FILE[1], but it was reverted[2] and still non-opaque in main[3]. [1]: https://github.com/freebsd/freebsd-src/commit/c17bf9a9a5a3b5... [2]: https://github.com/freebsd/freebsd-src/commit/19e03ca8038019... [3]:…
    comment by loeg · 2025-07-20 · in Stdio(3) change: FILE is now opaque
  11. ▲ 5
    'I happened to be sitting next to Bill Joy at UCB when he wrote the first "yes"'
    story by JdeBP · 2025-06-05 · 1 comment
  12. …a list of helpful macros for bit operations that originated in OpenSolaris (as far as I know) here: https://github.com/freebsd/freebsd-src/blob/master/sys/cddl/... There used to be an Open Solaris blog post on them, but Oracle has taken it…
  13. …metaprograming, but like everyone else, they eventually do. That's how we get monstrosities like https://github.com/freebsd/freebsd-src/blob/master/sys/sys/q... (plenty of Linux equivalents --- e.g. the tracepoint stuff) Better to use a…
    comment by quotemstr · 2025-05-09 · in Implementing a Struct of Arrays
  14. …[1]. It's still supported, although in the recent years it was deprecated in favor of Lua [2]. [1] https://github.com/freebsd/freebsd-src/tree/main/stand/forth [2] https://github.com/freebsd/freebsd-src/tree/main/stand/lua
    comment by luke8086 · 2025-03-05 · in NetBSD on a JavaStation
  15. …Why do you need to build it? But if it matters, FreeBSD has a pretty trivial BSDmake build of it: https://github.com/freebsd/freebsd-src/blob/main/lib/libzstd... https://github.com/freebsd/freebsd-src/blob/main/usr.bin/zst... You could…
  16. ▲ 3
    FreeBSD Bhyve Hypervisor Ported to RISC-V HiFive Premier P550 Board
    story by fork-bomber · 2024-12-14 · 0 comments
  17. …accepted by the masses. It is a great OS, but for personal computing, there are clear issues. 0: https://github.com/freebsd/freebsd-src/commit/2cf8ef5910fd37... 1: https://joshua.hu/FreeBSD-on-MacbookPro-114-A1398#building-w... 2:…
  18. …on their site. This is whatabouttism, but damn, they don't deserve this kinda talk. Example: https://github.com/freebsd/freebsd-src/blob/0abe05aeac29d997...
    comment by spookie · 2024-09-26 · in WordPress.org bans WP Engine
  19. …100% Rust or C OS, you still need C++ because of LLVM/GCC....well if you want a modern compiler ;) https://github.com/freebsd/freebsd-src
    comment by BSDobelix · 2024-08-29 · in FreeBSD considers Rust in the base system
  20. …of ls is a bit more approachable, since BSD utilities typically don't have as much functionality. https://github.com/freebsd/freebsd-src/blob/main/bin/ls/ls.c I don't think Rust is going to make things significantly more accessible. It…
  21. …doesn't seem great; using data structures should be a lot simpler! It doesn't look too crazy: https://github.com/freebsd/freebsd-src/blob/main/usr.sbin/fr... It's fairly well broken down, and pretty well organized. I think the most…
  22. ▲ 3
    imgact_elf: Load Ape Executables Faster
    story by tosh · 2024-07-21 · 0 comments
  23. Cosmo author here. I'm familiar with the new rules. They were first implemented in https://github.com/freebsd/freebsd-src/commit/e0f5c1387df23c... which makes a clear intentional allowance for what APE is doing. If you look at the hex…
    comment by jart · 2024-06-24 · in Cosmopolitan v3.5
  24. …(x64): https://www.nvidia.com/en-us/drivers/unix/ FreeBSD ships firmware blobs both in tree, e.g., https://github.com/freebsd/freebsd-src/tree/main/sys/contrib... and via ports/packages, e.g., https://ports.freebsd.org/cgi/ports.cgi?query=f…
    comment by jasomill · 2024-04-22 · in You shouldn't run a BSD on a PC
  25. …~150 critical tools, hardlinked under their usual names https://man.freebsd.org/cgi/man.cgi?rescue https://github.com/freebsd/freebsd-src/blob/main/rescue/resc...
    comment by infofarmer · 2024-03-24 · in Linux Crisis Tools
  26. …degree that's been cleaned up – not so easy to grep for, but a quick check in git log shows e.g. https://github.com/freebsd/freebsd-src/commit/e5d0d1c5fbbc and some other things, so it seems there's still some K&R around. Probably others…
    comment by arp242 · 2023-12-23 · in Xmas.c (1988)
  27. …But I bet this guy and his optimizations to the vfs and locking has made a significant impact. https://github.com/freebsd/freebsd-src/commits?author=mjguzi...
  28. …were deep concerns about the stability of same, so vfs.zfs.bclone_enabled = 0 was left in-place https://github.com/freebsd/freebsd-src/commit/068913e4ba3dd9...
  29. Well there are some examples: https://github.com/freebsd/freebsd-src/tree/main/share/examp... But yeah that pf.conf could be expanded allot, but there are many source to cobble a conf together. My conf is massive but 99.9% commented out so…
    comment by BSDobelix · 2023-11-20 · in FreeBSD 14.0-Release
  30. …* https://github.com/openzfs/zfs/discussions/15232 Also committed to FreeBSD -HEAD/development: * https://github.com/freebsd/freebsd-src/commit/e716630d4cf89e...
    comment by throw0101a · 2023-11-20 · in FreeBSD 14.0-Release
  31. …-- FreeBSD imported a not fully functional version in 2017 and has seen more work on it in 2022: https://github.com/freebsd/freebsd-src/commits/main/usr.bin/... , but the default version shipped is still GNU diff3 from ~2007 (before the…
  32. …Currently live release notes: * https://cgit.freebsd.org/src/tree/RELNOTES * https://github.com/freebsd/freebsd-src/blob/main/RELNOTES Particular commits that stated they should be noted in the notes ("Relnotes: yes"): * https://cgit.f
  33. …from the present and the past: https://github.com/openbsd/src/blob/master/usr.bin/yes/yes.c https://github.com/freebsd/freebsd-src/blob/release/4.0.0/us...
    comment by m1keil · 2023-09-09 · in Decoded: GNU Coreutils (2018)
  34. …< (*xipp)->order)) continue; /* skip*/ save = *sipp; *sipp = *xipp; *xipp = save; } } https://github.com/freebsd/freebsd-src/blob/2b14f991e64ebe31...
  35. And Netgate contributes a ton to pf (and other subsystems) on FreeBSD. https://github.com/freebsd/freebsd-src/commits/main/sys/netp... Does OPNsense?
    comment by gonzo · 2023-07-07 · in Big Update to OpenBSD's pfsync
  36. I think FreeBSD code in C is very well organized: https://github.com/freebsd/freebsd-src
  37. …compatibility. For reference: * FreeBSD just returns EINVAL for a zero-length argument vector, https://github.com/freebsd/freebsd-src/commit/773fa8cd136a57... . This came from OpenBSD. * A null argument vector has been EFAULT in FreeBSD…
  38. …and you can "Copy Permalink" to get a link directly to the line which has #L255 on the end, e.g. https://github.com/freebsd/freebsd-src/blob/40b287054521f0a9... )
  39. Starting around line 255 in init_main.c (or search for bubble). see https://github.com/freebsd/freebsd-src/blob/40b287054521f0a9...
  40. …fewer SYSINIT objects to sort back in 1995 than today. see ~line 150 of sys/kern/init_main.c in https://github.com/freebsd/freebsd-src/commit/2b14f991e64ebe...
  41. …which we hit in production given how our data was arranged. (I think this was the check) https://github.com/freebsd/freebsd-src/blob/main/lib/libc/st...
  42. …boot process, but it is availible. [0]: https://twitter.com/bsdphk/status/1659568675899228163 [1]: https://github.com/freebsd/freebsd-src/commit/d89a1b600fc071...
  43. …In any new-ish production system I'd probably want to use anything other than syslogd anyways. https://github.com/freebsd/freebsd-src/blob/main/usr.sbin/sy...
    comment by inferiorhuman · 2023-05-18 · in What happened with ASUS routers this morning?
  44. …This was added in FreeBSD 5.3, committed 19 years ago. (FreeBSD 5.3 released November 6, 2004) https://github.com/freebsd/freebsd-src/commit/f5896baf9c429c...
  45. …when I want to mirror a repo I consider interesting or important: ssh user@rsync.net "git clone git://github.com/freebsd/freebsd.git freebsd" Remember, also , the existence of "git annex": https://git-annex.branchable.com/ ... which solves…
  46. …to his lame fork of musl for the official FreeBSD sources for libm, taken from Sun, used by musl? https://github.com/freebsd/freebsd-src/blob/main/lib/msun/sr... or at least https://git.musl-libc.org/cgit/musl/tree/src/math/__cos.c
    comment by rurban · 2023-03-31 · in Cosine Implementation in C
  47. …over SSH, etc. This is the earliest I could find, and it already contains assuming breach in 1998. https://github.com/freebsd/freebsd-src/commit/f063d76ae36ca4... Does anyone have an idea on how to see the file and its history from where…
  48. …to maintain it in base. Users/use-cases feedback are welcome. https://reviews.freebsd.org/D37354 https://github.com/freebsd/freebsd-src/pulls
  49. …but probably that's not the source of the bug. What smells in there is 'hlen = ip->ip_hl << 2' [0] https://github.com/freebsd/freebsd-src/commit/46d7b45a267b3d... [1] https://github.com/freebsd/freebsd-src/commit/d9cacf605e2ac0... [2]…
    comment by pajko · 2022-12-01 · in Remote execution bug in BSD ping
  50. …to be in multiple lists in the same time you can keep multiple list entries in the same struct: https://github.com/freebsd/freebsd-src/blob/69413598d2660054...
    comment by nirs · 2022-11-05 · in In defense of linked lists