Function miral::socket_fd_of

Function Documentation

auto miral::socket_fd_of(Application const &application) -> int

Returns the file descriptor of the client’s socket connection, or -1 if there is no client socket. May be used for authentication with apparmor. X11 apps always return -1, since they do not connect directly to the Mir process.

Remark

Since MirAL 3.4