History log of /system/netd/include/Permission.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1ed96e2d3fa89ca4848750a6b3bbbcf677946d27 01-Feb-2017 Lorenzo Colitti <lorenzo@google.com> Move some code out of CommandListener.

1. Move lots of initialization code to Controllers.cpp.
2. Move stringToPermission to Permission.h, which seems like a
better place for it.

Bug: 34873832
Test: builds, boots
Change-Id: I01ba8e1d062d298eab71a1b90899df042fdc2360
/system/netd/include/Permission.h
1f28b6403effcbf8a2c6fd35a7b1474b60bc0463 26-Sep-2016 Lorenzo Colitti <lorenzo@google.com> List network permissions in dumpsys netd.

Bug: 23113288
Change-Id: Iea225ead1f6296ded29fcee2435a8c6aa2a67429
/system/netd/include/Permission.h
ed4bd1f7d219f9f5f56763ea02cf4947e78397f6 05-Jul-2014 Sreeram Ramachandran <sreeram@google.com> Fix permissions handling.

+ Rename the permissions as per: http://go/android-multinetwork-routing
+ Make the SYSTEM permission explicitly include NETWORK.
+ Grant the SYSTEM permission to system UIDs by default, but allow the framework
to override them if necessary.
+ Move the "string to permission" parsing to CommandListener.cpp, thus allowing
us to get rid of Permission.cpp.
+ There's no need to support multiple permissions string arguments, so tighten
that up.

Change-Id: I73d51b5e2f44a97e6d5ab5943ff198cebfbcc0c4
/system/netd/include/Permission.h
4d4c8b7e294d845103ecb10f968713717a3e6406 20-Jun-2014 Sreeram Ramachandran <sreeram@google.com> Add getNetworkForSocket().

This doesn't require a roundtrip to netd, since anybody can read the SO_MARK.

Change-Id: I51dd17725c4534cb0d5dbc8e93e844e6a7847959
/system/netd/include/Permission.h