Commit graph

43953 commits

Author SHA1 Message Date
Android (Google) Code Review
85246fee85 am b48acb0e: Merge change 1795 into donut
Merge commit 'b48acb0ebdc64d2f44cf869ac69aebbba2de192d'

* commit 'b48acb0ebdc64d2f44cf869ac69aebbba2de192d':
  Make /system/xbin/tcpdump setuid root.
2009-05-18 23:56:52 -07:00
Android (Google) Code Review
b48acb0ebd Merge change 1795 into donut
* changes:
  Make /system/xbin/tcpdump setuid root.
2009-05-18 16:35:27 -07:00
San Mehat
e78bd6a00d am b76a63b7: vold: Change VFAT mount options to enable sdcard write restrictions
Merge commit 'b76a63b7bbdf8f51c4e689e241fca6d3a0bc1b1c'

* commit 'b76a63b7bbdf8f51c4e689e241fca6d3a0bc1b1c':
  vold: Change VFAT mount options to enable sdcard write restrictions
2009-05-18 13:44:42 -07:00
San Mehat
b76a63b7bb vold: Change VFAT mount options to enable sdcard write restrictions
Signed-off-by: San Mehat <san@google.com>
2009-05-18 12:59:13 -07:00
San Mehat
735b60ebc2 am 7edc4f94: vold: If a filesystem is read/only then restart the fscheck but don\'t make any changes
Merge commit '7edc4f9454f1665b73faf0c02543cf350b741a53'

* commit '7edc4f9454f1665b73faf0c02543cf350b741a53':
  vold: If a filesystem is read/only then restart the fscheck but don't make any changes
2009-05-18 11:17:40 -07:00
San Mehat
7edc4f9454 vold: If a filesystem is read/only then restart the fscheck but don't make any changes
Signed-off-by: San Mehat <san@google.com>
2009-05-18 09:55:21 -07:00
David 'Digit' Turner
34c22c5ba9 am 414ff7d9: Move fdevent from libcutils into adb directory. ADB is the only client of this API, and I intend to modify it extensively to clean its codebase soon.
Merge commit '414ff7d98ac8d7610a26206335954ad15f43f3ac'

* commit '414ff7d98ac8d7610a26206335954ad15f43f3ac':
  Move fdevent from libcutils into adb directory. ADB is the only client of this API, and I intend to modify it extensively to clean its codebase soon.
2009-05-18 08:37:02 -07:00
David 'Digit' Turner
f6330a2eeb Cleaning up whitespace in adb sources. Nothing more, nothing less. 2009-05-18 17:36:28 +02:00
David 'Digit' Turner
414ff7d98a Move fdevent from libcutils into adb directory. ADB is the only client of this API, and I intend to modify it extensively to clean its codebase soon. 2009-05-18 17:07:46 +02:00
Android (Google) Code Review
8537cc56bb Merge change 1821
* changes:
  ACC ARM codegen: implement /, %
2009-05-15 15:19:52 -07:00
Android (Google) Code Review
986145c523 Merge change 1820
* changes:
  ACC ARM codegen: Implement calling indirect functions.
2009-05-15 15:18:24 -07:00
Android (Google) Code Review
b79c06a9bd Merge change 1819
* changes:
  ACC ARM code gen: Implement global variables.
2009-05-15 15:17:18 -07:00
Android (Google) Code Review
fd59668c96 Merge change 1818
* changes:
  Add license, document language changes.
2009-05-15 15:15:55 -07:00
Jack Palevich
3d474a74a7 ACC ARM codegen: implement /, % 2009-05-15 15:12:38 -07:00
Jack Palevich
7810bc9abd ACC ARM codegen: Implement calling indirect functions. 2009-05-15 14:31:47 -07:00
Jack Palevich
4d93f30bef ACC ARM code gen: Implement global variables.
Collapsed the inc/dec codegen into the loadEAX function, because it
allows us to generate better code for inc/dec'ing a global variable
on ARM, because we don't have to load the variable's address twice.
2009-05-15 13:30:00 -07:00
San Mehat
d99d1445fd resolved conflicts w/ b415390e74 merge 2009-05-15 13:02:13 -07:00
Dan Egnor
328a4fb535 Make /system/xbin/tcpdump setuid root. 2009-05-15 12:57:58 -07:00
Android (Google) Code Review
408bf61b94 am e398151e: Merge change 1694 into donut
Merge commit 'e398151e7830510f27305cc1cb8f9a0510106f9a'

