chiark / gitweb /
audit: audit calls should return ENODATA when process are not in an audit session
authorLennart Poettering <lennart@poettering.net>
Thu, 3 Sep 2015 16:24:57 +0000 (18:24 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:19:06 +0000 (10:19 +0100)
commit477b3c51a0125596d4c5ed7798bf48f08de937af
treed324484fe7d970829ed70ef17ddd6ca18c72bde1
parentf2cfa6051c00fe07268bf72f625ba4b2cf21e168
audit: audit calls should return ENODATA when process are not in an audit session

ENODATA is how we usually indicate such "missing info" cases, so we
should do this here, too.
src/basic/audit.c
src/libelogind/sd-bus/bus-creds.c