平衡点
2025/04/03
_ 居室ルータのネットワーク上流が死んでた.
hostname は XXXXX にしてるけど.
: 3月 31 07:26:16 XXXXX systemd-networkd[660]: enp2s0: Lost carrier 3月 31 07:26:16 XXXXX kernel: r8169 0000:02:00.0 enp2s0: Link is Down 3月 31 07:26:19 XXXXX systemd-networkd[660]: enp2s0: Gained carrier 3月 31 07:26:19 XXXXX kernel: r8169 0000:02:00.0 enp2s0: Link is Up - 1Gbps/Full - flow control rx/tx :
…はて. 何だろうか?
check interval 弄るとか, Link up の際に諸々再設定するとか, どうやるんだったっけ…
2025/04/15
_ glibc の executable stack
古いバイナリを使い続けてる時にハマったりするのかな. まあ, 某バイナリなんかは memory randomization の段階で既に使えなくなっている気もするが.
glibc (2.41-7) unstable; urgency=medium
Starting with glibc 2.41, shared libraries requiring an executable stack cannot be dynamically loaded through the dlopen mechanism from a binary that does not require an executable stack. This change aims to improve security, as the previous behavior was used as a vector for RCE (CVE-2023-38408). Attempting to do so will result in the following error:
cannot enable executable stack as shared object requires: Invalid argument
While most libraries generated in the past 20 years do not require an executable stack, some third-party software still need this capability. Many vendors have already updated their binaries to address this.
If you need to run a program that requires an executable stack through dynamic loaded shared libraries, you can use the glibc.rtld.execstack tunable:
Glibc6_TUNABLES=glibc.rtld.execstack=2 ./program
– Aurelien Jarno <aurel32@debian.org> Sun, 13 Apr 2025 14:41:11 +0200