cousteau has quit [Quit: ♫ I can't forget the day I shot that network down ♫]
DesRoin has quit [Ping timeout: 260 seconds]
DesRoin has joined #riscv
sjs has quit [Remote host closed the connection]
sjs has joined #riscv
OwlWizard has quit [Quit: OwlWizard]
naoki has quit [Quit: naoki]
beber_ has quit [Quit: Gateway shutdown]
beber_ has joined #riscv
beber_ has quit [Client Quit]
beber_ has joined #riscv
beber_ has quit [Client Quit]
beber_ has joined #riscv
beber_ has quit [Quit: Gateway shutdown]
beber_ has joined #riscv
Tenkawa has quit [Quit: Was I really ever here?]
fuwei has quit [Remote host closed the connection]
vagrantc has quit [Ping timeout: 256 seconds]
jacklsw has joined #riscv
BootLayer has joined #riscv
khem has quit [Quit: Connection closed for inactivity]
handsome_feng has joined #riscv
sakman_ is now known as sakman
jacklsw has quit [Ping timeout: 264 seconds]
Stat_headcrabed has joined #riscv
Stat_headcrabed has quit [Quit: Stat_headcrabed]
mlw has joined #riscv
BootLayer has quit [Quit: Leaving]
handsome_feng has quit [Quit: Connection closed for inactivity]
vagrantc has joined #riscv
vagrantc has quit [Quit: leaving]
fuwei has joined #riscv
JanC has quit [Ping timeout: 268 seconds]
naoki has joined #riscv
mlw has quit [Ping timeout: 268 seconds]
mlw has joined #riscv
khem has joined #riscv
mlw has quit [Ping timeout: 264 seconds]
JanC has joined #riscv
junaid_ has joined #riscv
ldevulder has quit [Quit: Leaving]
jljusten has quit [Quit: WeeChat 4.1.1]
jljusten has joined #riscv
JanC has quit [Ping timeout: 255 seconds]
junaid_ has quit [Remote host closed the connection]
jacklsw has joined #riscv
jacklsw has quit [Quit: Back to the real world]
jacklsw has joined #riscv
mlw has joined #riscv
jacklsw has quit [Quit: Back to the real world]
khem has quit [Quit: Connection closed for inactivity]
naoki has quit [Quit: naoki]
jacklsw has joined #riscv
jacklsw has quit [Quit: Back to the real world]
jacklsw has joined #riscv
jacklsw has quit [Client Quit]
jacklsw has joined #riscv
jacklsw has quit [Client Quit]
mlw has quit [Ping timeout: 268 seconds]
mlw has joined #riscv
junaid_ has joined #riscv
Stat_headcrabed has joined #riscv
Stat_headcrabed1 has joined #riscv
Stat_headcrabed has quit [Ping timeout: 260 seconds]
Stat_headcrabed1 is now known as Stat_headcrabed
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<sorear>
[linux] register zeroing on execve is much more complicated and I'm not quite sure how to handle it. both loongarch and powerpc backed out of full register zeroing because the syscall number is in a register and is needed for syscall exit tracepoints
<sorear>
we need to zero the syscall register because this is the only reasonable way for userspace to know if the _other_ registers contain garbage from the old process image or potentially valid information from ELF_FDPIC_PLAT_INIT/FLAT_PLAT_INIT
<sorear>
but that seems to require adding an orig_a7 to pt_regs or something along those lines (not that we'd be the first architecture to do this, arm, arm64, hexagon, mips, xtensa all have dedicated storage for syscall# in pt_regs or thread_info)
KREYREN has joined #riscv
KREYREN has quit [Remote host closed the connection]
Stat_headcrabed has joined #riscv
BootLayer has joined #riscv
Stat_headcrabed1 has joined #riscv
lzrd has quit [Quit: leaving]
Stat_headcrabed has quit [Ping timeout: 260 seconds]
Stat_headcrabed1 is now known as Stat_headcrabed
Stat_headcrabed has quit [Client Quit]
JanC has joined #riscv
Tenkawa has joined #riscv
psydroid has joined #riscv
<sorear>
elf forward compatibility is a massive mess, linux doesn't even check EI_OSABI or any of the reserved bits in e_flags, can't tell if freebsd is better
jacklsw has joined #riscv
lzrd has joined #riscv
JanC has quit [Ping timeout: 255 seconds]
JanC has joined #riscv
junaid_ has quit [Quit: Lost terminal]
junaid_ has joined #riscv
beber_ has quit [Quit: Gateway shutdown]
beber_ has joined #riscv
ntwk has quit [Read error: Connection reset by peer]
JanC has quit [Ping timeout: 255 seconds]
JanC has joined #riscv
JanC has quit [Excess Flood]
JanC has joined #riscv
JanC has quit [Excess Flood]
JanC has joined #riscv
JanC_ has joined #riscv
JanC is now known as Guest7099
JanC_ is now known as JanC
wgrant has quit [Ping timeout: 268 seconds]
Guest7099 has quit [Ping timeout: 260 seconds]
JanC has quit [Read error: Connection reset by peer]
Noisytoot has quit [Remote host closed the connection]
Noisytoot has joined #riscv
___nick___ has joined #riscv
<sorear>
arc, arm32, and mips32 are the only linux kernel architectures that do any kind of "reserved must-be-zero bits for forward compatibility -> ENOEXEC" thing. why? is forward compatibility considered obsolete?
___nick___ has quit [Remote host closed the connection]
junaid_ has quit [Remote host closed the connection]
Tenkawa has quit [Quit: Was I really ever here?]
<dh`>
my guess would be unclear on the concept between feature bits that mean "there is something here you don't understand and you shouldn't try to read it" and "there is something here you don't understand but it's backwards compatible and therefore you can ignore"
<dh`>
s/concept/difference/
<dh`>
re zeroing registers on exec, not doing so seems like a bug that's eventually going to bite someone
<dh`>
especially if there's a privilege/security boundary
JanC has quit [Ping timeout: 268 seconds]
JanC has joined #riscv
naoki has joined #riscv
vagrantc has joined #riscv
naoki has quit [Quit: naoki]
<sorear>
the other architectures will exec absolutely any ELF file with the right EI_MAG[0-3], e_machine, type of EXEC or DYN, loongarch, parisc, riscv, s390 also check EI_CLASS, the others don't even do that