se: Initial commit

seeld is a secure element daemon, providing a D-Bus interface for secure
elements and their channels.
It also implements an access control enforcer (ACE) as specified by the
Global Platform.
dbus: Define neard's Secure element D-Bus interface
plugin: Include relative builtin.h

neard and seeld have their own, different, dynamically generated builtin
header.
build: Enable seeld build
tizen: Change plugin name to tizen
tizen: Use modem path as the key for modem_hash

We only get the modem name from the telephony GetModems interface,
but in sim_changed signal, we get the dbus path, this patch will make
them in accordance with each other.
tizen: Invoke user callback when have error before transceive

Because we use the queue to save the io request, we need to use
the callback function to free the request structure.
se: Fix close channel error

in close_channel_cb, return value 0 means the success operation
when channel path is removed in hash table, __seel_channel_remove
will be called by se_channel_free.
se: Fix APDU double free when transceive fails

The APDU command will be freed in send_io even when transceive fails.
se: Use callback function to handle the request data

Due to we use queue to save the command, the callback function will handle
the error operation, else it may lead to buffer double free.

Move the free operation of req->apdu to io_cb since the io_cb function
may be called directly in the plugin, after req struct is freed,
req->apdu will be a wild pointer.
se: Add ace rule after we finished get SE operation

Currently, after we get the first SE(embedded type) from kernel
through netlink, we will try to get the ace rule directly, but
we may failed to get through netlink with error, then the next
SE type will not able to be added.
ace: Add length option for get refresh tag operation

In command INS_GET_GP_DATA, when try to get the refresh tag
value, the return value is not null, then we need to set the
resp_lenght to 0. Also the response value for get refresh tag
operation is (tag, length, value), we missed the length option
in current code.
AUTHORS: Mention Arron's contributions
doc: Add seeld D-Bus API

They need to be converted to freedesktop's Object Manager API. Once
that's done, se-manager-api.txt will go away.
neard.service.in: set ExecStart correctly, remove NotifyAccess

ExecStart was evaluating to ${libexecdir}/neard, but the binary
is installed to ${pkglibexecdir}/neard.  Change the subsitition
to reflect the actual paths.

Also remove NotifyAccess, it's only used when Type=notify.
Makefile: add missing binaries to dependency on local_headers

seeld and snep_send were missing from the rule that generates
the header symlink farm, resulting in headers not being available
in highly parallel builds.