Commit Graph

138 Commits

Author SHA1 Message Date
Wiktor Garbacz
b3b28b7dbf Makefile: fix kafel submodule init for parallel build 2020-01-27 10:32:10 +01:00
Robert Swiecki
b120acd5b5 make indent depend 2019-08-04 09:50:34 +02:00
Jay Lees
08f62b6f76 [cgroup-v2] support cgroup v2 for mem, cpu and pids 2019-07-26 07:02:17 -07:00
Robert Swiecki
317555b687 user: don't fail on setgroup() if not groups were specified 2019-06-28 13:31:43 +02:00
Robert Swiecki
061e32839f use util::syscall whenever possible 2019-01-21 22:37:30 +01:00
Robert Swiecki
83fc152d7c Make netlink3-route mandatory 2019-01-20 18:37:47 +01:00
Robert Swiecki
6a4315f318 More of RETURN_ON_FAILURE 2019-01-01 11:36:02 +01:00
Robert Swiecki
21a7bbbe6a Makefile: lower -Wformat to 1 2018-06-19 03:58:17 +02:00
Robert Swiecki
e8e6c1b906 make indent depend 2018-06-07 18:37:17 +02:00
Robert Swiecki
c4b51e6495 missing macros.h include 2018-04-12 23:49:10 +02:00
Robert Swiecki
1218b1e4fa Makefile: require all for depend 2018-02-17 15:28:13 +01:00
Robert Swiecki
137f66084b make indent depend 2018-02-17 15:27:27 +01:00
Robert Swiecki
e0374b4642 util: remove file only of O_CREAT was specified 2018-02-17 15:27:00 +01:00
Robert Swiecki
d7621a63de Makefile: warn about missing libnl-route-3 2018-02-16 15:57:41 +01:00
Robert Swiecki
82fb06be4e make it compile under c++11 (e.g. ubuntu trusty) 2018-02-16 15:43:03 +01:00
Robert Swiecki
fae9ce5d63 Makefile: check for existence of pkg-config 2018-02-13 17:12:55 +01:00
Robert Swiecki
eb179f1934 Makefile: make some targets .PHONY 2018-02-13 17:09:31 +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
e237773370 macros.h: surround ARRAYSIZE by guards 2018-02-12 22:39:42 +01:00
Robert Swiecki
c17ead2e33 logs: simplify timestr 2018-02-12 03:29:25 +01:00
Robert Swiecki
1f24e3a900 move sandboxing setup from cmdline to nsjail 2018-02-12 03:11:58 +01:00
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