History log of /system/core/init/readme.txt
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d41f1a7ae4f45a510009926d29abbca3457c2f7f 25-Jul-2014 Elliott Hughes <enh@google.com> Clarify init's write command.

Bug: https://code.google.com/p/android/issues/detail?id=73996

(cherry picked from commit afc08ce39235d0e3f1e63f30ee587f2a5952be44)

Change-Id: Id2fb11d5259957ef23cc839fba14af8452fc69e4
/system/core/init/readme.txt
3beec7e55f1b5a840fc8fe0868b84d2238779af6 03-May-2014 JP Abgrall <jpa@google.com> init: add 'enable <service>' to negate "service <service>... disabled"

enable <servicename>
Turns a disabled service into an enabled one as if the service did not
specify disabled in the rc file.
It will also start the service if needed.

Bug: 14472973
Change-Id: Id0b49cc687a2bc74f6f92e066c617724cc94908d
Signed-off-by: JP Abgrall <jpa@google.com>
/system/core/init/readme.txt
726e8f7a8f3603f952055e440e21cc69c7340b36 09-Oct-2013 Stephen Smalley <sds@tycho.nsa.gov> Add a restorecon_recursive built-in command to init.

Functionally equivalent to the restorecon -R toolbox command.
A use case is given by:
I48eaa2b9901ac8c978192c14493ba1058a089423

Also, fix error handling and documentation for restorecon command.

Change-Id: Ia7fbcc82645baf52c6bff0490d3492f458881cbb
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/system/core/init/readme.txt
8348d279c7ce1a2453965ba7f05a7b818d58886c 13-May-2013 Stephen Smalley <sds@tycho.nsa.gov> Add support for socket security context specification.

Add an optional argument to the socket option for specifying
a SELinux security context for the socket. Normally the socket
security context is automatically computed from the service security
context or set using the seclabel option, but this facility allows
dealing with two scenarios that cannot be addressed using the existing
mechanisms:
1) Use of logwrapper to wrap a service.
In this case, init cannot determine the service security context
as it does not directly execute it and we do not want logwrapper
to run in the same domain as the service.

2) Situations where a service has multiple sockets and we want to
label them distinctly.

Change-Id: I7ae9088c326a2140e56a8044bfb21a91505aea11
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/system/core/init/readme.txt
0e23fee505fda39de4286d20022a4b2119156e15 28-Nov-2012 Stephen Smalley <sds@tycho.nsa.gov> Change setsebool syntax to be consistent with other init built-ins.

Change setsebool syntax from name=value to name value.
This is to make it consistent with setprop and similar commands.
Update both the init built-in command and the toolbox command
for consistency.

Change-Id: I2c8e016ba26731c4a2ad4a49ae3b89362bf8f8a8
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/system/core/init/readme.txt
3fb611083061535f8e32da1b7ea2d6c4687d114e 02-Nov-2012 Stephen Smalley <sds@tycho.nsa.gov> Document the SELinux extensions to the Android init language.

Change-Id: I9b066e0789c93e5147c28a60baeed91c44dd9359
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/system/core/init/readme.txt
96d0a4dda81aaff3f72b9690d88eb40387ee9630 04-Feb-2011 Patrick McCormick <patrickX.m.mccormick@intel.com> Extend and document the "wait" command

The wait command was currently implemented but
undocumented and only used internally. This change
adds a second option toi (optionally) override the default
timeout of 5 seconds.

The wait command can be used to wait for a file to appear
during the boot process, for example a disk or other device,
and is a better alternative than an unconditional sleep.

Change-Id: Ia11d8419c0ea84deec0e1bf5adfca5bc76ff38b7
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
/system/core/init/readme.txt
912ff85b035e0e6bc109812c1ea5661ea4df5967 01-Oct-2010 Mike Lockwood <lockwood@android.com> init: Add support for SOCK_SEQPACKET socket type

Change-Id: Ib264ecf9beb2685b070436d2bdec9655c7a31b47
Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/init/readme.txt
e7cb137f32fbc7caf97b80fac152b4bd3ac242cd 17-Nov-2008 Jay Freeman (saurik) <saurik@saurik.com> added chdir/chroot commands to init for mount switching/pivoting
/system/core/init/readme.txt
35237d135807af84bf9b0e5b8d7f8633e58db6f5 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/system/core/init/readme.txt
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/init/readme.txt