]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce falloc_caps() to create descriptors with capabilties in place.
authorEd Schouten <ed@FreeBSD.org>
Wed, 29 Jul 2015 17:16:53 +0000 (17:16 +0000)
committerEd Schouten <ed@FreeBSD.org>
Wed, 29 Jul 2015 17:16:53 +0000 (17:16 +0000)
commite555b4309c337304587b7fda6ebda106d6854758
treecf6982dffe49b87757079180b1fd5c615947e4a5
parent8843746ab4cf9818ef5bf400f6f5045297a42c78
Introduce falloc_caps() to create descriptors with capabilties in place.

falloc_noinstall() followed by finstall() allows you to create and
install file descriptors with custom capabilities. Add falloc_caps()
that can do both of these actions in one go.

This will be used by CloudABI to create pipes with custom capabilities.

Reviewed by: mjg
sys/kern/kern_descrip.c
sys/sys/filedesc.h