aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
Commit message (Collapse)AuthorAgeFilesLines
* Revert "init.rc: Create /storage mountpoint so Dalvik can mark as slave in ↵Ricardo Cerqueira2014-12-281-2/+0
| | | | | | | | zygotes" This reverts commit 36454361efaa4d30a6c8c2cca49121e35ef74f7e, since the tmpfs is clobbering mountpoints created by init.hardware.rc. Most (all?) devices with non-emulated SDs are currently b0rked. Change-Id: Ib34660e2d45473775757e94800fc4ec57f6c8d77
* rootdir: root consolePaul Kocialkowski2013-12-231-2/+2
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Revert "init.goldfish.rc: use ext4"Paul Kocialkowski2013-11-091-8/+0
| | | | This reverts commit ac8ccace4b5355b108a69ea1ecc4ed54bc1303be.
* Fix perms on /data/securityWilliam Roberts2013-07-181-1/+1
| | | | | | | | installd and zygote need to be able to search the directory to access the policy files. Change-Id: I0679fd2084d2664dfb5a594f493317eff058415d
* Auditd initial commitWilliam Roberts2013-07-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | Initial commit for an audit daemon that writes kernel audit messages to a log file. The daemon runs in uid "audit" or AID_AUDIT. The log files are located at /data/misc/audit/ The daemon maintains two files at this location: audit.log and optionally audit.old. On boot ( if the file is non-zero in size), or when a fixed threshold is hit, the daemon rotates audit.log to audit.old. Optionally, if passed the -k option, the daemon polls dmesg for all lines that contain "audit" and writes them into the log. After that it continues to operate as normal, receiving the messages from the netlink socket. Change-Id: I5b5037a5a8b39a054213848249afb7808f8b0ffa
* Fix mode on /data/security.Stephen Smalley2013-07-181-1/+1
|
* Create a new location for /data policy filesWilliam Roberts2013-07-181-0/+3
| | | | | | | | | | Updating the location of policy files from /data/system to /data/securtiy. Requires a new directory to be created by init and an update to the location of the property_contexts file for property service. Change-Id: Ibac2a84dfb403339bd169787cb5b7f24655be429
* Allow system UID to setenforce and set booleans for SELinux.Stephen Smalley2013-07-181-0/+10
| | | | | | Allow system UID to setenforce and set booleans for SELinux. Boolean ownerships must also be reset upon policy reload as the boolean files in selinuxfs are regenerated to match the new policy.
* init.goldfish.rc: use ext4Chirayu Desai2013-07-131-0/+8
| | | | Change-Id: Ib5e0bb0d199f09c9cb2d5903f77fae896d4720d6
* rootdir: Set permissions for additional interactive sysfs nodesGiulio Cervera2013-07-121-0/+2
| | | | Change-Id: I2dbcdcc199c5f75d08e8ebf41cd6768c7648e27b
* rootdir: Set permissions for additional ondemand sysfs nodesSteve Kondik2013-06-291-0/+5
| | | | Change-Id: Id39cab7ab69ea8f67de99f5b4ee342e2c52ebedd
* Merge "init.rc: setup qtaguid group ownership of ctrl and stat files" into ↵Ricardo Cerqueira2013-06-111-0/+6
|\ | | | | | | cm-10.1
| * init.rc: setup qtaguid group ownership of ctrl and stat filesJP Abgrall2013-05-201-0/+6
| | | | | | | | | | | | | | | | | | | | This will help get rid of android_aid.h in the kernel. The group of the proc entries will be used in place of the default values picked up by the xt_qtaguid netfilter module (AID_NET_BW_STATS, AID_NET_BW_ACCT). This change has no effect until the matching kernel changes are submitted. Change-Id: I3c177e7b5caf9c59300eba6bd4a976634b333674
* | init: provide initial pemissions for ondemand governorGiulio Cervera2013-05-211-26/+47
|/ | | | | | also set all governor permissions a bit late Change-Id: I5c1445b31bcaf34a535efd7438fd612ada460ea2
* init: Load init.carrier.rc for carrier-specific bitsSteve Kondik2013-04-301-0/+1
| | | | Change-Id: I941230f035182e27bd62316b594ac457316c37b6
* Set permissions on io_is_busy node for interactive governorSteve Kondik2013-03-221-0/+1
| | | | Change-Id: I9dce40b0680fdb594f415aade22dbd92ebffa43c
* init: create mountpoint for fusecodeworkx2013-02-191-0/+4
| | | | Change-Id: I8bd80bbcacc8f01ac4df17e013d3d68d2b86e02f
* Merge tag 'android-4.2.2_r1' of ↵Steve Kondik2013-02-122-0/+3
|\ | | | | | | | | | | https://android.googlesource.com/platform/system/core into 1.1 Android 4.2.2 release 1
| * rootdir: init.rc: set perms for cpufreq governor boostpulse_durationTodd Poynor2012-12-191-0/+2
| | | | | | | | Change-Id: I09b9a1ed548e4ffe1232f583e8ff5f026760f616
| * init.usb.rc: set sys.usb.config to none before changing itBenoit Goby2012-12-051-0/+1
| | | | | | | | | | | | | | | | | | On encrypted devices, persistent properties are loaded after the device is decrypted. To properly change sys.usb.config to its persistent value, it must first be set to "none" and then to ${persist.sys.usb.config}. Bug: 7678835 Change-Id: I4f91245cedc04e3178ce9cee21390f5b657733c9
* | rootdir: set perms on ondemand governor's up_thresholdjt11342013-02-081-0/+1
| | | | | | | | Change-Id: I0a042a81be677821fa4099a3e19281d390dd27c3
* | rootdir: Set perms on interactive governor's min_sample_timeSteve Kondik2013-02-071-0/+1
| | | | | | | | Change-Id: I75e9f424af731bdf1ca222eee2f4f18b20a6552b
* | init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotesMike Kasick2013-01-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Mount a tmpfs as /storage in order to create a mountpoint, so that Dalvik can later mark /storage as slave in zygotes. Must mount in early-init as some devices' init.hardware.rc populate /storage then, which the tmpfs would overwrite if mounted later. Must use tmpfs as rootfs can't be bind mounted (otherwise "mount rootfs /storage /storage bind" would work as an alternative).
* | Revert "init.rc: Create /storage mountpoint so Dalvik can mark as slave in ↵Ricardo Cerqueira2013-01-211-2/+0
| | | | | | | | | | | | | | | | zygotes" This reverts commit 36454361efaa4d30a6c8c2cca49121e35ef74f7e, since the tmpfs is clobbering mountpoints created by init.hardware.rc. Most (all?) devices with non-emulated SDs are currently b0rked. Change-Id: Ib34660e2d45473775757e94800fc4ec57f6c8d77
* | init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotesMike Kasick2013-01-101-0/+2
| | | | | | | | | | | | | | | | Mount a tmpfs as /storage in order to create a mountpoint, so that Dalvik can later mark /storage as slave in zygotes. Must use tmpfs as rootfs can't be bind mounted (otherwise "mount rootfs /storage /storage bind" would work as an alternative).
* | rootdir: Add mediaserver to qcom_diag groupSteve Kondik2012-12-021-1/+1
| | | | | | | | | | | | * QCOM audio drivers need this. Change-Id: I3cba0356e2995951208fee5e180e56b1afbc7158
* | init.rc: Move CM's sysinit to the init.cm fileRicardo Cerqueira2012-11-231-3/+0
| | | | | | | | | | | | Its current location is broken due to a race condition, anyway... Change-Id: Ic371455521d10fc09c81331c4c4faeab5cfb89d1
* | Fix /cache permissions for the dexopt cacheRicardo Cerqueira2012-11-221-1/+1
| | | | | | | | Change-Id: Ibbecac2b5a89d7fa7fb09c5be1d2bc3db766f885
* | Merge branch 'jb-mr1-release' of ↵Steve Kondik2012-11-185-22/+57
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/system/core into mr1 Conflicts: adb/Android.mk adb/usb_vendors.c include/private/android_filesystem_config.h include/system/audio.h include/system/camera.h init/property_service.c libnetutils/ifc_utils.c mkbootimg/mkbootimg.c rootdir/init.rc Change-Id: Ie42f0c14808e9f8cabd24854bfe15b6667955229
| * second user doesnot pickup input operations from A2DPZhihai Xu2012-10-161-1/+1
| | | | | | | | | | | | bug 7335014 Change-Id: I39e450d254647f0b84a07f38f2f2571711fca075
| * init.trace.rc: Set perms for power/clock_set_rate eventsTodd Poynor2012-10-151-0/+2
| | | | | | | | | | | | Bug: 7351763 Change-Id: I1ee3d7c9b55d1b55df6cafb1bf21f9139d964646
| * Change dev/uhid group id from bluetooth to net_bt_stackMatthew Xie2012-10-101-1/+1
| | | | | | | | | | | | | | Secondary user need that group id to access the file to support hid bug 7315419 Change-Id: I9d2d3d5a5114d289dc4d83c697421622db4beae6
| * Merge "rootdir: init.rc: add drmrpc to surfaceflinger supplemental groups" ↵Dima Zavin2012-10-081-1/+1
| |\ | | | | | | | | | into jb-mr1-dev
| | * rootdir: init.rc: add drmrpc to surfaceflinger supplemental groupsDima Zavin2012-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary for some HWC hals to be able to communicate with secure side to grant protected access to hardware owned by the hwc. This is necessary on some architectures to grant access to secure buffers to overlay/csc hardware Change-Id: I4e4becba5b4a80310ce8932edea5d0d046fa9b00 Signed-off-by: Dima Zavin <dima@android.com>
| * | Create bluetooth stack aid for sharing gid between all bluetooth processesMatthew Xie2012-10-041-1/+1
| |/ | | | | | | | | | | bug 6925422 Change-Id: I8d371f8307dd6bea3909a56643819413ea829a98
| * Add writable data space for radio.Robert Greenwalt2012-09-271-0/+1
| | | | | | | | | | | | | | Storing Premium SMS regex's in /data/misc/sms. bug:7221402 Change-Id: Ica8ba7be8aa5321f3e6ed820a0dddc01f77d2cfb
| * init.rc: chmod slabinfo to 440 to capture slabinfo in BRsDima Zavin2012-09-251-0/+3
| | | | | | | | | | | | Bug: 7232205 Change-Id: I0d785302818a37b722e79bf740644ede52c60148 Signed-off-by: Dima Zavin <dima@android.com>
| * init: import init.trace.rc after h/w-specific rcTodd Poynor2012-09-241-1/+1
| | | | | | | | | | | | | | Board-specific .rc file mounts debugfs, then fixup perms on tracing sysfs files for systrace. Change-Id: Ifbedb4ecdb543cd6c48df00b1a34415349951b6f
| * Add /data/app-lib for native library sharingKenny Root2012-09-081-0/+1
| | | | | | | | Change-Id: I7419676d987178fd2422c50d74f966e27af9f62e
| * Keep /mnt/secure private to default namespace.Jeff Sharkey2012-09-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | When vold mounts things in /mnt/secure/staging, it expects to MS_MOVE those mountpoints when vetting is finished. However, the kernel doesn't allow MS_MOVE when the source is shared to child namespaces. To work around this, create a tmpfs at /mnt/secure and mark it as private (not shared). Verified that vold can now successfully move from the staging area. Bug: 7094858 Change-Id: I5e05b1005c63efa277935c9bbd18cbf3ffdd47a3
| * import init.${ro.hardware}.rc last to allow overriding default USB configurationMike Lockwood2012-08-281-1/+1
| | | | | | | | Change-Id: I2194466fb7cf7ff5313d146601155ebe6043fd42
| * am 582b1152: am baba9984: Merge "Define TCP buffer sizes for HSPAP, HSDPA, ↵Wink Saville2012-08-231-0/+4
| |\ | | | | | | | | | | | | | | | | | | HSUPA and EVDO" * commit '582b11527cd6d968f163fbee73f92d82b679e330': Define TCP buffer sizes for HSPAP, HSDPA, HSUPA and EVDO
| | * am baba9984: Merge "Define TCP buffer sizes for HSPAP, HSDPA, HSUPA and EVDO"Wink Saville2012-08-221-0/+4
| | |\ | | | | | | | | | | | | | | | | * commit 'baba99840400f5b835d44b6d91e2190136277988': Define TCP buffer sizes for HSPAP, HSDPA, HSUPA and EVDO
| | | * Merge "Define TCP buffer sizes for HSPAP, HSDPA, HSUPA and EVDO"Wink Saville2012-08-221-0/+4
| | | |\
| | | | * Define TCP buffer sizes for HSPAP, HSDPA, HSUPA and EVDONaveen Kalla2012-07-261-0/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: I0fbd76aca69059917d363b2dcbfc843bbf4386f8
| * | | | Merge "Iteration on multi-user external storage." into jb-mr1-devJeff Sharkey2012-08-221-1/+3
| |\ \ \ \
| | * | | | Iteration on multi-user external storage.Jeff Sharkey2012-08-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define /storage as top-level concept, so that we enforce permissions uniformly. Moves external storage paths from headers to per-device environment variables. Added missing mount flags, and we no longer have adb-specific external storage. Bug: 6925012 Change-Id: Ic7ca953be2f552d3f0ec9e69f89fef751daa1b29
| * | | | | Remove sdcard groups from services.Jeff Sharkey2012-08-201-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Even with the groups, services no longer have access. Change-Id: I2b4871b276ffd309c08c404b1211b33406dbebd5
| * | | | Migrate sdcard0 to shell-accessible location.Jeff Sharkey2012-08-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove mount() from adb, since it can come online long before data partition is ready. Set EXTERNAL_STORAGE environment variable to point to owner for backwards compatibility. Bug: 7005701 Change-Id: I63444f6636624eb7ad89f053daa289663424639e
| * | | | Merge "Multi-user external storage support." into jb-mr1-devJeff Sharkey2012-08-161-0/+2
| |\ \ \ \