platform_system_core/rootdir
Sandeep Patil 5fee496e62 socket: uevent: use SO_RCVBUF instead of SO_RCVBUFFORCE
The SO_RCVBUFFORCE option requires the caller of uevent_create_socket()
to have net_admin capabilities.

Set platform default rcv/snd buffer sizes to 256kb that will always be
overridden by the device/target. However, it will allow
ueventd / healthd to use the uevent_create_socket() API w/o requiring
the net_admin capability.

Note: All devices override the buffer sizes according to the technology
maximum to at least ~8MB. So, the init.rc change here is to make sure
platform code can work w/o any overrides.

Test: no SELinux failures for healthd with 'net_admin' removed.

Bug: https://b/32733887

Change-Id: Ida346468cd550ad07901bf3a78ad508939849906
Signed-off-by: Sandeep Patil <sspatil@google.com>
2016-12-09 15:16:28 -08:00
..
etc Add camera2 NDK library to public library lists 2016-03-18 12:33:19 -07:00
Android.mk Merge "change /data/bugreports to /bugreports" 2016-11-23 00:11:13 +00:00
asan.options Asan.options: Use abort_on_error 2016-08-16 15:45:56 -07:00
asan.options.off.template Rootdir: Add more asan.options support 2016-06-23 14:45:35 -07:00
init-debug.rc init-debug.rc: mount debugfs 2016-03-07 16:56:06 +02:00
init.environ.rc.in am eaa97876: am 2e8d31f6: Merge "SANITIZE_TARGET: set global ASAN_OPTIONS" 2015-06-24 18:12:24 +00:00
init.rc socket: uevent: use SO_RCVBUF instead of SO_RCVBUFFORCE 2016-12-09 15:16:28 -08:00
init.usb.configfs.rc init: usb: delete rndis func to unregister n/w interface 2016-07-19 13:11:50 +05:30
init.usb.rc Remove redundant action triggers on persist.sys.usb.config 2016-08-01 21:56:23 +00:00
init.zygote32.rc Merge "give zygote AID_READPROC" 2016-11-03 18:15:04 +00:00
init.zygote32_64.rc Merge "give zygote AID_READPROC" 2016-11-03 18:15:04 +00:00
init.zygote64.rc Merge "give zygote AID_READPROC" 2016-11-03 18:15:04 +00:00
init.zygote64_32.rc Merge "give zygote AID_READPROC" 2016-11-03 18:15:04 +00:00
ueventd.rc Add hwbinder dev node permissions. 2016-09-26 00:23:51 -07:00