mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-07 01:50:15 +01:00
eis: Clarify mmap restrictions on keymap
Require to mmap using MAP_PRIVATE, to allow sealing. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
05438a17df
commit
8571060bf8
1 changed files with 1 additions and 1 deletions
|
|
@ -859,7 +859,7 @@ eis_device_resume(struct eis_device *device);
|
|||
* @param type The type of the keymap.
|
||||
* @param fd A memmap-able file descriptor of size @a size pointing to the
|
||||
* keymap used by this device. @a fd can be closed by the caller after this
|
||||
* function completes.
|
||||
* function completes. The file descriptor needs to be mmap:ed with MAP_PRIVATE.
|
||||
* @param size The size of the data at @a fd in bytes
|
||||
*
|
||||
* @return A keymap object or `NULL` on failure.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue