Neat! And what I find most cool about this one is actually that I could write some C or assembly, package it up as a initramfs, and have some custom application that runs right at bare-metal, no OS needed, only a kernel!
@@nirlichtman I think glibc provides C wrappers for many of the syscalls, right? Could you make a video showing how to add a syscall wrapper in glibc for your syscall? Glibc has some gnarly source code, so it would be cool to see how one grapples with that to add new syscall wrappers.
Thanks! I am using a port of Suckless dwm for Windows The setup information is in the welcome link in the channel description (including my vimrc config file)
@@nirlichtman thx mate, i love your videos i've started pursuing os development and your video really helps because they are concise and easy to understand, do you have any recommended resources?
@@mfaathirarsa osdev is good from what i remember, also i would recommend checking out serenity os which is a work in progress os written in c++, the creator of this project also has a youtube channel in which he documents development of certain parts. Also i recommend learning how Linux/Windows boots up, it is very interesting and you can find a bunch of youtube videos about this, and also additional information on the linux kernel docs
Nice. I’m noob, why would it be useful to make a custom system call in the kernel? Wouldn’t the program in user mode be able to do anything with the current system calls?
you don't need to add a syscall most of the time, but if you're already adding features to the kernel, you might want to add a syscall to use that feature from userspace
@@justlyx_0772 a lot is possible for Windows if you're willing to bang your head for weeks at a time to solve weird bugs because you need to use undocumented stuff
These videos are top notch, really enjoying the short digestable deep dives
Excellent.
Short and to the point.
And no narcissistic talking head.
Do the programming overlords know that you're giving us all this forbidden knowledge?
there is nothing more subversive than programming ;) There are no overlords :)
Consistent. Clear. Straight to the point. Love your work.
Neat! And what I find most cool about this one is actually that I could write some C or assembly, package it up as a initramfs, and have some custom application that runs right at bare-metal, no OS needed, only a kernel!
Really cool. I always wondered how syscalls work.
Theae videos are insanely good, keep it up. I learned so much already.
Your content is brilliant mate. Keep it up throughout the new year.
Neat!
I like how you have to edit three different files to add a single system call :D
Love your work, super neat and hands-on kernel exploration
happy new years, nir! thanks for the upload
Excellent video. Short and Sweet!
Thanks for also explaining all the commands
This is perfectm thanks for being straight-forward.
Awesome video - would love a productionized version once your happy with it
Wow, thanks that is phenomenal!
for me as noob in programing, nice to see how it works
I really enjoy these videos thanks
Awesome! Thanks for the video
Now i'm remembering "548" forever
what about services/pidfiles(lockfiles)/daemons idk much about this.
Nice, happy new yaer from Brazil!
Thanks!, can we call syscall through a single C program(file)?
Yes, you can call custom system calls (which don't have wrappers) from C using the syscall function, checkout "man 2 syscall" for more info
@@nirlichtman I think glibc provides C wrappers for many of the syscalls, right? Could you make a video showing how to add a syscall wrapper in glibc for your syscall? Glibc has some gnarly source code, so it would be cool to see how one grapples with that to add new syscall wrappers.
yo mate i like your setup
what wm are you using? and do you have any config or dotfiles?
Thanks! I am using a port of Suckless dwm for Windows
The setup information is in the welcome link in the channel description (including my vimrc config file)
@@nirlichtman thx mate, i love your videos
i've started pursuing os development and your video really helps because they are concise and easy to understand, do you have any recommended resources?
@@mfaathirarsa Thanks! What kind of os dev? You mean programming user mode on Linux/Windows, kernel level programming or bare metal?
@@nirlichtman bare metal would be best because I'm trying to learn osdev from scratch, for now my resource is the osdev wiki
@@mfaathirarsa osdev is good from what i remember, also i would recommend checking out serenity os which is a work in progress os written in c++, the creator of this project also has a youtube channel in which he documents development of certain parts. Also i recommend learning how Linux/Windows boots up, it is very interesting and you can find a bunch of youtube videos about this, and also additional information on the linux kernel docs
Nice video, very informative. I am curious to know what is ramfs and cpio? What is newc?
Thanks! Checkout my video about making a minimal Linux distro for more information about these questions
SYS_leftpad when?
Nice. I’m noob, why would it be useful to make a custom system call in the kernel? Wouldn’t the program in user mode be able to do anything with the current system calls?
you don't need to add a syscall most of the time, but if you're already adding features to the kernel, you might want to add a syscall to use that feature from userspace
Awesome. Could you make a video about gdb?
Yes, planned :)
Awesome!
How is it possible to use windows with i3 as in the video?
I am using a port of Suckless dwm for Windows, more information in the welcome link on my channel
@@nirlichtman oh, I didn't know it was possible for windows, the video is awesome by the way keep that great content up!
@@justlyx_0772 a lot is possible for Windows if you're willing to bang your head for weeks at a time to solve weird bugs because you need to use undocumented stuff
👍Great!
Thanks
still waiting the linux graphical.
hey how can i make a libc like gnu or musl
Amazing Content!
Just casually adding syscalls to kernel... Yeah seems about right
מפתיע שאין לך מבטא ישראלי כבד. מקנא
תודה :) מארה"ב במקור