Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
system
/
core
/
872206fd807719102080a263946e87db64e5bdf3
/
init
/
util.cpp
81f5d3e
init: create android::init:: namespace
by Tom Cherry
· 7 years ago
482f36c
init: remove restorecon() from util.cpp
by Tom Cherry
· 8 years ago
b066fcc
init: add "+passcred" for socket to set SO_PASSCRED
by Mark Salyzyn
· 8 years ago
2cbbe9f
init: do not log directly from read_file() and write_file()
by Tom Cherry
· 8 years ago
517e1f1
init: Check DecodeUid() result and use error string
by Tom Cherry
· 8 years ago
e7656b7
ueventd: do not reference init's sehandle
by Tom Cherry
· 8 years ago
d262017
init: moving early mount logic into init_first_stage.cpp
by Bowgo Tsai
· 8 years ago
060b74b
ueventd: convert mkdir_recursive() to std::string
by Tom Cherry
· 8 years ago
ab5ab1e
Merge "init: more header cleanup"
by Treehugger Robot
· 8 years ago
3f5eaae5
init: more header cleanup
by Tom Cherry
· 8 years ago
c44f6a4
ueventd: Write tests for the get_*_symlinks() functions
by Tom Cherry
· 8 years ago
dbe88e7
init: use read_file and write_file to implement do_copy builtin
by Yongqin Liu
· 8 years ago
53089aa
init: Use std::string for write_file()
by Tom Cherry
· 8 years ago
bc9cb38
Merge "bootstat: Refactor init/utils/boot_clock into base/chrono_utils."
by James Hawkins
· 8 years ago
3428d0c
Merge "Revert "init: use read_file and write_file to implement do_copy builtin""
by Wonsik Kim
· 8 years ago
395e294
Revert "init: use read_file and write_file to implement do_copy builtin"
by Wonsik Kim
· 8 years ago
e78ea77
bootstat: Refactor init/utils/boot_clock into base/chrono_utils.
by James Hawkins
· 8 years ago
ccf2353
init: replace property_get with its android::base equivalent
by Tom Cherry
· 8 years ago
7f0d15a
Merge "init: use read_file and write_file to implement do_copy builtin"
by Treehugger Robot
· 8 years ago
82bac0d
init: use read_file and write_file to implement do_copy builtin
by Yongqin Liu
· 8 years ago
8d01f63
remove emergency shutdown and improve init's reboot logic
by Keun-young Park
· 8 years ago
40578ab
init: Fix leaking fd and error print
by Tom Cherry
· 8 years ago
c8ac067
Revert "bootstat: Refactor init/utils/boot_clock into base/chrono_utils."
by James Hawkins
· 8 years ago
7c92e48
bootstat: Refactor init/utils/boot_clock into base/chrono_utils.
by James Hawkins
· 8 years ago
0e3167e
Revert "bootstat: Remove custom uptime parser in favor of elapsedRealtime."
by James Hawkins
· 8 years ago
26f40c0
bootstat: Remove custom uptime parser in favor of elapsedRealtime.
by James Hawkins
· 8 years ago
77f0e9f
init: Make 'write_file' return bool to match 'read_file'.
by Jorge Lucangeli Obes
· 8 years ago
978fd0e
init: service file command only opens existing files
by Mark Salyzyn
· 8 years ago
331cf2f
Replace the "coldboot" timeout with a property.
by Elliott Hughes
· 8 years ago
a8d8434
Add flags to restorecon_recursive to traverse filesystems
by Paul Lawrence
· 8 years ago
d1d3bdd
Only restorecon CE storage after unlocked.
by Jeff Sharkey
· 8 years ago
290a228
Switch fastboot/init/libprocessgroup to std::this_thread::sleep_for.
by Elliott Hughes
· 8 years ago
9605a94
init start time tracking.
by Elliott Hughes
· 8 years ago
db69107
init: errno handling in create_file
by Mark Salyzyn
· 8 years ago
62767fe
init: service file keyword
by Mark Salyzyn
· 8 years ago
f39f7f1
Use android::base::Readlink in init.
by Elliott Hughes
· 8 years ago
8f7b9e3
Fix clang-tidy performance warnings in syste/core.
by Chih-Hung Hsieh
· 8 years ago
171a829
Make klog_fd thread-safe and make klog_init a no-op.
by Elliott Hughes
· 8 years ago
f86b5a6
Move init to libbase logging.
by Elliott Hughes
· 8 years ago
3195116
Remove MTD cruft from init.
by Elliott Hughes
· 8 years ago
4b56162
init: Add support for ${x.y:-default} expansion
by Mark Salyzyn
· 8 years ago
3792e6c
init: switch from android_ids to getpwnam
by William Roberts
· 9 years ago
a27bbd2
Fix const issues in preparation for libcxx rebase.
by Dan Austin
· 9 years ago
3d9e273
Mount selinuxfs when other filesystems are mounted
by Nick Kralevich
· 9 years ago
9bcfd64
init: harden socket creation against symlinks
by Nick Kralevich
· 9 years ago
4f71319
Track rename of base/ to android-base/.
by Elliott Hughes
· 9 years ago
83ccb1c
init: Don't ignore setsockcreatecon errors
by Nick Kralevich
· 9 years ago
cda81d0
am 54c70ca1: Merge "init: Use classes for parsing and clean up memory allocations"
by Tom Cherry
· 9 years ago
b734990
init: Use classes for parsing and clean up memory allocations
by Tom Cherry
· 9 years ago
42f669a
am f75b5ff1: am fe39394e: Merge "init: Adding support to import directories"
by Lee Campbell
· 9 years ago
f13b1b3
init: Adding support to import directories
by Lee Campbell
· 9 years ago
7cba866
am 8d855ba9: am d2e7f002: Merge "init/util.cpp: don\'t return a negative unsigned value"
by Nick Kralevich
· 9 years ago
d2104df
init/util.cpp: don't return a negative unsigned value
by Nick Kralevich
· 9 years ago
af02e24
am 9fc83437: Don\'t use TEMP_FAILURE_RETRY on close in system/core.
by Elliott Hughes
· 10 years ago
9fc8343
Don't use TEMP_FAILURE_RETRY on close in system/core.
by Elliott Hughes
· 10 years ago
604e754
am 91cf41cf: init: wait_for_file use smaller time resolution
by Thierry Strudel
· 10 years ago
91cf41c
init: wait_for_file use smaller time resolution
by Thierry Strudel
· 10 years ago
47b0134
Don't use TEMP_FAILURE_RETRY on close in system/core.
by Elliott Hughes
· 10 years ago
2550355
resolved conflicts for merge of d410a9b3 to mnc-dev-plus-aosp
by Elliott Hughes
· 10 years ago
cce7e93
Fix insmod module size
by Tom Cherry
· 10 years ago
eaa3b4e
Fix insmod module size
by Tom Cherry
· 10 years ago
b7f8b91
am 86aeb11e: Merge "load ro.recovery_id property from recovery partition" into mnc-dev
by Andres Morales
· 10 years ago
cb3fce8
load ro.recovery_id property from recovery partition
by Andres Morales
· 10 years ago
db5f5d4
load ro.recovery_id property from recovery partition
by Andres Morales
· 10 years ago
fdf2546
am a5aa7a11: am 55c2e1f4: Merge "Clean up init /proc/cmdline handling."
by Elliott Hughes
· 10 years ago
e5ce30f
Clean up init /proc/cmdline handling.
by Elliott Hughes
· 10 years ago
eab1e21
am ecf184c9: am 9c9280d8: Merge "init: get rid of the remaining double mounts"
by Nick Kralevich
· 10 years ago
14adea3
am 45a49d0e: am ccac2be8: Merge "init: use SELinux /dev/null if available"
by Nick Kralevich
· 10 years ago
ada332e
am ecf184c9: am 9c9280d8: Merge "init: get rid of the remaining double mounts"
by Nick Kralevich
· 10 years ago
ec9bd16
am 45a49d0e: am ccac2be8: Merge "init: use SELinux /dev/null if available"
by Nick Kralevich
· 10 years ago
f667a32
init: get rid of the remaining double mounts
by Nick Kralevich
· 10 years ago
e34577c
init: use SELinux /dev/null if available
by Nick Kralevich
· 10 years ago
2ae7d4e
am 6b6df173: am f8b0743e: Merge "init: fix write_file checkreqprot logic error"
by Nick Kralevich
· 10 years ago
eedbe81
init: fix write_file checkreqprot logic error
by Nick Kralevich
· 10 years ago
438443e
resolved conflicts for merge of 79f33846 to lmp-mr1-dev-plus-aosp
by Ed Tam
· 10 years ago
da40c00
Log more timing information from init.
by Elliott Hughes
· 10 years ago
bbc01d8
Merge "Remove /proc/cpuinfo parsing"
by Elliott Hughes
· 10 years ago
c007bc3
Revert "Revert "Create libbase.""
by Dan Albert
· 10 years ago
a7870d8
Revert "Create libbase."
by Nicolas Geoffray
· 10 years ago
98ff772
Create libbase.
by Dan Albert
· 10 years ago
74b34f3
Remove /proc/cpuinfo parsing
by Rom Lemarchand
· 10 years ago
f682b47
Clean up reading and writing in init.
by Elliott Hughes
· 10 years ago
2462790
Use TEMP_FAILURE_RETRY, always build bootchart.cpp.
by Elliott Hughes
· 10 years ago
f3cf438
Build init as C++.
by Elliott Hughes
· 10 years ago
[Renamed (87%) from init/util.c]
45a884f
Add O_CLOEXEC to lots of open() calls.
by Nick Kralevich
· 10 years ago
07f3fee
init: Fix memory corruption when sanitizing platform paths
by Christopher R. Palmer
· 10 years ago
27a9365
Convert all selinux_android_restorecon and _setfilecon calls to new API.
by Stephen Smalley
· 11 years ago
dbd37f2
Move restorecon and restorecon_recursive code to libselinux.
by Stephen Smalley
· 11 years ago
a613819
restorecon_recursive("/sys") speed boot time
by Nick Kralevich
· 11 years ago
36b39a9
Merge "init: Fix get_hardware_name() to cope with long /proc/cpuinfo output"
by Colin Cross
· 11 years ago
2e63e71
init: support longer command lines
by Andrew Boie
· 11 years ago
ae76f6d
init: call restorecon on /sys
by Nick Kralevich
· 11 years ago
8348d27
Add support for socket security context specification.
by Stephen Smalley
· 12 years ago
93ca79b
Allow more characters in partition name links
by Johan Redestig
· 13 years ago
229dc35
init: Fix get_hardware_name() to cope with long /proc/cpuinfo output
by Jon Medhurst
· 12 years ago
b5982bf
Remove HAVE_SELINUX guards
by Kenny Root
· 12 years ago
b3a5343
Merge "Fixed a discarded const qualifier warning"
by Stephen Hines
· 12 years ago
ef3f7fa
Merge "Set the SELinux security label on new directories."
by Jean-Baptiste Queru
· 12 years ago
de7f1ad
Fixed a discarded const qualifier warning
by Edwin Vane
· 12 years ago
e096e36
Set the SELinux security label on new directories.
by Stephen Smalley
· 12 years ago
Next »