Commit Graph

  • 8960e6d8d8 Free string on error Michael Santos 2014-08-12 07:51:05 -04:00
  • 3b51a442dd Add defaults to switch statements Michael Santos 2014-08-12 07:44:46 -04:00
  • df38a30f73 Minor clean up of term handling Michael Santos 2014-08-11 10:48:44 -04:00
  • 15d7595902 Corrects errors detected by scan-build Michael Santos 2014-08-11 07:53:27 -04:00
  • 633a6ee1e7 FreeBSD: fix compiler warnings Michael Santos 2014-08-10 13:55:27 -04:00
  • d9bbd58021 Merge branch 'ei' into eix Michael Santos 2014-08-10 12:35:13 -04:00
  • 62fb90e2f2 Convert to BSD errx from erl_interface erl_err_* Michael Santos 2014-08-07 10:31:59 -04:00
  • bb9eb9f338 Remove alcove_stats Michael Santos 2014-08-07 10:14:08 -04:00
  • 376487da93 Remove dependency on erl_interface/pthreads Michael Santos 2014-08-10 11:45:27 -04:00
  • a2b8e1742c lseek: fix copy/paste error in whence erl_interface 0.6.1 Michael Santos 2014-08-08 10:04:30 -04:00
  • 53516e0f71 Convert to BSD errx from erl_interface erl_err_* Michael Santos 2014-08-07 10:31:59 -04:00
  • b8739e0bf5 Remove alcove_stats Michael Santos 2014-08-07 10:14:08 -04:00
  • a53f4671fe Add sasl to dependencies Michael Santos 2014-08-06 10:05:39 -04:00
  • 62e06aaf95 readme: sudo for CentOS, remove completed todo's Michael Santos 2014-08-05 10:25:52 -04:00
  • 56857281f8 Crash if call/2,3,4,5 reaches the timeout Michael Santos 2014-08-04 16:26:18 -04:00
  • a338021cce types: convert to using timeout() in type spec Michael Santos 2014-08-04 14:48:45 -04:00
  • 175c81046e Resume partial writes Michael Santos 2014-08-03 10:39:03 -04:00
  • bc84d869d3 Add test for writing to invalid PIDs Michael Santos 2014-08-03 10:23:18 -04:00
  • 7a07c8eec1 Add call/5: call with timeout Michael Santos 2014-08-03 10:09:58 -04:00
  • 7488c1737b Ignore failures writing to a process' stdin Michael Santos 2014-08-03 09:48:25 -04:00
  • dc495fed9d Use a macro to calculate the iovec length Michael Santos 2014-07-31 17:06:55 -04:00
  • c91307c102 alcove_write: fix end of array check Michael Santos 2014-07-30 11:25:01 -04:00
  • 4ec1a4640e Resume partial writev's Michael Santos 2014-07-29 17:12:11 -04:00
  • 7b5e34884b Move macros to header Michael Santos 2014-07-28 10:57:13 -04:00
  • b29072022e Formatting, variable names Michael Santos 2014-07-27 09:24:15 -04:00
  • 895442cce1 Use a static buffer for the protocol headers Michael Santos 2014-07-26 18:08:42 -04:00
  • c8b2061e5e Check length before retrieving 2 byte int Michael Santos 2014-07-26 15:23:00 -04:00
  • 5a18856fbd Consolidate message reads from stdin Michael Santos 2014-07-26 12:03:09 -04:00
  • 71bd692310 Clean up message parsing from stdin Michael Santos 2014-07-26 10:52:33 -04:00
  • bb94149c09 Use writev(2) for stdio Michael Santos 2014-07-24 14:31:28 -04:00
  • bb700f1bdd Simplify stdin message parsing Michael Santos 2014-07-25 12:13:01 -04:00
  • 0fb0fee5f2 Really fix define/2,3 string comparison Michael Santos 2014-07-25 12:09:00 -04:00
  • 614841d9db define: fix string comparison of constants Michael Santos 2014-07-24 11:27:29 -04:00
  • ace0cd5724 Run chroot tests on openbsd Michael Santos 2014-07-21 07:58:35 -04:00
  • 9149b4c1d4 tests: run alloc test on all platforms Michael Santos 2014-07-18 12:24:30 -04:00
  • 7a1c17bfd6 Specs for alcove_cgroup:destroy/1,2,3 Michael Santos 2014-07-18 10:39:49 -04:00
  • c569af73b7 Specs for alcove_cgroup:create/1,2,3 Michael Santos 2014-07-17 18:04:15 -04:00
  • 9216014669 Specs for setsid/1,2 Michael Santos 2014-07-16 13:49:45 -04:00
  • 1deadf3e90 Specs for call/2,3,4 Michael Santos 2014-07-15 17:47:41 -04:00
  • d38e617e7d Specs for cast/2,3,4 Michael Santos 2014-07-14 16:31:24 -04:00
  • ee0e213d29 Specs for event/1,2,3 Michael Santos 2014-07-13 11:29:55 -04:00
  • d425f54097 tcplxc: drain any pending stdio before exiting Michael Santos 2014-07-12 11:35:19 -04:00
  • 43c58773e8 Specs for stdin/2 Michael Santos 2014-07-12 09:32:01 -04:00
  • a20154553c Specs for stderr/1,2 Michael Santos 2014-07-11 16:25:05 -04:00
  • 216d0e388f Correct specs for stdout/1,2 Michael Santos 2014-07-10 17:03:54 -04:00
  • f25c9377bb Correct type for version/1,2 Michael Santos 2014-07-09 10:07:36 -04:00
  • ec1a87b4f4 specs: add types for file descriptors Michael Santos 2014-07-08 18:00:31 -04:00
  • ef3faf49ca Specify OS PID return values Michael Santos 2014-07-07 10:05:31 -04:00
  • bc159a5902 Specify type for OS pids Michael Santos 2014-07-06 11:16:23 -04:00
  • 3b2299e08c Add a unique type for the port Michael Santos 2014-07-05 10:29:53 -04:00
  • 4fe70865fa spec: alcove_cgroup:supported/1,2 Michael Santos 2014-07-04 10:01:52 -04:00
  • 58b5edcfe5 spec: audit_arch/0 Michael Santos 2014-07-03 16:47:45 -04:00
  • ea2eff19fe spec: syscall_define/2,3 Michael Santos 2014-07-02 15:56:21 -04:00
  • f7b3478e0b typespec: rmdir/2,3 Michael Santos 2014-06-30 10:04:09 -04:00
  • e4053c4482 spec: file_define/2,3 Michael Santos 2014-06-29 10:25:09 -04:00
  • 4c61d9f025 spec: eof/2,3 Michael Santos 2014-06-28 10:16:27 -04:00
  • 43030ab2a6 setopt/3,4: clean up Michael Santos 2014-06-27 10:25:29 -04:00
  • 2ea703cd2e typespec: getopt/2,3 Michael Santos 2014-06-26 16:42:59 -04:00
  • 62c9795afa spec: signal_constant Michael Santos 2014-06-25 15:24:13 -04:00
  • 6187cae070 typespec: select Michael Santos 2014-06-24 16:37:13 -04:00
  • dae8d5428e typespec: lseek Michael Santos 2014-06-23 16:23:45 -04:00
  • 81783a9569 spec: add getpgrp Michael Santos 2014-06-22 12:57:23 -04:00
  • 296cdc911e seccomp/allow_syscall: remove the call to port Michael Santos 2014-06-21 10:33:21 -04:00
  • b12386458a tests: remove unused var Michael Santos 2014-06-20 11:06:34 -04:00
  • 7ea1404ebb seccomp: move macros to header Michael Santos 2014-06-20 10:53:37 -04:00
  • 3b89edf91a Fix dialzyer errors Michael Santos 2014-06-19 10:05:34 -04:00
  • bb7bc1665f tests: skip tests on unsupported OS'es Michael Santos 2014-06-18 10:32:11 -04:00
  • 32d898f552 tests/seccomp: no tests on unsupported os'es Michael Santos 2014-06-17 13:31:21 -04:00
  • 91d6da74a2 tests: check for seccomp mode support Michael Santos 2014-06-16 11:33:08 -04:00
  • dc2a102275 test: fix return value of trapped syscall Michael Santos 2014-06-16 11:10:47 -04:00
  • 1e08427fe4 test: rough test for seccomp mode Michael Santos 2014-06-16 11:07:17 -04:00
  • 99e4cd4ba3 test: allocated buffer for prctl Michael Santos 2014-06-15 10:41:05 -04:00
  • 027db8d12a alcove_buf_to_list: convert a buf to a cstruct Michael Santos 2014-06-14 10:27:42 -04:00
  • b0f9e5336e alcove_list_to_buf: include static binaries Michael Santos 2014-06-14 10:27:42 -04:00
  • 63aaff05e7 typespec: getsid/2,3 Michael Santos 2014-06-13 10:26:31 -04:00
  • baea252a7a prctl: update types for prctl args Michael Santos 2014-06-12 10:44:03 -04:00
  • a50e025d24 define/3: allow define to run in a child context Michael Santos 2014-06-11 09:55:39 -04:00
  • 6bfe49ec6c seccomp: add functions to generate BPF bytecode Michael Santos 2014-06-10 08:00:08 -04:00
  • ff3e4504b2 audit_arch: add lookup table for arch Michael Santos 2014-06-09 09:58:35 -04:00
  • a99271547e seccomp: lookup the audit arch Michael Santos 2014-06-08 11:09:41 -04:00
  • 5cc1912ef1 seccomp: lookup syscall numbers Michael Santos 2014-06-08 10:08:28 -04:00
  • b422eea7b2 seccomp: test for the existence of linux/seccomp.h Michael Santos 2014-06-07 15:53:34 -04:00
  • 5f3e146c8c prctl: code tetris Michael Santos 2014-06-07 11:28:18 -04:00
  • 6468272bf5 prctl: fix allocated arguments Michael Santos 2014-06-07 10:51:09 -04:00
  • 39bad9d3bb prctl: use an array for the prctl args Michael Santos 2014-06-07 10:42:17 -04:00
  • 8e33443834 prctl: fix pasto in args Michael Santos 2014-06-07 10:33:35 -04:00
  • c6f79d1722 Bump version Michael Santos 2014-06-06 14:52:34 -04:00
  • fa07b11b85 Add macros for Linux seccomp mode Michael Santos 2014-06-06 14:35:43 -04:00
  • 433ea39bcb prctl: free on badarg Michael Santos 2014-06-03 08:42:11 -04:00
  • 845cf6ec1e Support allocating C structs containing pointers Michael Santos 2014-06-02 16:07:24 -04:00
  • 9f61e654d2 Fix memory leak on error Michael Santos 2014-06-01 17:17:06 -04:00
  • e297887ce3 Add defines for seccomp mode on linux Michael Santos 2014-05-31 11:22:36 -04:00
  • e6094d4608 define: return false for unknown values Michael Santos 2014-05-31 11:22:10 -04:00
  • ba1972717c Add getpgrp(2) Michael Santos 2014-05-30 10:12:17 -04:00
  • f093dddabb Add getsid(2) Michael Santos 2014-05-28 10:23:42 -04:00
  • eedfb87367 mount: allow the source directory to be NULL Michael Santos 2014-05-27 13:22:22 -04:00
  • d426a1ef45 tcplxc: cleanup mounts Michael Santos 2014-05-26 11:04:48 -04:00
  • 296188a638 setsid/1,2: return an ok tuple Michael Santos 2014-05-26 10:26:42 -04:00
  • 81df650a9c Fix pasto in setsid/1,2 Michael Santos 2014-05-26 10:18:53 -04:00
  • a97121d63a Add setsid(2) Michael Santos 2014-05-26 10:06:07 -04:00