Commit Graph

13005 Commits

Author SHA1 Message Date
Elliott Hughes cbcc2e3b22 am 33d84874: am c353c912: Merge "Document mkdir behavioural change"
* commit '33d848742e0e401e556dce1ccec0e43d2288ab37':
  Document mkdir behavioural change
2015-03-15 22:34:16 +00:00
Elliott Hughes a2ae0abcc5 am 5e088596: am 285c2ae0: Merge "Document the mount option string in the readme.txt"
* commit '5e088596dc6f007e6c58a2a15d92040016ec6dd4':
  Document the mount option string in the readme.txt
2015-03-15 22:34:14 +00:00
Dan Albert 06a213822e am 8ee04736: am 4a0027fd: Merge "Add commonly used C++ macros to libbase."
* commit '8ee047369e8095810d720b417f8f685f58534531':
  Add commonly used C++ macros to libbase.
2015-03-15 22:33:56 +00:00
Dan Albert 06d60af714 am 517f65da: am a68c8148: Merge "Create libbase."
* commit '517f65daef177d06d7835300a1c23ce3409c0643':
  Create libbase.
2015-03-15 22:33:53 +00:00
Elliott Hughes 51d98035b1 am c8d5e230: am f1c2ba49: Merge "Remove unused header file."
* commit 'c8d5e2307badc6bfcb76c4dec43a07d6b9d885cb':
  Remove unused header file.
2015-03-15 22:33:51 +00:00
Elliott Hughes 33d848742e am c353c912: Merge "Document mkdir behavioural change"
* commit 'c353c912a7ed29d53305412b1450136a25f922bd':
  Document mkdir behavioural change
2015-03-15 17:10:01 +00:00
Elliott Hughes c353c912a7 Merge "Document mkdir behavioural change" 2015-03-15 16:55:46 +00:00
Elliott Hughes 5e088596dc am 285c2ae0: Merge "Document the mount option string in the readme.txt"
* commit '285c2ae04aaf77e6036d4bbf784e8395c6f07347':
  Document the mount option string in the readme.txt
2015-03-15 16:52:40 +00:00
Johan Redestig 0b42ba24ac Document mkdir behavioural change
Since 27164dc mkdir will update mode, owner and group even
if the directory exists already

Change-Id: Ic37975d118a87afded5bfade775cb3d0d3b19892
2015-03-15 17:47:36 +01:00
Elliott Hughes 285c2ae04a Merge "Document the mount option string in the readme.txt" 2015-03-15 16:39:56 +00:00
Niklas Tibbling bc3f69f190 Document the mount option string in the readme.txt
also make a distinction between flag and option.

Change-Id: Ia872bc8dc98b3459f9c1e992d096c115699357af
2015-03-15 16:20:44 +00:00
Dan Albert 8ee047369e am 4a0027fd: Merge "Add commonly used C++ macros to libbase."
* commit '4a0027fdf01672eb02cd33e82f3884232d2c5214':
  Add commonly used C++ macros to libbase.
2015-03-15 15:40:40 +00:00
Dan Albert 517f65daef am a68c8148: Merge "Create libbase."
* commit 'a68c814898b31b76ca2729a50fbc1a821bd0af70':
  Create libbase.
2015-03-15 15:40:39 +00:00
Elliott Hughes c8d5e2307b am f1c2ba49: Merge "Remove unused header file."
* commit 'f1c2ba490ef979b3d347f08535ab8b817e917e62':
  Remove unused header file.
2015-03-15 15:40:38 +00:00
Dan Albert 4a0027fdf0 Merge "Add commonly used C++ macros to libbase." 2015-03-14 23:58:04 +00:00
Dan Albert a68c814898 Merge "Create libbase." 2015-03-14 23:46:11 +00:00
Dan Albert 7fbdaddfac Add commonly used C++ macros to libbase.
Change-Id: I74f5dbfc4d99f7e78212a72540e538c1a737e224
2015-03-14 16:36:18 -07:00
Dan Albert 98ff77204c Create libbase.
Move StringPrintf and the string based file I/O from libutils to
libbase.

Change-Id: I0297a6063874b9d92100e0dd5123fddfbda932fe
2015-03-14 16:36:18 -07:00
Elliott Hughes f1c2ba490e Merge "Remove unused header file." 2015-03-14 17:44:47 +00:00
Elliott Hughes c2f0ed64ce Remove unused header file.
This library no longer exists.

Change-Id: I5582b41b70691171b1ac5f2bffd623f2b2fc10e5
2015-03-14 09:28:49 -07:00
Elliott Hughes fde65571d7 am 24b1c2da: am 6fadf9e9: Merge "Remove obsolete setkey."
* commit '24b1c2da7a704800d77ebd99d5df9f379e4e5e81':
  Remove obsolete setkey.
2015-03-14 04:08:30 +00:00
Elliott Hughes 24b1c2da7a am 6fadf9e9: Merge "Remove obsolete setkey."
* commit '6fadf9e93913314f2aea3418539f998d47b40d13':
  Remove obsolete setkey.
2015-03-14 02:35:22 +00:00
Elliott Hughes 6fadf9e939 Merge "Remove obsolete setkey." 2015-03-14 02:26:10 +00:00
Elliott Hughes 5878aa92cd Remove obsolete setkey.
It's undocumented and unused.

Change-Id: I685dc900adbc14f2e8b4eeebb1e4d111782f141d
2015-03-13 15:37:54 -07:00
Dmitriy Ivanov e93fb4ced0 am 2f73d736: am 821b8570: Merge "Switch liblog to sysv-only hash style"
* commit '2f73d73640e8e8ee360ebd7f9fbbd85abae9df01':
  Switch liblog to sysv-only hash style
2015-03-13 21:54:54 +00:00
Mark Salyzyn a440f2dda3 am e810c729: am 97c10907: Merge "logd: report reinit"
* commit 'e810c7296ecf581fe1319b9dcbe673da2b108cf8':
  logd: report reinit
2015-03-13 21:54:53 +00:00
Dmitriy Ivanov 2f73d73640 am 821b8570: Merge "Switch liblog to sysv-only hash style"
* commit '821b8570c72adb73003cd3b8149ce9b034f44b9d':
  Switch liblog to sysv-only hash style
2015-03-13 21:16:47 +00:00
Mark Salyzyn e810c7296e am 97c10907: Merge "logd: report reinit"
* commit '97c10907b5a034b8500aadcdf7f8829099b4b5f0':
  logd: report reinit
2015-03-13 21:16:46 +00:00
Dmitriy Ivanov 821b8570c7 Merge "Switch liblog to sysv-only hash style" 2015-03-13 21:06:01 +00:00
Mark Salyzyn 97c10907b5 Merge "logd: report reinit" 2015-03-13 21:02:17 +00:00
Jeff Sharkey 707d4f2ee8 Merge "Define enum class for NetlinkEvent actions." 2015-03-13 20:47:47 +00:00
Jeff Sharkey e4f394087d Define enum class for NetlinkEvent actions.
This lets us use it for switch statements, and gives us stronger
type safety.

Change-Id: Idb3ad7098657a09f13c95dc7070611d35ede66ae
2015-03-13 13:27:56 -07:00
Dmitriy Ivanov 28a3b7cae0 Switch liblog to sysv-only hash style
Bug: 19059885
Change-Id: I5519a4e19716303692d4117bc24988f21d5a829e
2015-03-13 12:51:02 -07:00
Jeff Brown 72af28c28e Merge "Fix issues related to removing Looper callbacks after close." 2015-03-13 19:12:10 +00:00
Elliott Hughes dc2769d163 am 8c09e148: am 0f6286d7: Merge "Remove getsebool/setsebool from init and toolbox."
* commit '8c09e148fa88ceab81afd1ca2d3bf39a62e3b227':
  Remove getsebool/setsebool from init and toolbox.
2015-03-13 18:21:41 +00:00
Elliott Hughes 8c09e148fa am 0f6286d7: Merge "Remove getsebool/setsebool from init and toolbox."
* commit '0f6286d7052a2e7b3d82595b2d217b4df2dfb7f8':
  Remove getsebool/setsebool from init and toolbox.
