Commit Graph

  • d7e29edd02 fix: force clear stream state introduced by rdbuf stat Paul Pan 2024-03-13 19:05:30 +0800
  • d573c588b0 feat: add memory related stats Paul Pan 2024-03-13 17:58:33 +0800
  • 25ba8d7076 feat: add dump_stats support Paul Pan 2024-03-13 16:35:47 +0800
  • a6ec85c1a0 chore: ignore .idea Paul Pan 2024-03-13 15:54:14 +0800
  • cf5d6387df fix: google::protobuf::SetLogHandler is no longer available since protobuf 22 Paul Pan 2024-03-13 15:52:11 +0800
  • a00a0efabc Update kafel master Wiktor Garbacz 2024-02-14 13:00:54 +0100
  • b740dcf57a make indent Robert Swiecki 2023-12-02 23:24:16 +0100
  • d68db32b06
    Fix deleted brace happyCoder92 2023-11-28 14:16:17 +0100
  • 23a1b85087
    Make util::gerlimit compatible with MSAN happyCoder92 2023-11-28 14:11:08 +0100
  • 3d9a5b2307
    Merge pull request #227 from philwo/philwo-1 robertswiecki 2023-11-19 16:59:56 +0100
  • 727caf9d4a
    Fix typo (SIKGILL -> SIGKILL). Philipp Wollermann 2023-11-19 21:39:23 +0900
  • 3ff69c0f56 config: use proper namespace for SetLogHandler Robert Swiecki 2023-10-25 13:41:31 +0200
  • 78110d184e net: initialize some structs with {} Robert Swiecki 2023-10-22 23:19:37 +0200
  • 61250ea20b pid: more logging Robert Swiecki 2023-10-22 22:39:30 +0200
  • e67e8dc2f1 sandbox: better logging Robert Swiecki 2023-10-21 23:36:00 +0200
  • 84f6d75d26 convert strcmp() to util::StrEq Robert Swiecki 2023-10-21 18:37:57 +0200
  • 98ec95ca85 Use nullptr where appropriate Robert Swiecki 2023-10-20 14:15:36 +0200
  • 94b022fece util: implement rLimName() to use in cmdline/config Robert Swiecki 2023-10-10 01:17:42 +0200
  • e7c7583aaa .clangd: Add -Ikafel/include for kafel Robert Swiecki 2023-10-05 15:39:21 +0200
  • 0c9f755764 update kafel Wiktor Garbacz 2023-10-04 15:02:38 +0200
  • 079d70dda4 .cland: add include to libnl3 Robert Swiecki 2023-10-04 08:34:57 +0200
  • 3d0bbf6927 cgroups2: make a function declaration-less by moving it earlier Robert Swiecki 2023-10-04 08:28:18 +0200
  • c0e13eebca .clangd: remove unnecessary empty line Robert Swiecki 2023-10-03 23:22:49 +0200
  • ca29f292b6 mnt: reformat messages for PLOG Robert Swiecki 2023-10-03 23:16:55 +0200
  • d99e530134 cmdline: log to stdout if -h or --help was used Robert Swiecki 2023-10-01 13:32:12 +0200
  • 50a741cf65 config: adjust identifiers, so they don't repeat config::config.. in method names Robert Swiecki 2023-10-01 12:57:40 +0200
  • fd9a7029d4 .clangd: for nvim/clangd Robert Swiecki 2023-10-01 09:41:47 +0200
  • c1515459d7 contain: fail of fcntl(F_GETFD) fails for a fd with something else then EBADFD Robert Swiecki 2023-10-01 00:32:29 +0200
  • f388cad3e0 contain: use prlimit64 instead of setrlimit64 which seems to be glibc-specific, so it compiles with musl too Robert Swiecki 2023-09-29 18:11:40 +0200
  • fbeac46568 .clang-format: proto specific section Robert Swiecki 2023-09-22 17:02:01 +0200
  • db7f0d0a23 .clang-format: use formatting based on .clang-format Robert Swiecki 2023-09-22 16:52:19 +0200
  • 29f0a5b985 Makefile: indent .proto with the same cmd as *.cc *.h Robert Swiecki 2023-09-22 16:46:52 +0200
  • 275de833ba indent: use 'AlignEscapedNewlines: Right' to put backslashed in macros at ends of lines Robert Swiecki 2023-09-22 16:43:40 +0200
  • d1b74c2238 util: put QC() in () Robert Swiecki 2023-09-22 16:40:56 +0200
  • d7cf1a9c0d make indent Robert Swiecki 2023-09-21 08:31:47 +0200
  • 557633c1de Makefile: move to c++17 to use [[maybe_unused]] and remove DEFER (actually not used) from macros.h Robert Swiecki 2023-09-21 08:29:36 +0200
  • 439606be70 Makefile/indent: add AlwaysBreakBeforeMultilineStrings:false Robert Swiecki 2023-09-19 20:31:57 +0200
  • 2e27593482 make indent: clang-format-18 Robert Swiecki 2023-09-19 08:45:42 +0200
  • b32146cd78 Makefile: simplifications around config.pb.* Robert Swiecki 2023-09-18 21:29:30 +0200
  • 3af3eac80f caps: define new CAP_* unconditionally Robert Swiecki 2023-09-17 10:48:17 +0200
  • bc4e7fdd52 cmdline: constify structs Robert Swiecki 2023-09-15 15:38:37 +0200
  • 6c5c13017d util/signal: sort signals according to asm/signal.h Robert Swiecki 2023-09-15 08:47:16 +0200
  • 47d0e8e6eb pid: clear sigaction before use Robert Swiecki 2023-09-06 16:50:26 +0200
  • d92957c95a util: missing SIGPWR Robert Swiecki 2023-08-29 09:09:51 +0200
  • 8308b91c04 subproc: mark cloneFunc as [[noreturn]] Robert Swiecki 2023-08-18 13:33:57 +0200
  • 611ef1c435 subproc: support CLONE_CLEAR_SIGHAND Robert Swiecki 2023-08-17 15:07:51 +0200
  • 5e494a6a78 subproc: display additional clone3 flags Robert Swiecki 2023-08-09 18:19:37 +0200
  • e507a64e09 configs/: formatting Robert Swiecki 2023-06-25 12:36:47 +0200
  • 8804792862 configs/telegram: telegram is 64 bit only Robert Swiecki 2023-06-25 12:35:25 +0200
  • e736d55438 configs/telegram: a new config for the telegram-desktop Robert Swiecki 2023-06-24 21:04:29 +0200
  • 14f1e6852d formatting fix okunz 2023-06-13 11:55:54 +0200
  • 924c8fa9f9
    Better output formatting for --help okunz 2023-06-13 11:47:21 +0200
  • e1402ed775
    Merge pull request #219 from disconnect3d/patch-3 robertswiecki 2023-05-30 21:32:12 +0200
  • f7265e0690
    cgroup2.cc: improve note about using Docker Disconnect3d 2023-05-29 00:19:31 +0200
  • 603ba857e9 logs: respect getenv(NO_COLOR) Robert Swiecki 2023-05-28 09:12:23 +0200
  • 454cfb509f configs/hexchat: new config based on xchat Robert Swiecki 2023-05-26 08:42:52 +0200
  • f920c9194e Mount read-only directly if mounting rw fails Wiktor Garbacz 2023-05-16 14:01:45 +0200
  • 5b48117a09 configs/xchat: mount whole /tmp/.X11-unix Robert Swiecki 2023-01-03 08:11:47 +0100
  • c7c0adfffe config.prot: document disable_tsc Robert Swiecki 2022-11-22 22:25:15 +0100
  • 2d9b694ca2 Readme: new output Robert Swiecki 2022-11-22 22:21:50 +0100
  • f2dc5966e3 all: unify comments on /**/ Robert Swiecki 2022-11-22 22:19:05 +0100
  • cc4245d23a make indent depend + style of comments Robert Swiecki 2022-11-22 22:15:01 +0100
  • 4437810830
    Merge pull request #208 from ndrewh/cgroupsv2-fix robertswiecki 2022-11-22 22:12:12 +0100
  • 12df56b9f1 Setup cgroup.subtree_control controllers when necessary in cgroupsv2 Andrew Haberlandt 2022-11-09 23:43:44 -0500
  • 90e285450d Unset LDFLAGS for kafel Oliver Newman 2022-11-11 10:13:32 -0500
  • e3a8607ef5 Add missing cerrno include Wiktor Garbacz 2022-11-10 10:48:25 +0100
  • 4567c78a27 config/xchat: move original .xchat2 config dir to .config/ Robert Swiecki 2022-10-25 14:55:04 +0200
  • fdc640e20c subproc.h: make cloneProc declaration match the definition Robert Swiecki 2022-10-25 08:33:23 +0200
  • 285ea15811 subproc/mount: use better types for flags, u64 for clone, unsigned long for mount Robert Swiecki 2022-10-24 13:12:20 +0200
  • 2e62649b4c Update kafel Wiktor Garbacz 2022-10-14 11:54:25 +0200
  • dc42a5d003 configs/bash: remove tmpfs mount over /dev as it makes /dev/null non-writeable Robert Swiecki 2022-09-15 16:12:13 +0200
  • 454b051599 configs/firefox-with-net-wayland: x11 socket is not needed here Robert Swiecki 2022-09-10 16:32:06 +0200
  • 80b26e7554 caps: shorter std::string::append Robert Swiecki 2022-09-06 17:44:55 +0200
  • b87f983463 configs: make configs using X11 more versatile Robert Swiecki 2022-09-04 12:07:55 +0200
  • a22bb2e437 make indent Robert Swiecki 2022-08-27 21:17:43 +0200
  • 595cdc8916 nsjail: use atomic in sighandlers Robert Swiecki 2022-08-26 14:40:46 +0200
  • 9a8d440a7c configs/xchat-with-net: use 8.8.8.8 in resolv.conf unconditionally Robert Swiecki 2022-08-26 00:44:21 +0200
  • c63e5b39e8 use QC() across the code Robert Swiecki 2022-08-10 15:23:53 +0200
  • 730b890ded cpu: more debug messaging Robert Swiecki 2022-08-10 15:02:53 +0200
  • 30c81ce01f configs: block sched_setaffinity where max_cpus is used Robert Swiecki 2022-08-09 16:38:12 +0200
  • b3fcc30aec cpu: more debugging messages Robert Swiecki 2022-08-09 16:13:03 +0200
  • f628f74b00 mnt: quote paths in log messages Robert Swiecki 2022-08-09 12:05:33 +0200
  • e98dc415fc Switch C++ standard to C++14 - it'll allow to use new features, like std::quoted Robert Swiecki 2022-08-09 11:34:18 +0200
  • 4128a7cbd9 mnt: remove unnecessary quote in a debug message Robert Swiecki 2022-08-09 11:32:49 +0200
  • 38fcf4f752 subproc: type + const string& in the iterator Robert Swiecki 2022-08-09 10:44:25 +0200
  • 8e3ca99c3f cpu/subproc: better debugging strings Robert Swiecki 2022-08-09 00:03:20 +0200
  • 0d292e7be7 cpu: even better LOG_Ds Robert Swiecki 2022-08-05 19:15:18 +0200
  • a33f3a81ca cpu: Add more debugging messages Robert Swiecki 2022-08-05 08:43:39 +0200
  • 9aee3dd831 Make logs more efficient by avoiding argument evaluation for LOG* if it's not needed at the current level Robert Swiecki 2022-08-05 08:42:37 +0200
  • 856cb0f2ec When setting CPU affinity, take into consideration the current CPU affinity set. Use only CPU numbers, which exist in the current affinity set. Maybe fixes https://github.com/google/nsjail/issues/200 Robert Swiecki 2022-08-04 19:22:33 +0200
  • 57ed22dfdf make indent Robert Swiecki 2022-06-11 12:08:50 +0200
  • d88be25986
    Merge pull request #197 from pks-t/pks-forward-signals robertswiecki 2022-06-11 12:08:21 +0200
  • df21a972b6 nsjail: Optionally forward fatal signals Patrick Steinhardt 2022-06-05 19:36:39 +0200
  • a517934aba subproc: Allow killing subprocesses with different signal Patrick Steinhardt 2022-06-05 19:30:16 +0200
  • 6483728e24 config: better config parsing debugging Robert Swiecki 2022-03-15 00:44:33 +0100
  • e678c25b32
    Merge pull request #193 from 243f6a8885a308d313198a2e037/fix/20220223_typo_siutime robertswiecki 2022-02-26 19:51:23 +0100
  • 472932c6f0 subproc.cc: fix typo: SiUime -> SiUtime 243f6a8885a308d313198a2e037 2022-02-23 14:41:23 +0900
  • 91d5c9871a log.h: no need to use __PRETTY_FUNCTION__ as it makes it harder to read log messages, just __FUNCTION__ should be 'good enough' for debugging Robert Swiecki 2022-02-18 20:26:52 +0100
  • 02458084fe contain: call prctl(PR_SET_TSC) under x86/x86-64 only Robert Swiecki 2022-02-18 16:11:20 +0100
  • 8e4cc83eb2
    Merge pull request #192 from mkow/mkow/disable-tsc-docs robertswiecki 2022-02-18 01:28:39 +0100