thinkpol has quit [Remote host closed the connection]
thinkpol has joined #osdev
srjek|home has joined #osdev
h4zel has quit [Ping timeout: 252 seconds]
h4zel has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mahmutov has quit [Ping timeout: 265 seconds]
Vercas has quit [Quit: Ping timeout (120 seconds)]
Vercas has joined #osdev
junon has quit [Ping timeout: 252 seconds]
junon has joined #osdev
gxt has quit [Remote host closed the connection]
gxt has joined #osdev
dutch has quit [Quit: WeeChat 3.3]
Cyro has quit [Remote host closed the connection]
dutch has joined #osdev
sts-q has quit [Ping timeout: 252 seconds]
nyah has quit [Ping timeout: 252 seconds]
sts-q has joined #osdev
[itchyjunk] has quit [Quit: Leaving]
srjek|home has quit [Ping timeout: 260 seconds]
AssKoala has quit [Ping timeout: 252 seconds]
<Griwes>
CompanionCube: well the nice thing about zfs is that once you have the core features, you can kinda just cherry-pick what you want to support and in what order
<clever>
Griwes: ive also been considering adding zfs to little-kernel
YuutaW has quit [Ping timeout: 246 seconds]
<klange>
how did I end up down this path of writing a debugger...
<klange>
I don't even remember
<clever>
lol
<clever>
klange: if i'm not careful, i'm going to wind up being the maintainer of an entire distro!
<klange>
I think I was just paging through command listings and was like "ah, you know, a system call tracer would be nice, how does strace actually do its thing..."
<klange>
And then I read the manuals for ptrace, figured it actually seems pretty straightforward, and since that's also how gdb does things how about a debugger, too, and...
<klange>
I whipped up a little thing to poke at ld.so's internal data to figure out symbols and loaded libs, covers more ground than examining binaries. Tracebacks would be a nice next step if my base pointers are reliable...
<klange>
My strace does a good bit of fancy argument parsing, as well, and I think I fixed a race in waitpid.
<klange>
I can play Doom with the debugger constantly trapping syscalls and it runs fine. Performance under strace kinda depends on whether the terminal is in truetype or bitmap mode...
<clever>
klange: i can picture how i would do that without even ptrace
<clever>
just process_vm_readv over the entire addr space, and search for anything with an int of 88, in writable ram
<clever>
then take some damage, and repeat
<klange>
ptrace is where my 'process_vm_read...' is with the PTRACE_PEEKDATA/PTRACE_POKEDATA options...
<clever>
ah
<clever>
but i may need ptrace to modify it, set a watch point to break on any write?
<clever>
and then change it back
<clever>
or a watchpoint on any attempt to read, and fake the read result
<clever>
read based, feels less racey, but more overhead
<klange>
Need to add breakpoints next, and single step. I read the Intel manual page for that stuff at some point in the last few months...
ElectronApps has joined #osdev
<klange>
Singlestep is just a bit in one of the flag regs? So I set it on return to userspace in the relevant thread and it'll do one instruction and raise an interrupt?
<bslsk05>
david942j.blogspot.com: Play With Capture The Flag: [Note] Learning KVM - implement your own kernel
<clever>
this explains how /dev/kvm works, at the low level
<clever>
so you can then implement either end of it (a vm like qemu, or a kernel supporting kvm)
<klange>
please, no, I have enough on my plate, experimenting with virtualization has no business being on my mind...
<clever>
:D
<klange>
Looks like that article just covers making a vm and building a kernel to run _in_ the vm, not the Linux kernel side of the KVM API and/or how that interacts with virtualization instructions
<clever>
but it also includes the ioctl's used to control /dev/kvm
<clever>
how to allocate ram, set cpu regs, create virtual cpus, and pause/resume
<clever>
once you know the api, you can implement either end
<clever>
klange: ive done the same thing with android-auto before, i found source on github for the headunit (radio) end of the protocol, i then filled in the blanks for the android end
<zid>
"once you know how fopen and fclose work, zfs is easy to implement" :p
<clever>
zid: well, if you already have an fs, with a different api, yes :P
<clever>
ive also got that exact problem
<clever>
LK's fs api, isnt directly compatible with fopen/fread
<clever>
but if i implement the glue between the 2, then lua's existing IO library should just work
dumbsharka has quit [Ping timeout: 264 seconds]
<clever>
zid: oh, ive even done it with opengl .....
<clever>
i had an opengl example that just drive the hw thru /dev/mem and mmap
<bslsk05>
'Creative 3D Blaster VLB: $395 DOS Graphics Card from 1995' by LGR (00:35:06)
<vai>
Vesa bus
GeDaMo has quit [Quit: Leaving.]
MarchHare has joined #osdev
huranimo has joined #osdev
Elbeeo has joined #osdev
Elbeeo is now known as AssKoala
<huranimo>
I am not even fucking sure how this could work in any other way than what i described. CMOS has 4incoming wires at least cascaded, cause two transistors gates need 4wires, those make out the state 4states, 2*2 cause the output bus is two wires, they can carry 11 00 01 10, obviously 00 and 11 come when write or read strobe is not active , when write strobe is active and data out like wdata ready signal is not there, the bus takes content, and the
<huranimo>
content can not be anything else than what i described cause it is a tri-state buffer on off and stall
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
ahalaney has quit [Remote host closed the connection]
dormito has quit [Quit: WeeChat 3.1]
<huranimo>
Yes of course there relies a big vulnerability, with many permutes, that is how they got to my computer, that is why john mcafee did those things. It can be defended somewhat, but if an armor or army of computerized alu units over tcp are put against you, commodity hw can not do nothing but to get comporomised or a servers sholder or leg
<huranimo>
when my father traited me along ith my family i knew i was done, magically enough i survived, but of course when the interest is more than usual they will comporomise your life when family allows, three papparazis are more than 1, and do more damage you know
<huranimo>
when you allocate 60cores to compromise one sevrers shoulder of the service , yeah it will carry success if the server is not something special
<huranimo>
when even my family selled info about me when i was 10 and always geve me up, i was all alone against thousounds of attackers
sortie has joined #osdev
<huranimo>
i am special , but they went paranoid and over the limit, they were desperate and i was only 1
huranimo was kicked from #osdev by sortie [Oh hey]