2015-03-13 18:16:47 +00:00
Elliott Hughes 0f6286d705 Merge "Remove getsebool/setsebool from init and toolbox." 2015-03-13 17:52:11 +00:00
Stephen Smalley d4b2d8923f Remove getsebool/setsebool from init and toolbox.
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>
2015-03-13 14:01:58 -04:00
Elliott Hughes b5662f9323 am 7f0564ba: am 48f25fa9: Merge "adb doesn\'t actually use libzipfile."
* commit '7f0564bab89da86886bbd82ecea84acd409ba0d9':
  adb doesn't actually use libzipfile.
2015-03-13 17:09:13 +00:00
Elliott Hughes 7f0564bab8 am 48f25fa9: Merge "adb doesn\'t actually use libzipfile."
* commit '48f25fa974b6ac620d62a54764294acb4aed10a3':
  adb doesn't actually use libzipfile.
2015-03-13 17:03:32 +00:00
Elliott Hughes 48f25fa974 Merge "adb doesn't actually use libzipfile." 2015-03-13 16:49:13 +00:00
Elliott Hughes 46270d233a adb doesn't actually use libzipfile.
Change-Id: Ia7d22214bc8422c88edaaf9bb716d7e12e0bb381
2015-03-13 09:40:45 -07:00
Dmitriy Ivanov dbf4cbe41b am dc5f1db8: am 43b89c8e: Merge "Allocate buffers on the heap"
* commit 'dc5f1db8e05df56c087fef0c90e876c94bb62b73':
  Allocate buffers on the heap
2015-03-13 07:35:02 +00:00
Mark Salyzyn 7ad506839a am 6025a2bc: am bd518bce: Merge changes I3187aa34,Iadac58e6
* commit '6025a2bc493534b3003ebd2ad7130366cf4f6723':
  init.rc: logd --reinit on changes to persistent properties
  logd: add reinit command
2015-03-13 07:09:39 +00:00
Mark Salyzyn 959470f722 am 76d59f3d: am 54c22e5b: Merge "logcat: test: logcat.logrotate fails"
* commit '76d59f3d1093070f78913ccec35a28d4cd66803d':
  logcat: test: logcat.logrotate fails
2015-03-13 07:09:38 +00:00
Mark Salyzyn 61e8b3855d am 77b87b5b: am ecd993d7: Merge "logcat: fortify help on filterspec"
* commit '77b87b5b863c643bbec4864fcebf4adf99933149':
  logcat: fortify help on filterspec
2015-03-13 07:09:37 +00:00
Nick Kralevich 3c6ec13fe1 am 0d6fca8a: am 7e9fe7d8: Merge "builtins: remove setenforce command"
* commit '0d6fca8a4f9a89752d80296abb4031aafe070b9f':
  builtins: remove setenforce command
2015-03-13 06:33:07 +00:00
Elliott Hughes 76e563a718 am b02a734d: am 0a92c8c4: Merge "Fix a printf format string (caught by clang but not GCC)."
* commit 'b02a734d4cf8d9d2032fb167dcecf530ea8ea303':
  Fix a printf format string (caught by clang but not GCC).
2015-03-13 02:58:14 +00:00
Jeff Brown e7d54f80cb Fix issues related to removing Looper callbacks after close.
When a file descriptor is closed before removing it from the
epoll set, it will normally be removed automatically from the
epoll set by the kernel.  However if there exists a duplicate
then the original file descriptor may remain in the set and
continue to receive events until all duplicates have been closed.

Unfortunately due to kernel limitations we need to rebuild the epoll
set from scratch because it may contain an old file handle that we are
now unable to remove since its file descriptor is no longer valid.
No such problem would have occurred if we were using the poll system
call instead, but that approach carries others disadvantages.

Bug: 19715279
Change-Id: If1ab8ebda0825755a416d513e888942a02ee3948
2015-03-12 19:44:49 -07:00
Dan Albert 47145db46e resolved conflicts for merge of 5ebc2f5b to master
Change-Id: I9fdb437051e2f1c9afef13101ae40f881c4c6f19
2015-03-12 16:57:31 -07:00