Commit Graph

117 Commits

Author SHA1 Message Date
Robert Swiecki
0efa230cdd change global vars to _ prefix 2018-02-10 20:32:04 +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
01606a0707 make depend 2018-02-10 15:44:42 +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
4719eaab48 Makefile: remove C'isms 2018-02-09 18:57:31 +01:00
Robert Swiecki
c9b6b16382 make indent 2018-02-09 18:56:04 +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
Robert Swiecki
15170f9d6c cgroup: move to C++ 2018-02-09 18:13:17 +01:00
Robert Swiecki
27a226ad28 user: move to C++ 2018-02-09 18:08:11 +01:00
Robert Swiecki
8e8fcc2815 uts: move to C++ 2018-02-09 17:59:51 +01:00
Robert Swiecki
a07f389a50 pid: move to C++ 2018-02-09 17:57:19 +01:00
Robert Swiecki
c4e57bf27e caps: move to C++ 2018-02-09 17:49:13 +01:00
Robert Swiecki
ff282fb385 cpu: move to C++ 2018-02-09 17:41:16 +01:00
Robert Swiecki
cb6222abdf net: move to C++ 2018-02-09 17:27:28 +01:00
Robert Swiecki
bd0c3fea69 sandbox: move to C++ 2018-02-09 17:16:41 +01:00
Robert Swiecki
21e1495c24 contain: move to C++ 2018-02-09 17:09:58 +01:00
Robert Swiecki
a2daa94722 subproc: move to C++ 2018-02-09 17:03:02 +01:00
Robert Swiecki
840b75025c cmdline: move to C++ 2018-02-09 15:44:29 +01:00
Robert Swiecki
0a311af2ad nsjail: make nsjail.c nsjail.cc 2018-02-08 15:24:17 +01:00
Robert Swiecki
19ea0703f2 sandbox: compile seccomp-bpf policy once only 2018-02-01 14:19:01 +01:00
Robert Swiecki
ca705b4fea Makefile: remove relro,now as it doesn't allow to compile under some archs 2017-10-27 01:53:05 +02:00
Robert Swiecki
082b3821bb Makefile/indent: add clang-format for proto 2017-10-26 00:34:32 +02:00
Robert Swiecki
e2529ce04f Makefile/indent: base it on the google template with modifications 2017-10-26 00:26:02 +02:00
Robert Swiecki
152d6d68ae simplify includes, remove unneeded, add needed 2017-10-18 14:46:17 +02:00
Robert Swiecki
58d6b3075c Move struct nsjail_t definition to nsjail.h and leave only macros in common.h 2017-10-18 14:27:34 +02:00
Robert Swiecki
4ffec405de Makefile: add columnt limit to the indent 2017-10-17 15:22:23 +02:00
Robert Swiecki
74b43346bd make indent 2017-10-08 23:00:45 +02:00
Robert Swiecki
414e999787 switch indent to clang-format completely 2017-10-08 22:52:52 +02:00
Robert Swiecki
21d08eaa67 config: make config static so we can get rid of strdup() 2017-10-07 00:18:21 +02:00
Robert Swiecki
293a683b14 caps: more comments 2017-10-01 05:49:13 +02:00
Robert Swiecki
8aafd1b41b Makefile: correct proto dep, plus some comments in caps.c 2017-10-01 00:06:36 +02:00
Robert Swiecki
d20aa424e0 cap: Don't use -libcap anymore, as it had problems with newer capabilities 2017-09-30 00:05:41 +02:00
Robert Swiecki
de9712befc makefile: missing depend on pb.o 2017-09-25 20:06:09 +02:00
Robert Swiecki
9e49e2fa65 makefile: missing depend on pb.o 2017-09-25 20:02:07 +02:00
Robert Swiecki
8a263cd189 indent 2017-09-25 19:54:06 +02:00
hamid
ba7eb4d95f Adding the mistakenly removed line to the makefile 2017-09-18 16:28:13 +02:00
Robert Swiecki
21a0b09f37 Makefile: -Wno-unused-parameter for older g++ 2017-09-18 12:53:42 +02:00
Robert Swiecki
4516cf06af Makefile: clear -> clean 2017-09-16 18:10:28 +02:00
Robert Swiecki
d8ba88e86b makefile: proper deps for protos #2 2017-09-16 16:43:01 +02:00
Robert Swiecki
392ed3c3df makefile: proper deps for protos 2017-09-16 16:39:55 +02:00
Robert Swiecki
5c2d98562c makefile: deal with .proto better 2017-09-16 00:31:53 +02:00
Robert Swiecki
23bb48c9de Makefile: remove space 2017-09-15 18:12:18 +02:00
Robert Swiecki
374f6cc4f0 config: Initial work on converting config.c to c++ protobuf lib
config: Initial work on converting config.c to c++ protobuf lib #2

config: Initial work on converting config.c to c++ protobuf lib #3

config: Initial work on converting config.c to c++ protobuf lib #4

config: Initial work on converting config.c to c++ protobuf lib #5

config: Initial work on converting config.c to c++ protobuf lib #6
2017-09-14 21:17:38 +02:00
Robert Swiecki
cf3525dd49 Makefile: add -D_FILE_OFFSET_BITS=64 to CFLAGS 2017-07-15 15:04:25 +02:00
Robert Swiecki
074582782c caps: shorter debug messages 2017-07-06 11:37:41 +02:00
Robert Swiecki
7226893b12 config: bind caps 2017-07-06 01:12:13 +02:00