平衡点
2008/04/15
_ ガジェット購入
乙部さんから Wii のリモコンを貰ったので, Wii のリモコンでプレゼンをしたい欲が出ました. ので, Bluetooth の受光部が欲しかったので, 日曜にヨドバシをウロウロ. 意外と種類があってびっくり.
とりあえず, 購入.
PLANEX Bluetooth Ver2.0+EDR対応 USBアダプタ(Class 1) BT-MiniEDRW
プラネックス
アマゾンのレビューを読むと, 一度に複数台と接続できないらしいけれど, まあ困らないでしょう.
とりあえず指してみる
usb 2-2: new full speed USB device using uhci_hcd and address 2 usb 2-2: configuration #1 chosen from 1 choice Bluetooth: Core ver 2.11 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: HCI USB driver ver 2.9 usbcore: registered new interface driver hci_usb
...見えるみたいですね. 続きは今度.
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