summaryrefslogtreecommitdiff
path: root/test/exec-environment.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-22 13:05:26 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-22 13:27:53 +0200
commit03091baac3c37094af6a30be31e4962dd26f8404 (patch)
tree242e6ca2dcd35e96038e14663a673e3d30bf19c6 /test/exec-environment.service
parent163ab2961268232e1cb49e990a8ccefe24b7649f (diff)
util: make sure fd refers to regular file or directory when applying file attributes
Before invoking file system ioctls we need to make sure that the specified fd actually refers to a file system object, and not a device node or similar. Otherwise we might by accident invoke unrelated device driver ioctls. For example, DRM ioctls use the same ioctl numbers as the various file system ioctls.
Diffstat (limited to 'test/exec-environment.service')
0 files changed, 0 insertions, 0 deletions