Does SCM_RIGHTS have any portable value?

I understand how auxiliary data of type SCM_RIGHTS can be used to send file descriptors between processes on Linux. But all IEEE Std 1003.1-2008 should say this:

SCM_RIGHTS

Indicates that the data array contains the access rights to be sent or received. 

What does it mean? Is there any portable value for auxiliary data of type SCM_RIGHTS?

+4
source share
1 answer

This is because UNIX File Descriptors can be thought of as a sign of authority. It refers to a value that refers to an object along with the corresponding set of permissions.

Read Opportunities

0
source

Source: https://habr.com/ru/post/1432171/


All Articles