* commit 'e398151e7830510f27305cc1cb8f9a0510106f9a':
  nexus: Flesh out VPN support a bit more, cleanup service handling
2009-05-15 11:51:35 -07:00
Android (Google) Code Review
fc1ceb63d5 am dee68663: Merge change 1693 into donut
Merge commit 'dee68663724c7117a51eb3af3d9390e00af832f5'

* commit 'dee68663724c7117a51eb3af3d9390e00af832f5':
  libsysutils: Introduce 'ServiceManager', for starting/stopping init services
2009-05-15 11:51:34 -07:00
Jack Palevich
9918d0a2ee Add license, document language changes. 2009-05-15 11:01:21 -07:00
Android (Google) Code Review
b415390e74 Merge change 1778 into donut
* changes:
  init: Create new 'vpn' user/group and set owner of '/dev/tun' to it.
2009-05-15 10:47:22 -07:00
Android (Google) Code Review
e398151e78 Merge change 1694 into donut
* changes:
  nexus: Flesh out VPN support a bit more, cleanup service handling
2009-05-15 10:44:22 -07:00
Android (Google) Code Review
dee6866372 Merge change 1693 into donut
* changes:
  libsysutils: Introduce 'ServiceManager', for starting/stopping init services
2009-05-15 10:44:06 -07:00
San Mehat
4a6f2321e7 init: Create new 'vpn' user/group and set owner of '/dev/tun' to it.
Signed-off-by: San Mehat <san@google.com>
2009-05-15 10:40:29 -07:00
San Mehat
5d6d417972 nexus: Flesh out VPN support a bit more, cleanup service handling
Signed-off-by: San Mehat <san@google.com>
2009-05-15 10:40:29 -07:00
San Mehat
c41d1c8074 libsysutils: Introduce 'ServiceManager', for starting/stopping init services
Signed-off-by: San Mehat <san@google.com>
2009-05-15 10:40:23 -07:00
Eric Fischer
035b427c70 am 722a5c04: Add support for "standalone months" to tztime\'s strftime().
Merge commit '722a5c0462f38827f4097065bfc3826b9e0e9fb4'

* commit '722a5c0462f38827f4097065bfc3826b9e0e9fb4':
  Add support for "standalone months" to tztime's strftime().
2009-05-15 10:15:18 -07:00
Mathias Agopian
b862ab74c9 Merge commit 'goog/master' into merge_master 2009-05-14 22:32:16 -07:00
Android (Google) Code Review
9ded6bb1e1 Merge change 1741
* changes:
  ACC: Arm code gen improvements ++/--, &, odds and ends
2009-05-14 19:42:45 -07:00
Android (Google) Code Review
243fb9ff0f Merge change 1740
* changes:
  Implement <, >, ==, !=, >= <=, &&, and ||.
2009-05-14 19:42:17 -07:00
Jack Palevich
bd894904f7 ACC: Arm code gen improvements ++/--, &, odds and ends
Added C++-style "//..end-of-line" comments, since I kept trying to use them when writing
test programs.

The biggest known missing piece is global variables.
2009-05-14 19:35:31 -07:00
Eric Fischer
722a5c0462 Add support for "standalone months" to tztime's strftime().
The idea here is that some languages need a different form of the month
name in constructions like "January 2" than in "January 2009", since the
one in the "January 2" case really means "of January."  So with this change,
a format string of "%-B" will use the standalone month, while "%B" will
continue to use the format month.
2009-05-14 17:22:20 -07:00
Jack Palevich
8de461dc9e Implement <, >, ==, !=, >= <=, &&, and ||. 2009-05-14 17:21:45 -07:00
Android (Google) Code Review
60e300f6f3 Merge change 1714
* changes:
  ACC ARM code gen: Implement local variables, function args
2009-05-14 16:45:04 -07:00
Jack Palevich
69796b6c84 ACC ARM code gen: Implement local variables, function args
+ Fix prolog and epilog code.
2009-05-14 16:43:18 -07:00
San Mehat
a47c2fdd4a am c83cd879: init: Fix heap corruption for services with arguments
Merge commit 'c83cd879d45e667fbb4763f18c908928ee9d67d8'

