Commit Graph

8 Commits

Author SHA1 Message Date
Simon McVittie
6ceba45306 bind-mount: Factor out bind_mount_result_to_string()
Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-06-23 19:01:57 +01:00
Simon McVittie
7f38ab6cf1 bind_mount: Return an error code, and provide a way to display it
This gives us better diagnostic messages on failure, particularly for
BIND_MOUNT_ERROR_FIND_DEST_MOUNT where we previously said "Invalid
argument".

Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-06-23 19:01:57 +01:00
Colin Walters
fdf82f9b14 Use #pragma once for headers
It's shorter and more reliable.  Also GCC/CLang specific, but that's
fine because that's all we support anyways.

Closes: #69

Closes: #70
Approved by: mrunalp
2016-05-19 02:41:33 +00:00
Alexander Larsson
d69ab9202b Ran uncruftify.sh
Closes: #67
Approved by: cgwalters
2016-05-13 12:21:08 +00:00
Mrunal Patel
4c943ddc5a Convert tabs to spaces
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>

Closes: #65
Approved by: cgwalters
2016-05-12 18:24:12 +00:00
Alexander Larsson
456211b189 Remove unused BIND_PRIVATE 2016-03-07 20:03:54 +01:00
Alexander Larsson
92712d8cd5 Rename to bubblewrap 2016-02-17 11:54:21 +01:00
Alexander Larsson
5d5f8e9614 Break out bind_mount() to separate file 2016-02-16 10:03:46 +01:00