Commit Graph

  • 86d96f5b00 Merge pull request #2 from msantos/master master Dubiously Moral Majority 2015-08-09 00:53:00 -04:00
  • 0fe9e6c15e unshare: remove debug printf Michael Santos 2015-08-08 15:43:58 -04:00
  • b3f09ed397 alcove_drv: Packet -> Buf Michael Santos 2015-08-05 12:08:34 -04:00
  • 9eda1ce49a badpid: use error exception instead of exit Michael Santos 2015-08-04 09:34:07 -04:00
  • 2379cd04a2 Change 'badpid' to a control message Michael Santos 2015-08-03 09:36:30 -04:00
  • 45ac02a03b stop/2: return ok if the gen_server has exited Michael Santos 2015-08-02 16:01:24 -04:00
  • 572742b376 alcove_cgroup:set/6: return value Michael Santos 2015-07-29 11:42:37 -04:00
  • f9ac18d0c1 examples: set MS_PRIVATE on container mounts Michael Santos 2015-07-28 07:55:32 -04:00
  • 535eeb9530 readdir: do not filter paths Michael Santos 2015-07-25 11:54:39 -04:00
  • d5e80fac33 setns/4: supporting setting namespace Michael Santos 2015-07-24 10:52:06 -04:00
  • b85c5d2fdf Add optional timeout Michael Santos 2015-07-23 09:39:57 -04:00
  • 9e80c663c7 rebar3: convert the top level Makefile Michael Santos 2015-07-22 16:11:39 -04:00
  • aa306a6ab2 Be explicit with checks Michael Santos 2015-07-20 10:41:46 -04:00
  • d755ada152 Remove function versions with optional fork path Michael Santos 2015-07-19 09:37:55 -04:00
  • 8c83784bc2 Fix tests on Solaris, FreeBSD and OpenBSD Michael Santos 2015-07-18 10:50:50 -04:00
  • ca0d6f12b4 constants: return {error, unuspported} Michael Santos 2015-07-18 10:09:41 -04:00
  • 6a400730c6 alloc: call per file Michael Santos 2015-07-17 06:58:34 -04:00
  • 2c9633ff27 limit: call per file Michael Santos 2015-07-16 09:36:09 -04:00
  • 5d88ec52a0 exec: call per file Michael Santos 2015-07-15 09:39:05 -04:00
  • 07cc6f79dd mount: call per file Michael Santos 2015-07-14 05:34:57 -04:00
  • c2b449ceca Merge pull request #1 from msantos/master Dubiously Moral Majority 2015-07-13 22:01:04 -04:00
  • 5984f08dd2 signal: call per file Michael Santos 2015-07-13 10:13:04 -04:00
  • eebe8ccc7d proc: call per file Michael Santos 2015-07-12 08:58:48 -04:00
  • a5bf4e282a alcove_file: call per file Michael Santos 2015-07-11 09:57:06 -04:00
  • 014411ba34 syscalls: rename files Michael Santos 2015-07-10 10:04:46 -04:00
  • 2650d22c4d utsname: calls per file Michael Santos 2015-07-09 08:57:19 -04:00
  • 8a2f876f7d alcove_env: call per file Michael Santos 2015-07-08 09:36:50 -04:00
  • 8f5c6d8550 alcove_fork.h: remove alcove_clone_constants Michael Santos 2015-07-06 13:48:03 -04:00
  • 5d03da9a2c Fix clone_define/2,3 Michael Santos 2015-07-06 10:12:30 -04:00
  • c7bd453e68 fork: individuals calls per file Michael Santos 2015-07-05 11:59:55 -04:00
  • bded978e4b mkdir: add missing header Michael Santos 2015-07-04 07:27:48 -04:00
  • 97fa5d5379 alcove_dir: separate files for each call Michael Santos 2015-07-04 07:19:48 -04:00
  • febe77b585 cred: split out calls into separate files Michael Santos 2015-07-03 10:40:41 -04:00
  • 672af8a39f Port to rebar3 Michael Santos 2015-07-02 10:23:08 -04:00
  • 3127db7223 alcove_drv:start/1: remove maxforkdepth Michael Santos 2015-06-27 13:17:18 -04:00
  • f060d44937 errno_id/2,3: convert errno integer to atom Michael Santos 2015-06-16 16:54:13 -04:00
  • c6d1b9c9b5 alcove_drv: use exported fork_path() type Michael Santos 2015-05-28 11:03:05 -04:00
  • c2a28e6c3c Update type specs Michael Santos 2015-04-25 09:25:10 -04:00
  • d81dcb688a Fix compilation errors on Solaris Michael Santos 2015-02-21 09:21:48 -05:00
  • 3b15781433 Use a new message type for stdio events Michael Santos 2015-01-01 17:09:44 -05:00
  • 4ec936d5d7 Add synch/async sends into port Michael Santos 2014-12-29 10:26:38 -05:00
  • 804316629d Crash if the port exits Michael Santos 2014-12-29 10:26:38 -05:00
  • a664397868 Track ownership of the port in the dict Michael Santos 2014-12-29 10:26:38 -05:00
  • 5ea775fced badpid: event -> call Michael Santos 2014-12-28 10:38:38 -05:00
  • 63ae5b1b37 Remove test to make dialyzer happy Michael Santos 2014-12-28 10:23:47 -05:00
  • 2ba7caaf76 Exit with badpid for invalid OS PID in fork path Michael Santos 2014-12-27 15:42:10 -05:00
  • 0f9c27d5d4 prctl: update types and docs Michael Santos 2014-12-24 11:25:11 -05:00
  • 97df96a7ba alcove_drv: consistently enforce positive PIDs Michael Santos 2014-12-23 09:50:34 -05:00
  • ce8d642791 Enforce precedence in macros Michael Santos 2014-12-22 07:31:17 -05:00
  • 17c7277a1a Include all args to call in the stack trace Michael Santos 2014-12-21 15:16:53 -05:00
  • c8a4aabf90 alcove_drv: add start_link/0,1 Michael Santos 2014-12-20 16:49:13 -05:00
  • 70bd0fa5d9 stream test: make the sleep timeout configurable Michael Santos 2014-12-19 16:11:01 -05:00
  • e0d56586f6 alcove_codec: add type specs Michael Santos 2014-12-17 15:53:22 -05:00
  • a9214ac8b6 Avoid compile failures on Smartos with R16B02 Michael Santos 2014-12-16 18:26:13 -05:00
  • 3299d33d73 call: catch improperly typed arguments Michael Santos 2014-12-15 17:01:10 -05:00
  • be275290ed tests: increase the magic sleep in stream test Michael Santos 2014-12-14 15:02:24 -05:00
  • 4efa979037 alcove_proto:returns/1 -> will_return/1 Michael Santos 2014-12-13 16:28:34 -05:00
  • 6e068c971d setpriority test: Linux fix when RLIMIT_NICE set Michael Santos 2014-12-12 16:54:25 -05:00
  • 34b1760e87 Rename signal actions to reflect the POSIX naming Michael Santos 2014-12-11 18:11:14 -05:00
  • 27c59e5374 tests: ignore SIGPIPE Michael Santos 2014-12-10 17:53:34 -05:00
  • 38c61062f6 test: prevent the stream test from exiting early Michael Santos 2014-12-09 17:21:17 -05:00
  • 71117bcefd Multiplex erlang process access to the port Michael Santos 2014-12-08 11:56:45 -05:00
  • afea3b9d69 Bump version Michael Santos 2014-12-07 11:09:49 -05:00
  • 888343e9dd Stream data from the alcove port Michael Santos 2014-12-06 12:11:01 -05:00
  • ab0526b902 Add tests for setpriority/getpriority Michael Santos 2014-12-06 11:09:05 -05:00
  • eed7976d90 Type specs for setpriority/getpriority Michael Santos 2014-12-05 17:17:20 -05:00
  • a2f812a9b6 openbsd: fix poll(2) with setrlmit(RLIMIT_NOFILE) Michael Santos 2014-12-04 10:37:42 -05:00
  • 95eb13e210 Catch exit status event in call Michael Santos 2014-12-03 10:46:09 -05:00
  • bab762ef2e Move protocol encoding into a separate modules Michael Santos 2014-12-02 07:36:43 -05:00
  • af4a17e5f1 Fix compilation on non-Linux systems Michael Santos 2014-12-01 11:54:21 -05:00
  • b5f8fd36ff Add setpriority(2)/getpriority(2) Michael Santos 2014-12-01 11:20:48 -05:00
  • a6e0c5de49 unsupported calls: use undef function exception Michael Santos 2014-11-30 09:35:06 -05:00
  • 8e1074fbd6 linux/solaris: fail if RLIMIT_NOFILE is less than openfd Michael Santos 2014-11-29 15:06:40 -05:00
  • cf134922b4 Allow passing options to dialzyer Michael Santos 2014-11-28 16:44:41 -05:00
  • 97f6e6187d test: fix race condition on exit Michael Santos 2014-11-27 15:50:30 -05:00
  • 965df0c21f tests: clean up integer conversions Michael Santos 2014-11-26 19:28:16 -05:00
  • 9a0b6821c8 Notify of exit status by default Michael Santos 2014-11-22 15:56:58 -05:00
  • 1378d0f036 Use the default system compiler Michael Santos 2014-11-21 11:31:31 -05:00
  • 667b3bc02c Support cross-compiling the port Michael Santos 2014-11-20 17:51:37 -05:00
  • 73f1fc4ec5 Type specs for pivot_root Michael Santos 2014-11-19 16:56:23 -05:00
  • 7834bfcc7f Fix typespec for setproctitle Michael Santos 2014-11-18 18:02:07 -05:00
  • 8ab1b8908b Add pivot_root(2) Michael Santos 2014-11-15 10:17:46 -05:00
  • f55507d906 Add types for setpgid/3,4 Michael Santos 2014-11-13 15:42:55 -05:00
  • 5f1aac3eff Add MIN() macro Michael Santos 2014-11-11 13:17:26 -05:00
  • 1af5057213 Crash on poll(2) failures Michael Santos 2014-11-10 10:28:07 -05:00
  • edcdea530c Namespace functions callable from erlang Michael Santos 2014-11-09 08:33:45 -05:00
  • 8dd0c78869 Add doc for setres([ug])id/getres([ug])id Michael Santos 2014-11-09 08:33:45 -05:00
  • 0da2981e48 Add types for setresgid/getresgid Michael Santos 2014-11-08 10:47:03 -05:00
  • 9500eb0169 Add getresgid(2) Michael Santos 2014-11-07 16:31:41 -05:00
  • 9cc0bf74f4 Add setresgid(2) Michael Santos 2014-11-06 15:47:26 -05:00
  • 6c218b8bb4 Add specs for setresuid/getresuid Michael Santos 2014-11-05 11:38:39 -05:00
  • 2426063ac7 Add getresuid(2) Michael Santos 2014-11-04 13:47:40 -05:00
  • 33285e1dd8 Fix initialization warnings on OpenBSD Michael Santos 2014-11-03 11:35:43 -05:00
  • d608a18a4b Add setresuid/4,5 Michael Santos 2014-11-02 09:27:08 -05:00
  • b50a592858 Add support for notifications when stdin is closed Michael Santos 2014-11-01 16:28:33 -04:00
  • c010cf65d4 Term must begin at start of buffer Michael Santos 2014-11-01 16:27:25 -04:00
  • 79ad18051c Rename fd constants to match stdio naming Michael Santos 2014-10-31 15:12:27 -04:00
  • 96aae9e59c Use the errno for the exit value Michael Santos 2014-10-30 15:18:10 -04:00
  • 594f671803 tests: use last PID for execvp chain test Michael Santos 2014-10-29 12:06:03 -04:00
  • 8c65b19f17 tests: improve the exec in chain test Michael Santos 2014-10-29 11:39:02 -04:00