darlinghq / darlingserver Goto Github PK
View Code? Open in Web Editor NEWDarling's userspace kernel server (much like Wine's wineserver)
Darling's userspace kernel server (much like Wine's wineserver)
actually, it's already based on the updated XNU kernel (XNU-7195.141.2); back when i said i would use the same version, i was assuming that i could port the existing LKM code with a few modifications, which turned out not to be the case (some of the code can be, but a lot of it depends on Linux kernel APIs).
Thanks facekapow!
This loop goes over processor_count
and writes into processor_array
, assuming MAX_SCHED_CPUS
is less or equal to get_nprocs_conf()
. However, on my system get_nprocs_conf()
returns 128
, while MAX_SCHED_CPUS
is 64, leading to memory corruption and finally process termination.
darlingserver/duct-tape/src/processor.c
Lines 39 to 43 in 697fa6e
I'm not entirely sure if it is safe to just limit the iteration to MAX_SCHED_CPUS
or if adjusting the macro makes more sense.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.