Commit graph

19 commits

Author SHA1 Message Date
Christian Brauner
bc49596105
binder: do not spew useless warnings in dmesg
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2017-08-22 15:32:23 +02:00
Christian Brauner
2f90429a07
udev: use wildcard to capture all binder devices
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2017-08-21 14:40:58 +02:00
Christian Brauner
3af7d1793d
binder: use own major number
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2017-08-21 14:40:58 +02:00
Simon Fels
c77ca2a297 binder: update to latest version and fix build on older kernels
This backports the binder driver from the latest upstream linux
kernel tree as of v4.13-rc3-118-g19ec50a43 and enables a working
build on older kernels (e.g. 4.4).

The newer driver allows specification of multiple binder device
nodes but for the moment we only enable the default "binder" one.
2017-08-04 07:54:53 +02: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
fd615c3989 Add kernel patches to add namespace support to binder 2017-04-26 19:31:17 +02:00
Simon Fels
432bb8d58b Rework debian packaging to include things from anbox-installer 2017-04-20 20:04:42 +02:00
Simon Fels
564707b4ec Fetch correct dkms version from deban package in post install 2017-02-23 19:13:18 +01:00
Simon Fels
ece577cc16 kernel: update changelog 2017-02-21 07:37:31 +01:00
Simon Fels
3f3e25de04 kernel: extract current version from debian changelog
Thanks to Marius Gripsgard <mariogrip@ubuntu.com> for the fix.
2017-02-21 07:33:33 +01:00
Simon Fels
4ff9a63c5c Silence binder driver for rlimit failures 2017-02-07 12:12:23 +01: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
2095bebe0b kernel: binder: use kallsyms_lookup_name for internal symbol access 2016-12-06 08:29:59 +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
d46e471b9d Make binder driver loadable as kernel module 2016-08-19 09:28:04 +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