mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-05 08:02:40 +00:00
On OpenWrt with shadow-useradd, android-vendor-start made mu300vnd and ueventd-perms.sh gave it the modem's nodes (999), but android-run had no setpriv that can switch users and ran chroot as root: the daemons switched to uid 1000 themselves and the modem never started. android-run now says which account it starts modem_control/refnotify as (--user; --switches: setpriv with --reuid is there). android-vendor-start makes the account only where android-run can use it and hands the nodes to that account (MU300_VENDOR_USER), uid 1000 otherwise. FINDINGS 41a. Reported by Xiaol1n173. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE