Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
David Chisnall (*Now with 50% more sarcasm!*)
David Chisnall (*Now with 50% more sarcasm!*)
@david_chisnall@infosec.exchange  ·  activity timestamp 2 days ago

I have asked for my #FreeBSD commit bit to be taken into safekeeping. It’s been a few years since I actually committed code to the repo (I still maintain libcxxrt and dtc, which are in the base system, so my code has been committed by others in that time).

This is the second time. I reactivated it a couple of years ago and wrote a qemufwcfg driver (split NetBSD-style between a simple kernel device and a FUSE filesystem), but the review comments put me off bothering to get it into the tree (someone else is welcome to do it if they want to pull it out of phabricator). I still occasionally do code review for other folks, feel free to keep tagging me for reviews.

Still a happy FreeBSD user. If I have FreeBSD time again (any decade now…) I hope to work more on container things. The Apple folks who did their container thing have said they’re happy to take patches to support FreeBSD containers. Their one-VM-per-container model makes this much easier than Podman, which assumes a single VM so is hard to transparently support both Linux and FreeBSD guests.

The only thing I’d like to do that I’d want to put in the base system is a more modern service management and eventing system. And I doubt I’ll have time to work on that for a few years.

  • Copy link
  • Flag this post
  • Block
hayalci
hayalci
@hayalci@toot.cafe replied  ·  activity timestamp yesterday

@david_chisnall huh, tangential, but I’m surprised to hear freebsd uses phabricator/phorge. Another significant user is wikimedia. (My surprise stems from me hearing about it only a few months ago for the first time, even though I keep reading metric tons of tech crap everyday)

  • Copy link
  • Flag this comment
  • Block
David Chisnall (*Now with 50% more sarcasm!*)
David Chisnall (*Now with 50% more sarcasm!*)
@david_chisnall@infosec.exchange replied  ·  activity timestamp yesterday

@hayalci It was popular for a while. LLVM and a bunch of other projects used it. It’s not awful, but also not great.

  • Copy link
  • Flag this comment
  • Block
Hui Xie
Hui Xie
@huixie@mastodon.social replied  ·  activity timestamp yesterday

@david_chisnall a while ago, I made a change on Libc++ semaphore code to use platform native times wait. But we couldn’t get any help on FreeBSD and we didn’t have any usable FreeBSD machines. We couldn’t find any doc on the API (the doc exists and it says that the API exists but it does not say how to use the API) . We ended up vibe coded the FreeBSD branch and it passed the CI.

https://github.com/llvm/llvm-project/pull/172214/changes#diff-8e82196d6a662ed09d10715ed9e2c2006a6e7ff96b747666cc581197bcc59164R138

  • Copy link
  • Flag this comment
  • Block
Hui Xie
Hui Xie
@huixie@mastodon.social replied  ·  activity timestamp 19 hours ago

@david_chisnall I meant this line is quite surprising

reinterpret_cast<void*>(sizeof(ut)), // Pass size as uaddr

  • Copy link
  • Flag this comment
  • Block
Hui Xie
Hui Xie
@huixie@mastodon.social replied  ·  activity timestamp 20 hours ago

@david_chisnall I think we can agree to disagree. I could never figured to reinterpret_cast a size_t to a void*. I think I did try to cast a size_t* to void* though.

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct