Robert Swiecki
122f251efd
mnt: simplify debug message #2
2018-10-30 01:44:08 +01:00
Robert Swiecki
28c80845ea
mnt: simplify debug message
2018-10-30 01:33:09 +01:00
Robert Swiecki
cfdf71043e
mnt: simplify printing mnt points
2018-10-28 21:07:46 +01:00
Robert Swiecki
6af9565a1d
mnt: function rename
2018-07-29 00:30:08 +02:00
Wiktor Garbacz
ba14675185
mnt: added nosuid/nodev/noexec flags to config
...
Closes #70
2018-07-27 11:29:15 +02:00
Wiktor Garbacz
c23d02e5f3
mnt: remount all filesystems
...
Explicitly specifying RW "/" mount in config did not yield desired
result.
The reason was a default RO "/" tmpfs is prepended to mountpoint
list. All filesystems are initially mounted RW to be able to create
directories for mountpoints. Read only filesystems were remounted
during a 2nd pass, effectively overriding RW flag of fs mounted
over them.
Fixes #88
2018-07-24 16:30:31 +02:00
Robert Swiecki
2b6955e48c
A few c++isms more
2018-05-23 18:19:17 +02:00
Robert Swiecki
c365eb1766
More c++ isms
2018-05-22 14:27:18 +02:00
Robert Swiecki
f8db8c7eea
mnt: add original_uid to directories created as new root by nsjail
2018-05-16 15:50:31 +02:00
Robert Swiecki
6e2e64e73e
mnt: better mount flag printing
2018-04-29 00:58:35 +02:00
Robert Swiecki
6d5a2c37ff
mnt: c++-ication
2018-04-27 23:58:53 +02:00
Robert Swiecki
6b74580a89
mnt: simplify mountPt
2018-02-21 03:29:26 +01:00
Robert Swiecki
2b109ea687
mnt: simpler describeMountPt
2018-02-20 16:03:32 +01:00
Robert Swiecki
70b9565250
compare behaves like strcmp with results
2018-02-19 17:41:37 +01:00
Robert Swiecki
b04b3af8e0
strcmp -> std::string::compare
2018-02-18 14:37:33 +01:00
Robert Swiecki
11195999a3
rename ARRAYSIZE to ARR_SZ due to clash with protobufs headers
2018-02-13 16:53:45 +01:00
Robert Swiecki
5a35f00e28
mnt: move mnt_t to std::string
2018-02-11 23:44:43 +01:00
Robert Swiecki
0513124b4f
mnt: convert describeMountPt from const char* to std::string
2018-02-11 00:24:43 +01:00
Robert Swiecki
f2a52533be
convert some funcs returning pointers to to TLS to std::string
2018-02-10 21:19:47 +01:00
Robert Swiecki
97278f191b
log: rename log to logs due to clash with glibc's log
2018-02-10 17:49:15 +01:00
Robert Swiecki
4494deffa7
omit keyword 'struct'
2018-02-10 15:50:12 +01:00
Robert Swiecki
ecd4c32d9a
mnt: replace sys/queue with std::vector
2018-02-10 14:38:01 +01:00
Robert Swiecki
1761ed4fdc
move common.h to macros.h
2018-02-10 05:25:55 +01:00
Robert Swiecki
c34b52ab78
nsjail: convert a couple of struct fields to std::string
2018-02-10 04:10:18 +01:00
Robert Swiecki
7f72cbd497
all: move to C++
2018-02-09 18:55:42 +01:00
Robert Swiecki
a6c34999f2
util: move to C++
2018-02-09 18:45:50 +01:00
Robert Swiecki
a82abf4dcb
mount: move to C++
2018-02-09 18:26:16 +01:00