openwrt/package/base-files/files/lib
Thomas Winkler ccac75a37f base-files: fix uid/gid auto-enumeration to avoid 16-bit limit
uid/gid range should be limited to 16bit unsigned integer range to
avoid "wraparound" issues with permissions where jffs2
is employed for storage and chown 65536 (first auto-created user)
becomes equivalent to chown 0

Fixes: #13927

Signed-off-by: Thomas Winkler <tewinkler86@gmail.com>
(cherry picked from commit 140b48a9e9)
Link: https://github.com/openwrt/openwrt/pull/15898
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-07-08 21:13:26 +02:00
..
functions base-files: minor fix to mmc_get_mac_ascii function 2024-07-02 09:05:52 +02:00
preinit base-files: Do not break on non-eth ports 2023-05-09 22:54:38 +02:00
upgrade base-files: sysupgrade: Add 2 sec sleep into process KILL loop 2023-09-12 14:53:40 +02:00
functions.sh base-files: fix uid/gid auto-enumeration to avoid 16-bit limit 2024-07-08 21:13:26 +02:00