libdladm/dlmgmtd should do a better link name validation
lib - userland libraries
libdladm/dlmgmtd erroneously accepts link names like "aggr01" as valid. though ifconfig/ipadm are unable operate on them.
link A datalink, identified by a name. In general, the name can use any alphanumeric characters (or the underscore, _), but must start with an alphabetic character and end with a number. A datalink name can be at most 31 characters, and the ending number must be between 0 and 4294967294 (inclusive). The ending number must not begin with a zero. Datalink names between 3 and 8 characters are recommended.
Updated by Electric Monk over 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
commit 3ee56226c4efe6840fa4df649fc5a30c659db943 Author: Yuri Pankov <firstname.lastname@example.org> Date: 2016-12-21T05:25:18.000Z 7667 libdladm/dlmgmtd should do a better link name validation Reviewed by: Roman Strashkin <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>