summaryrefslogtreecommitdiff
path: root/src/shared/apparmor-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-19 19:39:16 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-19 19:39:16 +0200
commit4531a9bc206c0c22e29b56ac4a7528afba2e9c83 (patch)
tree6ea5ee56ccd2d9b16234e83e1326bef649962471 /src/shared/apparmor-util.c
parent8a0dec98a3d18666da739c984f8952865d6e0ce3 (diff)
memfd: simplify API
Now, that the memfd stuff is not exported anymore, we can simplify a few things: Use assert() instead of assert_return(), since this is used internally only, and we should be less permissive then. No need to pass an allocated fd back by call-by-reference, we can just directly return it.
Diffstat (limited to 'src/shared/apparmor-util.c')
0 files changed, 0 insertions, 0 deletions