| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Cleanup the code to get filesystem size in a block device
- Add support to reading size of squashfs in a block device
Change-Id: I3848a705ed4dc2fc9afad20331f0fdecfee545c5
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Set the verity mode as the value for partition.%s.verified to make it
easier for userspace to determine in which mode dm-verity was started.
Change-Id: Icc635515f8a8ede941277aed196867351d8387cb
|
| | |
| | |
| | |
| | |
| | |
| | | |
Use 'exec' instead.
Change-Id: I1320d1971f7cd8b23753c27aa87089006e112a11
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
This never worked, and implementing it would just be an attempt to cling to
the pre-SELinux past.
Change-Id: Iecba2affa50ee49ccf62677a607bfae95cb0aaf7
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix build break caused by original change
This reverts commit 84b0bab58fcc7f225e9a17a15c531b0c2fc509c5.
Change-Id: I99fbd7c3d1ed92db1f546033c8493bb71a327924
|
|/ /
| |
| |
| | |
Change-Id: I14d95b3fe0505dd7d7632e2eedc537f97553c715
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make it clearer in dmesg when we're deliberately not doing
bootcharting, and explain in the documentation that the output
for init is quite misleading (and, as far as I can tell, not
within our power to fix).
Change-Id: I0b22a56f83521d64c6d176dc423c81f7ea86b23c
|
| |
| |
| |
| | |
Change-Id: I96e4b11894926b50792b9b7d7cfa0fe8392abef6
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also don't manually set FD_CLOEXEC on a socket that's always opened
with SOCK_CLOEXEC. (None of the other callers to the function do this.)
Also move locals to where they're first used to help prevent more of this
kind of breakage.
Change-Id: I1ba7cd9400f53508dffb51a2bbf9d491ae647f26
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also make important events in init's life NOTICE rather than INFO,
and ensure that NOTICE events actually make it to the kernel log.
Also fix the logging so that if you have a printf format string
error, the compiler now catches it.
Also give messages from init, ueventd, and watchdogd distinct tags.
(Previously they'd all call themselves "init", and dmesg doesn't
include pids, so you couldn't untangle them.)
Also include the tag in SELinux messages.
Bug: 19544788
Change-Id: Ica6daea065bfdb80155c52c0b06f346a7df208fe
|
| |
| |
| |
| | |
Change-Id: Iac4a19c404590c3faba6021c7e537b01805c2d45
|
| |
| |
| |
| | |
Change-Id: Iddcd8a002bfc692b1e70d59fa8c6530306c500fa
|
| |
| |
| |
| |
| |
| |
| | |
Neither of the built-in verity state commands accept arguments, so
set the number of required arguments to zero.
Change-Id: Id57fe671b6b82eaf1e43b8ed7ff9d1e502ada5bd
|
| |
| |
| |
| | |
Change-Id: Icd18e4bd7dc093c18967f45b99cd451359457b03
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I21ef4d88b33337093396e14d792e1ff1fe0bfa17
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | | |
Change-Id: I3ce8f9d237bf783335ae85540306aa539a8da568
Signed-off-by: Daniel Rosenberg <drosen@google.com>
|
|/ /
| |
| |
| | |
Change-Id: I8f572a06ce59283e5bd444ae0491dea71b0ea304
|
| |
| |
| |
| |
| |
| | |
In particular, ensure that all property_set failures are reported.
Change-Id: Iab94a28bcba2346868c0f39bcfe26e55a2c55562
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also remove some code marked "TODO: these are obsolete. We should delete
them".
Change-Id: I6255cee4cb6680bfcbc5b46366990309cba95037
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a command that updates dm-verity state and sets partition.%.verified
properties used by adb remount.
This is needed in init since fs_mgr cannot set properties:
I6a28cccb1ccce960841af20a4b20c32d424b5524
Change-Id: I0fdf5bc29c56690dcadff9d0eb216d3c68483538
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Make sure compatible DT node is "android,firmware"
- Set ro.boot.* properties from firmware/android/ DT node
(cherry-pick of cbcbea27c70846a96f4bba2f7cb245f937de4d3f.)
Change-Id: If3d0716831516cb3d3fde1f75d57e2691d42d054
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Clean up the paths for ro.revision and ro.hardware parsing
- Use ro.hardwre in ueventd instead of parsing the kernel command line
(cherry-pick of 38b340a52f8e864650db8bae1eb88d5c00485db0.)
Bug: 19366018
Change-Id: I018a293f3d46e736a8b65132b5b00b0f7c20edae
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ia880810bb2c9a976dceeb0ffdba0cb98e69e3c6d
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
This is not obviously useful. Let's wait until we have an actual need.
Change-Id: I2c75c96314b281e89df25b6ed202b3dd5dfdaf15
|
| | |
| | |
| | |
| | |
| | | |
Bug: 19564110
Change-Id: I343b4a360b10319dca13ab01f2d411ff940e9052
|
| | |
| | |
| | |
| | | |
This reverts commit a7870d88167f619e758b5bcd15b410d16da7c16b.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Breaks internal master.
This reverts commit 98ff77204cef9bb8f0f27420833233622060a09e.
Change-Id: I18dc6021cb43efff8aa88486c2d980dc2b8eedba
|
| | |
| | |
| | |
| | | |
Change-Id: Ib2880c6cb18db613deac04ee3b06b9719f5248b9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since 27164dc mkdir will update mode, owner and group even
if the directory exists already
Change-Id: Ic37975d118a87afded5bfade775cb3d0d3b19892
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
also make a distinction between flag and option.
Change-Id: Ia872bc8dc98b3459f9c1e992d096c115699357af
|
|/ /
| |
| |
| |
| |
| |
| | |
Move StringPrintf and the string based file I/O from libutils to
libbase.
Change-Id: I0297a6063874b9d92100e0dd5123fddfbda932fe
|
| |
| |
| |
| |
| |
| | |
It's undocumented and unused.
Change-Id: I685dc900adbc14f2e8b4eeebb1e4d111782f141d
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These were leftovers from the SELinux boolean support that
was originally merged. Since Android prohibits SELinux policy
booleans, we can just drop it.
Change-Id: I02f646a7d8db65e153702205b082b87a73f60d73
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Adding "setenforce 0" to init.rc isn't a supported way to turn off
SELinux, and doesn't work with AOSP SELinux policy. Remove the code
from init.
Change-Id: If8c8149560789c9a7ba518a0a100e6033bb68898
|
| |
| |
| |
| | |
Change-Id: I665756615eef74b05ef92f5865d910f29ead0695
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I20329bc9b378479d745b498d6a00eca0872cd5ab
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I've been deliberately vague about the name of the readme because I want to
come back and switch to markdown, but that probably won't happen today.
Change-Id: I60651703709bbfd499227f882eb949396e8f4f6c
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a built-in command for loading verity state. If dm-verity
will be started in logging mode, trigger verity-logging.
Needs changes from
Ibb82953594d234f81ad21c40f524190b88e4ac8f
Change-Id: I5af4918f2f14fdd4d07f51c55837e08111fd3748
|