| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Change-Id: If333c28b8ed047346a2dd85e591c4bedbab874cc
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'd4a6fc5bc205d516e5bf05cafc5b6eadb4e0b372':
Init: Fix Clang unsupported attributes
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make attributes conditional on not compiling with Clang.
Change-Id: Ic4e9b382308651c7b1901bfa192b6591672dc5ab
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '9fc43358f72a581beb26532ea2cb1f2adc053758':
Extra Win32 compatibility.
|
| |\ \ \
| | |_|/
| |/| | |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Ibc583aba580f4fc15c243f495ead44b2ce4c6e5e
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '6c6f39678cf41a52826b4b4551f39d8256855f54':
Fix Mac build.
|
| |\ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
I knew I should have created a new library that doesn't build for the
Mac or Windows rather than adding to libutils...
Change-Id: I7c07eaa93affb7e83d4da384f03652c39065562a
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '6974ba4ed430ec3247c3a5c04a2263b4b04ff827':
Add Google-style ReadFileToString and WriteStringToFile.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 19217569
Change-Id: I64789d3fa6777ee30a324cdf00fdc275c1230e1b
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '8457a7f9aae334eecbc538c3ee41cdd267b3eb6b':
Remove netcfg's unused options.
|
| |\ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Only "netcfg" for a list of interfaces and "netcfg <interface> dhcp" still
seem to be used.
Change-Id: I9f0b580474258fa648deb5287f98d8ec5533ca6f
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '2b2b7632f55ca73562361cf4d06e60e7b62f7ff4':
Revert "Remove netcfg's unused options."
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit f8e83054cb8a8b13ee84a4aeeaa0a2fd8debca81.
Change-Id: Iede772f96ff9008277df433dcbb5f6603de65283
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '4fd6d50181491f178f7ad7c6c094cbd18ed42ef6':
Init: Fix literal
|
| |\ \ \ \
| | |_|_|/
| |/| | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a literal 0 implicitly converted to a NULL.
Change-Id: I0573e85eb0578f938877c4bec79054081c27e661
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '6a728fde77d1367318c79e5b182f0cb316872a37':
Remove netcfg's unused options.
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Only "netcfg" for a list of interfaces and "netcfg <interface> dhcp" still
seem to be used.
Change-Id: Iaf499c06b09ffe5e0925339b9cd6e502f3234a86
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'ef89e8d14619c68015103fd51ff75f82eeef8d61':
Revert "Remove netcfg's unused options."
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 24c1885bc196940f48e478a220a360118ba84bd7.
Change-Id: Iaae6502e2db90d67b4275faa104cfc6a0abc65c6
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '67900498cff54c8116b3f7afc84e046d98bb17e4':
Remove netcfg's unused options.
|
| |\ \ \ \
| | |/ / / |
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Only "netcfg" for a list of interfaces and "netcfg <interface> dhcp" still
seem to be used.
Change-Id: Ie0aecf5b18bd854cfb5878b6cfdd7160c9f42526
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'c7a6e489f4b8c59a61784d8a982f04a1f3bd49da':
Trivial cleanup of recent changes.
|
| |\ \ \
| | |_|/
| |/| | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
A typo in the documentation for one, and a couple of signed/unsigned warnings
in the implementation of the other.
Change-Id: I8fb4b7448ac901c543dea7420aabcedf13ec1bd8
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'b101f8795a3d3d1c1f5c403bafec93f3d90d0360':
init: Implement 'exec' command.
|
| |\ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
(cherry-pick of d05ab3952ec0e38f33a0e80ce6b9eb45b0064ba4.)
Change-Id: Id6d9bb32e51a0ad090ed8240cc505dc45b57b35d
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '46adfa69b689bc9f9e15c87275839f233a404582':
init: Add support "&&" operator in property triggers
|
| |\ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
"&&" operator can now be used to test the validity
of two of more properties.
For example:
on property:test.a=1 && property:test.b=1
setprop test.c 1
The above stub sets the test.c to 1 only when
both test.a=1 and test.b=1
(cherry-pick of 162f7d797c67019a7a3f08c3b0f0ffc91d548ddc.)
Change-Id: I72c19f7aa92231372a416193618ee6c7fd368141
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'a73774e62e09c8e27039d3f8a5f1f842a0df740a':
Add O_CLOEXEC to lots of open() calls.
|
| |\ \
| | |/
| |/| |
|
| |/
| |
| |
| |
| |
| | |
and other related fixups.
Change-Id: Ia88fb37a07ff6777d00c49800081f5a519c0c78d
|
|\ \
| |/
| |
| |
| | |
* commit '520ca3e13a134386762c3fc754a8bc2e51af3c2f':
builtins.c: Don't require file open() for chmod/chown
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
42a9349dc4e98019d27d7f8d19bc6c431695d7e1 modified init's
builtin chmod, chown, and mkdir calls to avoid following
symlinks. This addressed a number of attacks we were seeing
at the time where poorly written init scripts were following
attacker supplied symlinks resulting in rooting vulnerabilities.
To avoid race conditions, the previous implementation only ran
fchown / fchmod on file descriptors opened with open(O_NOFOLLOW).
Unfortunately, unlike the normal "chown" or "chmod" calls, this
requires read or write access to the underlying file. This
isn't ideal, as opening some files may have side effects, or
init may not have permission to open certain files (such as when
SELinux is enabled).
Instead of using open(O_NOFOLLOW) + fchown(), use lchown() instead.
As before, the target of the symlink won't be modified by chown.
This also supports setting the ownership of symlinks.
Instead of using open(O_NOFOLLOW) + fchmod(), use
fchmodat(AT_SYMLINK_NOFOLLOW) instead. As before, the target of the
symlink won't be modified by chmod.
This change will continue to ensure that chown/chmod/mkdir doesn't
follow symlinks, without requiring init to open every file in
read-only or read-write mode.
This change depends on bionic commit I1eba0cdb2c509d9193ceecf28f13118188a3cfa7
Addresses the following mako/occam SELinux denial:
audit(1422770408.951:6): avc: denied { write } for pid=1 comm="init" name="smd7" dev="tmpfs" ino=7207 scontext=u:r:init:s0 tcontext=u:object_r:radio_device:s0 tclass=chr_file
Change-Id: I14fde956784d65c44e7aa91dd7eea9a004df3081
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '88342c99a1a8aa6a104ade72938f538d4469c7e3':
The bsddroid project has been dead since 2010.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
And even if it wasn't, they should probably keep this stuff in their own
repository.
Change-Id: If9fa2e47ee2700098d8a99f6986f7e89fc6dfdf3
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '7cb19579bc22bf38e15b970f801f8065d629611d':
Add close_file flag to OpenArchiveFd()
|