3087 libuuid has a lot of dependencies
Review Request #2434 — Created Nov. 4, 2019 and updated — Latest diff uploaded
Information | |
---|---|
gwr | |
illumos-gate | |
3087 | |
Reviewers | |
general | |
3087 libuuid has a lot of dependencies
The "get my ARP entry" method is fragile (depends on hostname resolving to an external IP address) and not worth the trouble. We can do just as well (and arguably better) by doing like most other libuuid implementations do and just use ioctl SIOCGIFCONF, SIOCGIFHWADDR (or similar).
Ran uuidgen as both root and a regular user, and examined truss outputs.