Skip to content
Snippets Groups Projects
Commit 1b4e69a7 authored by William Roberts's avatar William Roberts
Browse files

make unix_socket_connect() for property service a warning


Encourage the use of set_prop macro by making existing
unix_socket_connect(domain, property, init) calls
warn at compile time. When encountering one of these macros,
m4 will emit a deprecated message as follows:

m4: external/sepolicy/adbd.te: 97: deprecated: unix_socket_connect(adbd, property, init) Please use set_prop(adbd, <property name>) instead.

Change-Id: I997fed75d2683933e08db8b9efeecea71523c7c3
Signed-off-by: default avatarWilliam Roberts <william.c.roberts@linux.intel.com>
parent 520bb816
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment