News for hackers. Stuff that matters.
Re:The libkern C++ Runtime by X-Istence on Wednesday July 11, 2018 @07:11PM (#17510960)
Certain devices are still going to need loadable kernel modules to be supported.

For example USB to Serial devices, or custom media devices, and more. I really don't expect kernel modules to go away.

Re:The libkern C++ Runtime by w0de0 on Wednesday July 11, 2018 @10:06PM (#17511683)
Exactly right. Often for devices, but also for software (usually enterprise). Here is a list of kernal extensions compiled by the macadmins community: https://docs.google.com/spreadsheets/d/1IWrbE8xiau4rU2mtXYji...
Re:The libkern C++ Runtime by mattbauer on Thursday July 12, 2018 @12:08AM (#17512123)
I think kernel modules will go away at some point. Having no third party Kexts would increase the security of the OS for in use systems. That's a nice way of saying not all third-party Kexts are created equal.

I could see an argument where moving existing hardware Kexts to user space is easier because IOKit uses the libkern C++ Runtime. The OO design of IOKit may lend itself very nicely to the driver approach BarrelFish takes (http://www.barrelfish.org). The real hard one to move to user space would be third-party filesystems. That's mainly because of dated VFS architecture used in *NIX systems. I could see Apple completely moving away from that at a future point too.

Re:The libkern C++ Runtime by wichert on Thursday July 12, 2018 @02:19AM (#17512554)
I found Serial[1] a while ago: a decent terminal application that does not require any drivers / kernel modules to support USB-to-serial devices.

[1] https://www.decisivetactics.com/products/serial/

Re:The libkern C++ Runtime by voltagex_ on Thursday July 12, 2018 @02:41AM (#17512654)
I wonder how that works?
Re:The libkern C++ Runtime by pilif on Thursday July 12, 2018 @06:43AM (#17513400)
macOS comes with very good USB support in user-space that works without any drivers.

https://developer.apple.com/documentation/iokit/iousbinterfa...

Re:The libkern C++ Runtime by blattimwind on Thursday July 12, 2018 @04:40AM (#17513055)
libusb or a similar userspace USB construct? You don't need anything privileged to write an USB device driver.
Re:The libkern C++ Runtime by 1over137 on Wednesday July 11, 2018 @08:28PM (#17511323)
How many USB<->serial adaptors are there out there? Since 10.9 (IIRC), they've included their own FTDI driver.

I sure hope you're right though. It hasn't happened yet thankfully!