#
✕ nick:ydalton
#asahi · 2023-10-07 21:14
ydaltonhex-spell: wait, among us????
#asahi · 2023-10-07 19:14
ydaltonit also tells you the parameters of those syscalls
#asahi · 2023-10-07 19:09
ydaltonit tells you exactly what syscalls are being issued to the kernel, and the return values
#asahi · 2023-10-07 19:08
ydaltonmessing with strace is also helpful
#asahi · 2023-10-07 19:07
ydaltonpersonally i read a lot of driver code because i couldn't fathom writing core kernel code
#asahi · 2023-10-07 19:06
ydaltonoh that
#asahi · 2023-10-07 19:05
ydaltonyou mean strace?
#asahi · 2023-10-07 19:05
ydaltoni don't follow
#asahi · 2023-10-07 19:05
ydaltonevery time i read it it becomes more readable
#asahi · 2023-10-07 19:04
ydaltonanother suggestion, reading the kernel source is quite educational
#asahi · 2023-10-07 19:03
ydaltononly to create a simple app for my dad
#asahi · 2023-10-07 19:03
ydaltoni messed with react before
#asahi · 2023-10-07 19:03
ydaltonlol
#asahi · 2023-10-07 19:02
ydaltonlol, that's more experience than me XD
#asahi · 2023-10-07 19:01
ydaltonhex-spell: do you have a job already in development or something?
#asahi · 2023-10-07 19:00
ydaltonhex-spell: #asahi-dev would be the dev channel
#asahi · 2023-10-07 18:59
ydaltonj`ey: and then she discovered it embeds an entire turing complete language :)
#asahi · 2023-10-07 18:58
ydaltoni wrote a small C program that uses libdrm, and even that helped me understand drm slightly better
#asahi · 2023-10-07 18:57
ydaltonthat's where i'm trying to learn stuff
#asahi · 2023-10-07 18:56
ydaltoni.e. graphics drivers
#asahi · 2023-10-07 18:56
ydaltonthe DRM subsystem
#asahi · 2023-10-07 18:56
ydaltonnope
#asahi · 2023-10-07 18:55
ydaltonexcept i think lina writing DRM abstractions for rust
#asahi · 2023-10-07 18:55
ydaltoni'm not aware if the asahi kernel has made changes to certain subsystems
#asahi · 2023-10-07 18:53
ydaltons/subsystem/subsystems
#asahi · 2023-10-07 18:53
ydaltonat least from what i can tell
#asahi · 2023-10-07 18:53
ydaltonthere's not many kernel devs that mess with different subsystem
#asahi · 2023-10-07 18:52
ydaltondon't think so
#asahi · 2023-10-07 18:51
ydaltonit's quite outdated but a lot of the principles still apply
#asahi · 2023-10-07 18:51
ydaltonhttps://lwn.net/Kernel/LDD3/
#asahi · 2023-10-07 18:51
ydaltonif you want a resource on how linux drivers work, here's something i read
#asahi · 2023-10-07 18:50
ydaltoni've learned C properly since around may 2022
#asahi · 2023-10-07 18:49
ydaltonless than 1 year XD
#asahi · 2023-10-07 18:48
ydaltonthey process data byte for byte rather than with block devices which process in big chunks
#asahi · 2023-10-07 18:47
ydaltonyes
#asahi · 2023-10-07 18:47
ydaltondo you know what a chardev is?
#asahi · 2023-10-07 18:46
ydaltonkinda, but it's not about memory
#asahi · 2023-10-07 18:45
ydaltons/cause/caused
#asahi · 2023-10-07 18:45
ydaltoni remember wrote a simple chardev and forgot the unregister chardev function in the module_exit function, then when i tried to open its device node it cause a kernel oops, so that was fun :P
#asahi · 2023-10-07 18:43
ydaltoni mean, as long as your register calls are followed by an unregister call you should be good
#asahi · 2023-10-07 18:40
ydaltonalthough, in kernel space the stakes are higher with vulnerabilities
#asahi · 2023-10-07 18:40
ydalton:D
#asahi · 2023-10-07 18:39
ydaltonit should be NULL
#asahi · 2023-10-07 18:39
ydaltonthat tells me more than enough
#asahi · 2023-10-07 18:38
ydaltonhex-spell: how much experience with C do you have?
#asahi · 2023-10-07 18:38
ydaltonif you have a couple of hours to spend of course :)
#asahi · 2023-10-07 18:38
ydaltonif you want resources on how some things work, i would recommend you watch marcan or lina's dev streams, i did learn quite a bit from watching those
#asahi · 2023-10-07 18:36
ydaltonold but still okay
#asahi · 2023-10-07 18:36
ydaltonhttps://www.youtube.com/watch?v=j_I9nkpovCQ
#asahi · 2023-10-07 18:35
ydaltonhex-spell: have you watched a video on installing asahi linux?

plus ›