Sarang S. Dalal
ba3ae093ed
add comment to explain kernel_read
2018-01-23 00:58:08 +01:00
Sarang S. Dalal
0af5a76743
added kernel version check for calling kernel_read vs vfs_read
...
added kernel version check for calling kernel_read vs vfs_read, as suggested here:
55d5699429
2018-01-23 00:18:18 +01:00
Sarang S. Dalal
f633d641c2
replace deprecated vfs_read with kernel_read
...
See https://github.com/anbox/anbox/issues/486 and related issue with ashmem and ZFS:
https://github.com/zfsonlinux/spl/issues/656
2017-10-29 10:23:31 +01:00
Tomasz Maciej Nowak
19110b824f
dkms: fix modules build with more kernel versions
...
The Makefile for ashmem and binder have this line:
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
so dkms will always build those modules against running kernel,
even for other kernel version headers. With this commit dkms will
always provide the necessary kernel version.
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2017-06-05 15:46:32 +02:00
Simon Fels
c32e200638
Add dkms packaging for our kernel modules
2017-02-07 12:12:23 +01:00
Ricardo Mendoza
498513c7ab
Add protection key to calc_vm_prot_bits() if building under kernel >= 4.5.0
2017-01-18 14:13:38 +01:00
Simon Fels
f2110223d1
kernel: ashmem: use kallsyms_lookup_name for internal symbol access
2016-12-06 08:29:59 +01:00
Simon Fels
744be4cf5e
Add install targets for our kernel modules
2016-09-17 10:48:24 +02:00
Simon Fels
acafc66bdf
Make ashmem driver loadable as kernel module
2016-08-19 09:25:16 +02:00
Simon Fels
34e5e70926
Add binder and ashmem kernel drivers as out-of-tree modules
...
Based on code from https://github.com/hungys/binder-for-linux
2016-08-19 09:11:29 +02:00