Commit Graph

  • 1b6fc447cd Overdue version bump Michael Santos 2014-05-25 10:26:31 -04:00
  • fa9c1e951b Remove setns() temp compilation file Michael Santos 2014-05-24 09:50:39 -04:00
  • 80b1b84745 tcplxc: set temp directory Michael Santos 2014-05-23 10:32:22 -04:00
  • 844afd21d9 tcplxc: don't unmount pts in container Michael Santos 2014-05-23 09:53:34 -04:00
  • 1c275365a2 alcove_signal_constant: fix size of signum Michael Santos 2014-05-21 13:16:11 -04:00
  • fd29ff61bd write: allow 0 byte writes Michael Santos 2014-05-20 09:17:11 -04:00
  • 0b97186624 tcplxc: mount /dev/pts Michael Santos 2014-05-19 13:10:43 -04:00
  • 87b5b5fc3a mount: badargs returned on large mount flags Michael Santos 2014-05-18 11:00:19 -04:00
  • 602046d536 tcplxc: set default environment variables Michael Santos 2014-05-17 10:27:41 -04:00
  • 1255a32f93 tcplxc: allow creating system files Michael Santos 2014-05-17 10:18:10 -04:00
  • a2b32f56f7 tcplxc: properly set the flags on bind mounts Michael Santos 2014-05-17 09:40:42 -04:00
  • da221aa79c tcplxc: pass in files to write to the chroot Michael Santos 2014-05-16 11:05:07 -04:00
  • 5a6bbd5875 tcplxc: allowing running any executable Michael Santos 2014-05-16 10:17:43 -04:00
  • dd8b973ef0 Fix length in string comparison for rlimit record Michael Santos 2014-05-15 12:35:23 -04:00
  • 1d3c9f1727 examples: exec bash, mount dirs for a full OS image Michael Santos 2014-05-14 10:56:32 -04:00
  • 3db7a623ca Fix race condition when exit/2,3 called Michael Santos 2014-05-13 07:45:04 -04:00
  • f6b7f52941 cleanup: move alcove_list_to_argv() Michael Santos 2014-05-12 11:38:24 -04:00
  • 74433b1ebd tcplxc: log the remote IP address/port Michael Santos 2014-05-11 15:55:05 -04:00
  • 1003087ef9 tests: eof tests hangs on some systems Michael Santos 2014-05-11 15:40:24 -04:00
  • 1dd28aad3a select: return a list in ascending order Michael Santos 2014-05-11 10:13:43 -04:00
  • 28853b059d Add select(2) Michael Santos 2014-05-10 14:49:55 -04:00
  • bc81faf310 alcove_drv: set calls to block forever Michael Santos 2014-05-10 14:21:48 -04:00
  • d2060d9924 examples: #rlimit{} -> #alcove_rlimit{} Michael Santos 2014-05-09 14:15:36 -04:00
  • 310b246e2d Use a namespace: #rlimit{} -> #alcove_rlimit{} Michael Santos 2014-05-09 10:41:38 -04:00
  • 6d3f13f8b4 tcplxc: close the socket if the shell exits Michael Santos 2014-05-06 08:19:53 -04:00
  • d8af759ec5 tcplxc: remove cgroup on exit Michael Santos 2014-05-05 10:55:40 -04:00
  • 2f51b52b5e tcplxc: create a cgroup namespace per container Michael Santos 2014-05-04 09:53:05 -04:00
  • b68086154f cgroup: use an iolist() for the namespace path Michael Santos 2014-05-04 09:53:05 -04:00
  • 6655928fda tcplxc: fix process leak on error Michael Santos 2014-05-03 12:22:37 -04:00
  • 8d1b387792 tcplxc: restrict the number of processes Michael Santos 2014-05-03 11:50:17 -04:00
  • 05f97980ef setns: use the test directory Michael Santos 2014-05-03 08:26:36 -04:00
  • 53cb7a2ab8 tcplxc: allow cgroup limits to fail Michael Santos 2014-05-02 11:03:02 -04:00
  • 828ba5c260 tcplxc: fix license Michael Santos 2014-05-01 11:40:12 -04:00
  • a07e723d5c example: create a Linux container per connection Michael Santos 2014-05-01 10:35:14 -04:00
  • 342d3fda28 setns: suppress compiler warnings on BSD Michael Santos 2014-04-30 11:30:14 -04:00
  • 51c7f15e38 gpioled: pass the internal state using a record Michael Santos 2014-04-28 09:07:25 -04:00
  • 321d0f2532 alcove_fd_t -> alcove_stdio_t Michael Santos 2014-04-27 09:15:34 -04:00
  • 859771b316 Add lseek(2) Michael Santos 2014-04-26 17:23:30 +00:00
  • 27b0416288 Revert "examples: clean up gpioled" Michael Santos 2014-04-26 13:04:30 -04:00
  • 999de650dc examples: clean up gpioled Michael Santos 2014-04-26 11:41:01 -04:00
  • e2c6582661 examples: tcpsh Michael Santos 2014-04-26 11:26:07 -04:00
  • 42415bc456 readme: be explicit about the N-1 arity funs Michael Santos 2014-04-26 10:56:38 -04:00
  • 705c404a3d cgroup: test for the existence of /proc/cgroups Michael Santos 2014-04-26 10:44:44 -04:00
  • 2441ff8e95 Document messages from gen_server Michael Santos 2014-04-26 10:41:15 -04:00
  • d7c231bcb0 Add cast/2,3,4 Michael Santos 2014-04-25 10:20:49 -04:00
  • ab33ebd083 Change the message to include the gen_server PID Michael Santos 2014-04-25 12:18:59 +00:00
  • b62e73d2e3 Simplify uid generation Michael Santos 2014-04-24 08:18:50 -04:00
  • 1b689de29f Disable sigchld events by default Michael Santos 2014-04-23 08:13:02 -04:00
  • 8a1534459f Bump version and fix comment Michael Santos 2014-04-22 14:19:45 -04:00
  • 26a207d876 Stream messages from port through a proxy process Michael Santos 2014-04-22 13:41:01 -04:00
  • fc6fb1279a readme: clarify ERL_LIBS for examples Michael Santos 2014-04-21 14:23:06 -04:00
  • f4c320ba50 Check for invalid fd's Michael Santos 2014-04-21 12:23:29 -04:00
  • 78fa3f077a Add an example of interacting with GPIO Michael Santos 2014-04-21 11:26:03 -04:00
  • 32d5e5f98e Fix license Michael Santos 2014-04-21 11:07:43 -04:00
  • f6eae39ed2 Update spec for pid/1,2 Michael Santos 2014-04-21 10:31:53 -04:00
  • 52f47bcc9b Add syscall wrapper for setns(2) Michael Santos 2014-04-20 13:48:44 +00:00
  • 4d77f13131 eof/2,3: close stdin of a process Michael Santos 2014-04-19 16:13:56 -04:00
  • fecae9d74d README cleanup Michael Santos 2014-04-18 18:15:22 -04:00
  • 882494c3bc Begin adding documentation and examples Michael Santos 2014-04-18 18:02:44 -04:00
  • d00c928474 Clean up Michael Santos 2014-04-18 10:08:20 -04:00
  • 7efd433d87 Move macro to main header Michael Santos 2014-04-18 09:15:21 -04:00
  • 737e3f3dbe tests: restore wait after exit Michael Santos 2014-04-16 14:31:15 -04:00
  • 5ba36d4cb6 tests: set exec program, disable clone Michael Santos 2014-04-16 12:23:52 -04:00
  • e2a57fabbf Test if the ctl fd is already open Michael Santos 2014-04-16 10:58:57 -04:00
  • def2e32755 Fix memory leaks Michael Santos 2014-04-15 16:51:22 -04:00
  • b0d7f7b6d7 Resize the poll array if RLIMIT_NOFILE increases Michael Santos 2014-04-14 10:04:11 -04:00
  • cfc689d3b5 dialyzer: fix errors, add specs Michael Santos 2014-04-13 16:05:31 -04:00
  • 5ec13569aa Remove the limit on number of child processes Michael Santos 2014-04-13 13:35:43 -04:00
  • f082295272 Replace select(2) with poll(2) Michael Santos 2014-04-13 10:00:55 -04:00
  • 5ca6c107ed Pass the process state into the pid iterator funs Michael Santos 2014-04-12 10:28:42 -04:00
  • cd2c8ecb31 Add chown(2) Michael Santos 2014-04-11 11:03:48 -04:00
  • 0b28a1778e Add chmod(2) Michael Santos 2014-04-11 10:57:16 -04:00
  • b986ce354f Clarify msg length by using symbolic constant Michael Santos 2014-04-11 10:35:15 -04:00
  • e7f6b38b9f Zero the child array twice Michael Santos 2014-04-11 10:25:13 -04:00
  • 1e4cdb730a Simplify filtering of cgroups from /proc/mounts Michael Santos 2014-04-09 08:24:44 -04:00
  • 537911491e cgroup: use an empty mount list on error Michael Santos 2014-04-07 15:18:22 -04:00
  • d05168fd6f Ensure the control fd is fd 3 Michael Santos 2014-04-07 12:52:47 -04:00
  • 5d93dc53d2 alcove:define/3 -> alcove:define/2 Michael Santos 2014-04-07 10:31:14 -04:00
  • 3a787deef0 cgroup: fix supported/1,2 test Michael Santos 2014-04-07 10:29:08 -04:00
  • 928f65934b Add functions for manipulating cgroups Michael Santos 2014-04-06 15:23:13 -04:00
  • baabad5216 tests: call exit during forkstress Michael Santos 2014-04-06 12:03:52 -04:00
  • 4b14631854 Add readdir/2 Michael Santos 2014-04-05 13:40:05 -04:00
  • cae994fd02 define/2: convert an atom to an integer Michael Santos 2014-04-05 10:21:20 -04:00
  • 891fa32170 Make SIGCHLD notifications optional Michael Santos 2014-04-05 09:43:51 -04:00
  • 32504ecece cli: mirror setopt/3 Michael Santos 2014-04-04 10:26:06 -04:00
  • 19f708cb45 prctl: remove the man page excerpt Michael Santos 2014-04-04 09:56:34 -04:00
  • f010b148b2 Allow setting the number of child processes Michael Santos 2014-04-03 10:20:23 -04:00
  • 4aec915e20 Do not free the results of erl_iolist_to_binary() Michael Santos 2014-04-02 10:12:20 -04:00
  • dd574a062d cleanup: prevent leaks on error Michael Santos 2014-04-01 08:52:15 -04:00
  • 0a48267cb6 Account for the length of the message header Michael Santos 2014-03-31 14:36:48 -04:00
  • e9903604f8 write: return the number of bytes written Michael Santos 2014-03-31 11:30:12 -04:00
  • 7fb49fe91a cgroups: add open(2), write(2), read(2), close(2) Michael Santos 2014-03-31 07:59:51 -04:00
  • 6b7b24f331 cgroups: add mkdir(2), rmdir(2) Michael Santos 2014-03-31 07:59:51 -04:00
  • a27694a000 Add environ(7), clearenv(3) Michael Santos 2014-03-30 09:43:00 -04:00
  • 3fb6bf4317 Add functions for manipulating the environment Michael Santos 2014-03-29 18:29:13 -04:00
  • dc6a1d7392 tests: SIGCHLD is 17 on linux, 20 on freebsd Michael Santos 2014-03-29 16:16:11 -04:00
  • 6e85e6391d Add optional notification of child exit status Michael Santos 2014-03-29 16:07:13 -04:00
  • ef8f2f62b7 tests: add events Michael Santos 2014-03-29 15:30:45 -04:00
  • 8600ae82f0 Always treat stderr as a stream Michael Santos 2014-03-29 12:33:10 -04:00
  • f1ff3469a1 Rename alcove_ctl -> alcove_event_loop Michael Santos 2014-03-29 12:13:20 -04:00