aboutsummaryrefslogtreecommitdiffstats
path: root/src/fshaper
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-06-13 18:30:25 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-06-13 21:25:35 -0300
commiteb6c61154c37605842c3fed906405e3d9653f1ae (patch)
treeb64715d14adeaa7739a92c46bac0235393d7f077 /src/fshaper
parentutil.c: check first/last char and allow extra chars (diff)
downloadfirejail-eb6c61154c37605842c3fed906405e3d9653f1ae.tar.gz
firejail-eb6c61154c37605842c3fed906405e3d9653f1ae.tar.zst
firejail-eb6c61154c37605842c3fed906405e3d9653f1ae.zip
Standardize name/hostname checks
Changes: * Use only `invalid_name` to check the name and hostname instead of ad-hoc checks * Standardize empty/invalid error messages for name/hostname Note: This makes the hostname validation less strict, though it still forbids control characters and only numbers. Relates to #5578 #5708. See also commit b4ffaa207 ("merges; more on cleaning up esc chars", 2023-02-14).
Diffstat (limited to 'src/fshaper')
0 files changed, 0 insertions, 0 deletions