[PATCH 06/11] capsicum: implement sockfd_lookupr()

2014-07-25 Thread David Drysdale
Add variants of sockfd_lookup() and related functions where the caller indicates the operations that will be performed on the socket. If CONFIG_SECURITY_CAPSICUM is defined, these variants use the fgetr()-style functions to retrieve the struct file from the file descriptor. If CONFIG_SECURITY_CAP

[PATCH 06/11] capsicum: implement sockfd_lookupr()

2014-06-30 Thread David Drysdale
Add variants of sockfd_lookup() and related functions where the caller indicates the operations that will be performed on the socket. If CONFIG_SECURITY_CAPSICUM is defined, these variants use the fgetr()-style functions to retrieve the struct file from the file descriptor. If CONFIG_SECURITY_CAP