cadets / freebsd-old

FreeBSD src tree http://www.FreeBSD.org/
Other
12 stars 7 forks source link

Add uuid_get_fd(2), uuid_get_file(2), and uuid_get_link(2) system calls #61

Closed rwatson closed 7 years ago

rwatson commented 7 years ago

Now that many key file-descriptor-backed objects have UUIDs, add new system calls uuid_get_fd(2), uuid_get_file(2), and uuid_get_link(2) to allow them to be queried by userspace applications.

rwatson commented 7 years ago

I may name these fgetuuid(2), getuuid(2), and lgetuuid(2) for consistency with other similar system calls. Unclear if we'll want at(2) variants.

rwatson commented 7 years ago

In the future we might want to add at(2) variants for improved Capsicum support, but not required to get going.