You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See AppImage/type2-runtime#88 for additional context. Using PIE is an advantage security wise (it allows the kernel to apply ASLR, non-PIC code cannot be loaded that way). Also, it allows the runtime to be launched via https://github.com/io12/userland-execve-rust, which is a convenient way for tools like AppImageLauncher to launch statically linked runtimes while bypassing binfmt_misc. It doesn't cost anything either and should be possible with any modern compiler toolchain.
Activity
probonopd commentedon Nov 28, 2024
Please elaborate the motivation for this. Especially why you think it should be a "must".
TheAssassin commentedon Nov 28, 2024
See AppImage/type2-runtime#88 for additional context. Using PIE is an advantage security wise (it allows the kernel to apply ASLR, non-PIC code cannot be loaded that way). Also, it allows the runtime to be launched via https://github.com/io12/userland-execve-rust, which is a convenient way for tools like AppImageLauncher to launch statically linked runtimes while bypassing binfmt_misc. It doesn't cost anything either and should be possible with any modern compiler toolchain.