* commit 'c83cd879d45e667fbb4763f18c908928ee9d67d8':
  init: Fix heap corruption for services with arguments
  toolbox: ifconfig: Implement mtu setting, plus setting interface addr should
  toolbox: route: Reflow some of the mess, fix route add parameter names to
2009-05-14 15:12:43 -07:00
San Mehat
c83cd879d4 init: Fix heap corruption for services with arguments
The 'args' array *must* be the last entry in the structure.

This fixes a longstanding issue (apparently since tc3) where
a service with an argument would corrupt the heap. The more
arguments, the more corruption :|. This will probably also end up
making key-code bound services more reliable (ie: bugreports triggered
via the keyboard)

Signed-off-by: San Mehat <san@google.com>
2009-05-14 15:08:04 -07:00
Jack Palevich
cb1c9ef38c ACC ARM code gen improvements. printf("Hello, world\n"); works!
+ Improved li to handle all 32-bit values.
+ Implemented push/pop of temp registers during evaluation
+ Implemented the unary and binary easy math operators (+,-,*,<<,>>,|,&,^,~)
+ Implemented global function calling.
2009-05-14 14:27:06 -07:00
San Mehat
54a1eb7677 toolbox: ifconfig: Implement mtu setting, plus setting interface addr should
implicitly 'up' the iface just like normal ifconfig does.

Also convert tabs -> spaces
2009-05-14 07:28:52 -07:00
San Mehat
83ec181dc7 toolbox: route: Reflow some of the mess, fix route add parameter names to
match standard route

Signed-off-by: San Mehat <san@google.com>
2009-05-14 07:28:45 -07:00
Android (Google) Code Review
11f6b92818 Merge change 1629
* changes:
  ARM codegen: Add disassembler, implement return
2009-05-13 19:53:49 -07:00
Android (Google) Code Review
2ae648f012 Merge change 1628
* changes:
  Begin filling in ARM code generator.
2009-05-13 19:53:32 -07:00
Android (Google) Code Review
a6986aa8e8 Merge change 1627
* changes:
  Add stub Arm code generator.
2009-05-13 19:53:13 -07:00
Jack Palevich
a653561097 ARM codegen: Add disassembler, implement return
This program works:

    main() { return 42; }

The disassembler was borrowed from codeflinger, and just modified enough to compile
under C++ without warnings.

Implemented gsym
Implemented a hack verison of li, only works for -256..255
Implemented gjmp
2009-05-13 19:51:03 -07:00
Jack Palevich
546b2249ef Begin filling in ARM code generator.
We can now call functions that have no arguments (and return from them too!)
2009-05-13 15:10:04 -07:00
San Mehat
e00d31aeb1 am 0389a12: toolbox: Make that \'pointopoint\' instead of \'pointtopoint\'
Merge commit '0389a1297d65321a882ea0dcc69f4de4e3bcb169'

* commit '0389a1297d65321a882ea0dcc69f4de4e3bcb169':
  toolbox: Make that 'pointopoint' instead of 'pointtopoint'
2009-05-13 12:52:53 -07:00
San Mehat
80c3b189d7 am 94447ca: nexus: Introduce skelaton OpenVpnController class + remove s
Merge commit '94447ca34b2abf9b0d9d9cb52a18bf8ba0f01b61'

* commit '94447ca34b2abf9b0d9d9cb52a18bf8ba0f01b61':
  nexus: Introduce skelaton OpenVpnController class + remove some debug messages
2009-05-13 12:52:53 -07:00
San Mehat
4676aacd5e am fa49e28: toolbox: Add \'pointopoint\' support to ifconfig
Merge commit 'fa49e2860bebe6bb2a26194c58992e5d5aed0b0d'

* commit 'fa49e2860bebe6bb2a26194c58992e5d5aed0b0d':
  toolbox: Add 'pointopoint' support to ifconfig
2009-05-13 12:52:53 -07:00
San Mehat
06683a0564 am 82a2116: nexus: Initial support for manipulating wifi networks + chan
Merge commit '82a2116e6b67db910bba22c4874e6ca5efd3eec0'

* commit '82a2116e6b67db910bba22c4874e6ca5efd3eec0':
  nexus: Initial support for manipulating wifi networks + change wifi scan notification msgs
2009-05-13 12:52:53 -07:00