diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-08-03 12:16:58 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-08-03 12:21:21 +0200 |
commit | 330edf6a1ec91fa5a9829d6450fa4fff0b91c693 (patch) | |
tree | 97b8b530a67043a1f185c8c4956b2c92409e0e29 /conf.d | |
parent | bdff72f45e1d02f596595f6229d5bccf7c0827c2 (diff) |
afb-cred: fix default values
Because SO_PEERCRED returns without error even when no data
is available (tcp by example), the resulting uid is now tested.
Also, for tcp, by default avoid by default to create a default
user value. Instead, return NULL. This will allow client having
an HTTP/Websocket connection to get full rights on the binder.
Change-Id: I2defb585bf79c023e2391c2e18d6de17e5112770
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf.d')
0 files changed, 0 insertions, 0 deletions