Is it possible to install musl as a secondary libc and then compile and link whatever program you want against it?

|
qontinuum 2022-09-09 10:37:21
Rougreh 2022-09-09 10:36:54
I recall seeing one of those in glibc by drew

DeVault?

Rougreh 2022-09-09 10:37:35
qontinuum 2022-09-09 10:37:21
DeVault?

yes

qontinuum 2022-09-09 10:38:09
No, boringSSL by Google
Rougreh 2022-09-09 10:38:30
ok
qontinuum 2022-09-09 10:41:13
Oh he has a blog, never saw
Rougreh 2022-09-09 10:48:21
qontinuum 2022-09-09 10:41:13
Oh he has a blog, never saw

o.O

Rougreh 2022-09-09 10:48:57
*I am implying that I am surprised at that*
lanciagreggori 2022-09-09 17:03:10
Is it possible to install musl as a secondary libc and then compile and link whatever program you want against it?
grakata_clem 2022-09-09 17:08:58
lanciagreggori 2022-09-09 17:03:10
Is it possible to install musl as a secondary libc and then compile and link whatever program you want against it?

Probably yes, with LD_PRELOAD, or just do the chroot

grakata_clem 2022-09-09 17:09:15
Or maybe linking it verbosely
capezotte 2022-09-09 17:35:12
lanciagreggori 2022-09-09 17:03:10
Is it possible to install musl as a secondary libc and then compile and link whatever program you want against it?

yes, arch supports that

capezotte 2022-09-09 17:35:26
mkinitcpio busybox is linked against it iirc
capezotte 2022-09-09 17:35:49
and there’s the dash-musl AUR package as an example
ItsZariep 2022-09-09 17:36:04
capezotte 2022-09-09 17:35:49
and there’s the dash-musl AUR package as an example

TeraLoL

capezotte 2022-09-09 17:36:45
ItsZariep 2022-09-09 17:36:04
TeraLoL

it takes longer to start than the community glibc package
further lols

Rougreh 2022-09-09 17:42:15
grakata_clem 2022-09-09 17:08:58
Probably yes, with LD_PRELOAD, or just do the chroot

isn’t LD_PRELOAD insecure

qontinuum 2022-09-09 17:43:29
Rougreh 2022-09-09 17:42:15
isn’t LD_PRELOAD insecure

The mechanism itself is insecure but since it is there why not using it?

Rougreh 2022-09-09 17:44:33
why hasn’t it been replaced by a more secure mechanism
qontinuum 2022-09-09 17:46:24
Rougreh 2022-09-09 17:44:33
why hasn’t it been replaced by a more secure mechanism

Because there is no secure mechanism to do what it does

capezotte 2022-09-09 17:48:09
Secure mechanism for loading arbitrary code into an executable
capezotte 2022-09-09 17:48:11
seems fun!
Spektrum_light 2022-09-09 20:05:28
@Senderman can I pm you for a sec?
Senderman 2022-09-09 20:06:13
Spektrum_light 2022-09-09 20:05:28
@Senderman can I pm you for a sec?

ofc

neokuze 2022-09-09 21:21:55
Can I ask why sddm do that?
neokuze 2022-09-09 21:22:06
artixlinux-506290.jpg

neokuze 2022-09-09 21:23:01
Whenever I close the laptop and I opened, it’s show like purple and green pixels then magically sddm works fine
herzeleid02 2022-09-09 21:26:37
neokuze 2022-09-09 21:23:01
Whenever I close the laptop and I opened, it’s show like purple and green pixels then magically sddm works fine

what gpu

neokuze 2022-09-09 21:27:14
AMD ATI Radeon Vega series mobile
neokuze 2022-09-09 21:27:42
I think it’s first gen
herzeleid02 2022-09-09 21:29:21
idk
herzeleid02 2022-09-09 21:29:21
uhh
herzeleid02 2022-09-09 21:29:27
seems like a minor issue
herzeleid02 2022-09-09 21:29:44
cant help, sorry
grakata_clem 2022-09-09 21:29:44
neokuze 2022-09-09 21:23:01
Whenever I close the laptop and I opened, it’s show like purple and green pixels then magically sddm works fine

Does it only happen with sddm?

qontinuum 2022-09-09 21:29:51
I don’t see any real issue there but you can ask upstream
|