wayland/src
Sung-Jin Park eb52bb8e14 server: Add an API to get the file descriptor for a client
This adds an API to get the file descriptor for a client.
The client file descriptor can be used for a wayland compositor to validate
a request from a client if there are any additional information provided from
the client's file descriptor.

For instance, this will be helpful in some linux distributions, in which SELinux
or SMACK is enabled. In those environments, each file (including socket) will have
each security contexts in its inode as xattr member variable. A wayland compositor
can validate a client request by getting the file descriptor of the client and
by checking the security contexts associated with the file descriptor.

Signed-off-by: Sung-Jin Park <input.hacker@gmail.com>
2016-01-19 14:52:54 -08:00
..
.gitignore gitignore: adpat to scanner and protocol path changes 2014-11-19 16:35:49 +02:00
connection.c server: Add an API to get the file descriptor for a client 2016-01-19 14:52:54 -08:00
dtddata.S scanner: drop altmacro from dtddata.S 2015-11-19 09:48:11 +02:00
event-loop.c event-loop: remove extra header 2015-11-16 11:42:01 -08:00
scanner.c Track protocol object versions inside wl_proxy. 2016-01-19 13:58:50 -06:00
scanner.mk Rename source subdir from wayland to src 2011-08-12 16:25:14 -04:00
wayland-client-core.h Track protocol object versions inside wl_proxy. 2016-01-19 13:58:50 -06:00
wayland-client-uninstalled.pc.in build: add uninstalled pkg-config files 2012-05-29 10:09:59 -04:00
wayland-client.c Track protocol object versions inside wl_proxy. 2016-01-19 13:58:50 -06:00
wayland-client.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-client.pc.in Export the Wayland protocol XML file 2013-09-21 21:48:56 -07:00
wayland-egl-core.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-egl.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-os.c src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-os.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-private.h server: Add an API to get the file descriptor for a client 2016-01-19 14:52:54 -08:00
wayland-scanner-uninstalled.pc.in build: Add wayland-scanner.pc. 2013-07-03 16:38:12 -04:00
wayland-scanner.pc.in build: Add wayland-scanner.pc. 2013-07-03 16:38:12 -04:00
wayland-server-core.h server: Add an API to get the file descriptor for a client 2016-01-19 14:52:54 -08:00
wayland-server-uninstalled.pc.in build: add uninstalled pkg-config files 2012-05-29 10:09:59 -04:00
wayland-server.c server: Add an API to get the file descriptor for a client 2016-01-19 14:52:54 -08:00
wayland-server.h src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00
wayland-server.pc.in Export the Wayland protocol XML file 2013-09-21 21:48:56 -07:00
wayland-shm.c doc: Fix incorrect parameter name 2016-01-12 12:13:12 +08:00
wayland-util.c add wl_abort private function 2015-11-16 12:58:43 -08:00
wayland-util.h cosmetic: fix inconsistent code style with header prototypes. 2015-10-26 10:50:48 -07:00
wayland-version.h.in src: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:31:24 -07:00