diff options
author | Stefan Junker <code@stefanjunker.de> | 2015-05-14 22:51:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-14 22:51:05 +0200 |
commit | ce5b3ad4508fa6d561fcccff0852afaace1d82ac (patch) | |
tree | f9ea7fe39325a2e49caf1e46f0e425d71b735440 /src/shared/util.h | |
parent | 0e85114376b7d28c79d0a66996d1bc1a1ee01724 (diff) |
nspawn: allow access to device nodes listed in --bind= and --bind-ro= switches
https://bugs.freedesktop.org/show_bug.cgi?id=90385
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index 0c81e3dc45..22f505c0cb 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -852,6 +852,7 @@ int take_password_lock(const char *root); int is_symlink(const char *path); int is_dir(const char *path, bool follow); +int is_device_node(const char *path); typedef enum UnquoteFlags { UNQUOTE_RELAX = 1, |