• Home
  • History
  • Annotate
  • only in /frameworks/native/cmds/servicemanager/
History log of /frameworks/native/cmds/servicemanager/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2a0e40945b5f7adf2055b2f439b3ba4c6389ddc3 08-Jul-2014 Riley Spahn <rileyspahn@google.com> Add MAC for remaining service_manager functionality.

Add SELinux MAC for the list and find functionality
to service_manager. By default the list action uses
the service_manager_type attribute as its target
object.

(cherry picked from commit c67e6307cadb1f2cd876907c42d39b8374b93acd)

Change-Id: Iaf14b21346822a6b544091a0f4a9949117934b9a
ervice_manager.c
652c485467598240ecbb3a60516ad1140eddfab1 13-Jul-2014 Nick Kralevich <nnk@google.com> service_manager: check binder passed lengths

1) Pass length through to str8 function.
2) Fix implicit function definition warning.
3) Check for NULL from bio_get_string16 functions.

Bug: 15886919
Bug: 15888753

(cherry picked from commit 7d42a3c31ba78a418f9bdde0e0ab951469f321b5)

Change-Id: I1f826b88826561ea126d811c087ba30623141511
ervice_manager.c
1244edcb85811e9e58d9d40fd05f10dd22e497ca 26-Jun-2014 Riley Spahn <rileyspahn@google.com> Remove inline access control in service_manager.

Remove the hardcoded tuples of UIDs and the services that
each is allowed to register. We will rely only on permissions
from SELinux.

Change-Id: I1c44555a6e274814282398865b30ee938f40dabb
ervice_manager.c
69154df9efd3ffb7580b72a0138f58a2f5443db6 05-Jun-2014 Riley Spahn <rileyspahn@google.com> Add SELinux checks when adding a service.

Add a MAC check to the svc_can_register function in
service_manager. The types are defined in
external/sepolicy/service.te and the mapping from service
names is defined in external/sepolicy/service_contexts.
Currently uses the property context backend to parse the
contexts file.

Bug: 12909011
Change-Id: I5d90a614263c60571c7c70c2882e6fa929911ca5
ndroid.mk
ervice_manager.c
f3ad11cf3ce60436bcdeec577d1e35c67ccae460 03-Feb-2014 Arve Hjønnevåg <arve@android.com> Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_ TARGET_IS_64_BIT is set.

Change-Id: I46a29939fa29ec9421ab6dff3285502f69a31745
ndroid.mk
e5245cbf5d4e830cf605ef07f5d284d7c5d2867e 29-Jan-2014 Arve Hjønnevåg <arve@android.com> ServiceManager: Implement PING_TRANSACTION

Stop printing "invalid id " to stderr every time a process tries to
connect to the servicemanager.

Change-Id: Ib0e5a0375bfa2dec2c2f9cd668bd5dda46ed6588
inder.h
ervice_manager.c
399b6c3bbc0d887ab016a8bb686ff16d36edc6c8 29-Jan-2014 Arve Hjønnevåg <arve@android.com> ServiceManager: Use 32/64 bit types from new binder header

Change-Id: I1bd7c38ed9f43125cf9c63aa533434ee7ca06f80
inder.c
inder.h
e91fff0a2dfe7d312286b140c8069c820627da8c 29-Jan-2014 Arve Hjønnevåg <arve@android.com> Add BINDER_IPC_32BIT to CFLAGS unless TARGET_USES_64_BIT_BINDER is true

Change-Id: I96c643123b0314c361b7f48a18d5c22c660d4ff5
ndroid.mk
3a345f0df5f62d77e875a289e9aee89f0d1b526e 19-Dec-2013 Serban Constantinescu <serban.constantinescu@arm.com> ServiceManager: Fix the binder interface

This patch adds support for binder transactions on 64bit systems
without breaking the existing 32bit ABI. It has been tested on
the Android emulator and ARMv8 Model.

Most of the changes in this patch just follow the binder ABI.

Change-Id: I8c37b847ea65008d56554d34d4696fe3d22f7533
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
ctest.c
inder.c
ervice_manager.c
5fb1b8836aa5cf0f38b49bc7bfb8343b84fdf9bf 30-Jan-2014 Serban Constantinescu <serban.constantinescu@arm.com> ServiceManager: Store handles in uint32_t instead of void *

This patch corrects the types used for storing handles.

Change-Id: If9c10782345f1de9e12b4b3fd6be9e02e6b568cd
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
ctest.c
inder.c
inder.h
ervice_manager.c
9b738bb4110926b85da65d36b2e6f1a50199ec4c 10-Jan-2014 Serban Constantinescu <serban.constantinescu@arm.com> ServiceManager: Generic Fixes

This patch fixes some of the ServiceManager issues. The following patches
of the series add fixes to the ABI.

Change-Id: Ib479234c8704e12592f1b149ddec67881bc50230
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
inder.c
inder.h
ervice_manager.c
a44542ca74b7da5b44ba30c205c3244805bb0600 30-Jan-2014 Serban Constantinescu <serban.constantinescu@arm.com> ServiceManager: Add extra error handling

This patch extends the error handling. It also adds a check for a matching
binder version - kernel/userspace.

Change-Id: I43a262934b38c5711536aaa42754fed1ef04b39e
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
ctest.c
inder.c
ervice_manager.c
dc832dc5513f0767c153f90a57356c3466f45dd4 30-Jan-2014 Serban Constantinescu <serban.constantinescu@arm.com> ServiceManager: Fix Android.mk

This patch fixes Android.mk and enables building bctest as an optional
module without any extra hacks.

Change-Id: Icaf8bf9452776db2ea4a2ba75f3abf05b4e2cdab
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
ndroid.mk
bcf38880c65297da58194eb0c0ce8d6e2bab7d94 10-Jan-2014 Serban Constantinescu <serban.constantinescu@arm.com> ServiceManager: Make use of kernel exported structures

This patch switches ServiceManager to use the structures exported in the
kernel headers rather then redefining its own.

struct binder_txn is replaced with struct binder_transaction_data and struct
binder_object with struct flat_binder_object, both defined in the binder driver
header <linux/binder.h>.

Change-Id: I3b3e97918173ea35a289e184774ae06193192da3
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
inder.c
inder.h
ervice_manager.c
64c8be07878a6a110e5386c5f789fa9db51c5746 16-Jan-2013 Glenn Kasten <gkasten@google.com> Add media.log service

Change-Id: Ic17752fff30676fe692c80260ff68284543385dd
ervice_manager.c
244408786cf1f374eeacbf6d16dd5a6f7b5e3c59 15-Nov-2012 Kenny Root <kroot@google.com> Switch keystore to binder

Change-Id: Ie15781de079e8ecc9616cab9a5e392f5c814d9d8
ervice_manager.c
94afecf4b6f437b3ee9a076242402e421c6c07a6 24-Oct-2012 Mike Lockwood <lockwood@google.com> Move non-Java commands over from frameworks/base

Change-Id: I0571813c1cfcf66abd36eb9f178fc49b618e88a6
Signed-off-by: Mike Lockwood <lockwood@google.com>
ndroid.mk
ctest.c
inder.c
inder.h
ervice_manager.c