Commit graph

  • 48a09f34bd Allow re-mounting an existing mount with "remount" Peter Waller 2014-06-25 09:15:08 +01:00
  • e57a8a9d2c Combined AddGet benchmark LK4D4 2014-06-25 22:49:38 +04:00
  • 09930dae8f add integration test for --workdir=/ Tibor Vass 2014-06-24 12:53:53 -04:00
  • 517b10352f fix bug in FollowSymlinkInScope when link == root Tibor Vass 2014-06-24 12:50:44 -04:00
  • 1515b32fb9 Add benchmarks on TrucnIndex.Delete Alexandr Morozov 2014-06-25 09:37:39 +04:00
  • 3b2cc0082b Merge pull request #6595 from LK4D4/env_benchmarks unclejack 2014-06-24 23:35:00 +03:00
  • 36543c1541 Benchmarks for engine/env LK4D4 2014-06-22 15:58:43 +04:00
  • 133374f530 Improve truncindex benchmarks LK4D4 2014-06-24 21:41:51 +04:00
  • fbaca9698c Move truncindex in separate package in pkg/ LK4D4 2014-06-24 21:19:15 +04:00
  • b5dee24bb6 devmapper: use RAMInBytes() rather than FromHumanSize() Mike Snitzer 2014-06-23 15:36:08 -04:00
  • 1b4ca55744 Merge pull request #4812 from kzys/freebsd-mount Victor Vieux 2014-06-23 17:45:25 -07:00
  • a6ecdba762 remove dockerscript Victor Vieux 2014-06-23 22:52:03 +00:00
  • 087f008fc2 Merge pull request #6527 from subhraveti/cap-whitelist Victor Vieux 2014-06-19 14:48:38 -07:00
  • 9759b506eb Merge pull request #6493 from vieux/fix_cp_mac_os Michael Crosby 2014-06-19 14:00:59 -07:00
  • 2818f4a410 Use libcontainer cap drop method Michael Crosby 2014-06-19 11:07:57 -07:00
  • fae2508cfa sqlite-3.6.20-1 unique constraint message Vincent Batts 2014-06-19 15:24:22 -04:00
  • f78264e329 Fix go vet errors LK4D4 2014-06-12 09:15:53 +04:00
  • ce1fb5a1c9 allow utimes on mac os, only lutimes isn't supported Victor Vieux 2014-06-17 23:19:42 +00:00
  • d18d9ffeaa prevent panic when empty flag Victor Vieux 2014-06-17 20:45:57 +00:00
  • 40f159f045 Merge pull request #6417 from mrunalp/dev/system_prctl Michael Crosby 2014-06-16 17:13:06 -07:00
  • 6b0164ee3f update MAINTAINERS files Victor Vieux 2014-06-05 18:05:49 +00:00
  • 316692081a Guillaume is busy full-time on his new business, and no longer available as a maintainer. Solomon Hykes 2014-06-16 06:22:15 -07:00
  • cf77f49865 Add helper function to make prctl system call. Docker-DCO-1.1-Signed-off-by: Mrunal Patel <mrunalp@gmail.com> (github: mrunalp) Mrunal Patel 2014-06-13 11:38:32 -07:00
  • dd675e63ba remove unused beam, will be back later as libchan Victor Vieux 2014-06-11 19:09:55 +00:00
  • b8d9b7615f Update libcontainer imports Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-10 19:58:15 -07:00
  • 8a186aa82b Remove and vendor libcontainer Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-10 19:49:57 -07:00
  • c9ed49398e Gofmt imports Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-09 15:59:41 -07:00
  • 1a1cffad1b Move libcontainer deps into libcontainer Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-09 15:52:12 -07:00
  • f0daa9fd81 Merge pull request #6207 from crosbymichael/nsinit-cli Michael Crosby 2014-06-05 16:51:31 -07:00
  • b77a4219d0 Merge pull request #6224 from tiborvass/storage-options Tibor Vass 2014-06-05 16:00:03 -07:00
  • 8ff020010a Merge pull request #6145 from shykes/pr_out_pkg_testutils_utility_functions_to_facilitate_writing_go_tests unclejack 2014-06-06 01:26:53 +03:00
  • 303bb7ca66 Update for nsenter Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-05 14:28:09 -07:00
  • 0001699b5f Update nsinit to be nicer to work with and test Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-04 16:46:30 -07:00
  • c49c2a7df5 pkg/units: Add FromHumanSize Alexander Larsson 2014-03-31 09:30:20 +02:00
  • cd85dac87e Exclude the user namespace for setns Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-04 18:03:17 -07:00
  • 9b830f613d Move env load to nsenter Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-04 17:54:00 -07:00
  • 985fe60646 Adding initial version of C-based nsenter for allowing execin in libcontainer. Victor Marmol 2014-05-24 01:06:14 +00:00
  • 0a67ddd8c9 Rename nsinit package to namespaces in libcontainer Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-04 15:47:57 -07:00
  • 14e8794741 Merge pull request #6198 from vishh/stats2 Michael Crosby 2014-06-04 15:28:19 -07:00
  • 59c33dfe0b Add stats for memory allocation failure count and instantaneous cpu usage in the usermode and kernelmode. Vishnu Kannan 2014-06-04 06:41:03 +00:00
  • ae0b8c7d9d implement wait on freeze Victor Vieux 2014-06-04 00:25:07 +00:00
  • 313ab78d1f Merge pull request #6183 from crosbymichael/fix-freezer-fs Victor Vieux 2014-06-03 16:16:58 -07:00
  • 29c3f75c27 Merge pull request #6180 from unclejack/apparmor Victor Vieux 2014-06-03 15:56:28 -07:00
  • 82ec5cb036 Don't rejoin the cgroup each time Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-03 15:15:11 -07:00
  • 33381db09d apparmor: write & load the profile on every start unclejack 2014-06-03 21:49:34 +03:00
  • 2616e87cad Implement systemd support for freezer Michael Crosby 2014-05-30 15:09:07 -07:00
  • cfde39c592 libcontainer/cgroup: Use raw access to set up and join the devices cgroup Alexander Larsson 2014-06-03 11:29:27 +02:00
  • 460e9bcc04 Merge pull request #6153 from vishh/stats1 Victor Marmol 2014-06-02 17:53:17 -07:00
  • 41bdc33843 Merge pull request #6160 from crosbymichael/update-test-for-nil-error Victor Vieux 2014-06-02 12:12:49 -07:00
  • bb7ac3e05b Merge pull request #6147 from cyphar/6142-mflag-strip-quotes-long-equal-form Victor Vieux 2014-06-02 12:03:58 -07:00
  • 3a5c4516f9 Update cpu stat test for no error Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-06-02 11:54:23 -07:00
  • 1b7845224d Fix format in maintainers files Solomon Hykes 2014-06-02 07:05:06 +00:00
  • ab3832aabc Add Cristian as maintainer to pkg/testutils Solomon Hykes 2014-06-02 07:01:17 +00:00
  • 8610e96a03 Adding percpu usage to cgroup stats reported by libcontainer. Vishnu Kannan 2014-06-02 06:56:15 +00:00
  • 3589181812 Adding "stats" and "spec" option to nsinit binary which will print the stats and spec respectively. Vishnu Kannan 2014-05-30 00:23:18 +00:00
  • c3e6f79cb3 pkg: mflag: flag: added tests for quote-stripped flags cyphar 2014-06-02 15:02:16 +10:00
  • 4941e364a9 pkg: mflag: flag: make mflag strip quotes in -flag="var" forms cyphar 2014-06-02 12:13:34 +10:00
  • 6f2458c40c pkg/testutils: utility functions to facilitate writing Go tests Solomon Hykes 2014-05-09 21:11:24 -07:00
  • 1a38e6ff10 Merge pull request #6128 from crosbymichael/empty-sqlite unclejack 2014-05-31 06:56:00 +03:00
  • 084c621c66 Ensure all dev nodes are copied for privileged Michael Crosby 2014-05-30 18:30:27 -07:00
  • edadb42c99 Init database if empty file Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-05-30 17:44:00 -07:00
  • 000552944e Merge pull request #6097 from timthelion/consistentdevices unclejack 2014-05-31 03:34:52 +03:00
  • 6d70b5e210 use stderr to debug iptables Victor Vieux 2014-05-30 19:39:42 +00:00
  • 193f9894c0 Refactor device handling code Timothy Hobbs 2014-02-17 15:14:30 -08:00
  • d9882a62ff Atomically increment sequence in pkg/netlink Alexandr Morozov 2014-05-30 13:12:02 +04:00
  • c7135d73d3 Added a new method cgroups.GetStats() which will return a cgroups.Stats object which will contain all the available cgroup Stats. Remove old Stats interface in libcontainers cgroups package. Changed Stats to use unit64 instead of int64 to prevent integer overflow issues. Updated unit tests. Vishnu Kannan 2014-05-28 00:01:08 +00:00
  • c22a0a3297 Merge pull request #6105 from gdm85/master Michael Crosby 2014-05-29 11:06:25 -07:00
  • d68100ec34 * do not consider iptables' output an error in case of xtables lock Docker-DCO-1.1-Signed-off-by: Giuseppe Mazzotta <gdm85@users.noreply.github.com> (github: gdm85) Giuseppe Mazzotta 2014-05-29 15:57:29 +02:00
  • e8727a6236 Handle EBUSY on remount Michael Crosby 2014-05-28 18:09:05 -07:00
  • 1dd391fe26 Merge pull request #6083 from bernerdschaefer/nsinit-drop-capabilities-after-changing-user Victor Vieux 2014-05-28 17:29:17 -07:00
  • 95a61f16dc libcontainer: Don't create a device node on /dev/console to bind mount on Alexander Larsson 2014-05-28 20:44:24 +02:00
  • a193d05209 Revert "Remove the bind mount for dev/console which override the mknod/label" Alexander Larsson 2014-05-28 20:27:03 +02:00
  • 2ca2e1b82a Merge pull request #6076 from LK4D4/remove_collections_package unclejack 2014-05-28 21:32:27 +03:00
  • 744a7c030c Merge pull request #5868 from jhspaybar/5749-libcontainerroutes Victor Marmol 2014-05-28 10:50:56 -07:00
  • 755e5047a7 Fixes #5749 libcontainer support for arbitrary route table entries William Thurston 2014-05-17 07:06:29 +00:00
  • 906451091d SETUID/SETGID not required for changing user Bernerd Schaefer 2014-05-28 16:41:48 +02:00
  • b6ee193b8e Add system.SetKeepCaps and system.ClearKeepCaps Bernerd Schaefer 2014-05-28 16:40:36 +02:00
  • a09f2d1c41 Remove collections package Alexandr Morozov 2014-05-28 13:55:10 +04:00
  • c8a8176936 Update wait calls to call Wait on Command Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-05-27 13:38:24 -07:00
  • eb075733c5 Merge pull request #6025 from crosbymichael/concurrent-names unclejack 2014-05-27 23:18:19 +03:00
  • 18d68cf1a9 libcontainer/nsinit: remove Wait call from Exec and Kill from Attach in tty_term.go Erik Hollensbe 2014-05-27 12:25:27 -07:00
  • 36bd5bf98b Add Wait() calls in the appropriate spots Erik Hollensbe 2014-05-22 15:56:10 -07:00
  • 47b9bba5e1 Improve name generation on concurrent requests Michael Crosby 2014-05-23 17:51:16 -07:00
  • 4a0d1718ee Merge pull request #6018 from vishh/stats_strongtype Michael Crosby 2014-05-23 14:35:14 -07:00
  • 1c07f75e6f Add check for iptables xlock support Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-05-23 14:18:50 -07:00
  • c5be84cd2d Added stats.go which provides strong types for all stats that will be exported by libcontainer. This commit only introduces the strong type. Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh) Vishnu Kannan 2014-05-23 19:45:53 +00:00
  • cc706701b0 Add wait flag to iptables Michael Crosby 2014-05-23 01:24:58 +00:00
  • b98c3f7fb4 Merge pull request #5995 from vieux/recur_nodes Michael Crosby 2014-05-22 16:35:27 -07:00
  • 4b1df3687b update test Victor Vieux 2014-05-22 22:50:41 +00:00
  • bf21f0d493 add recursive device nodes Victor Vieux 2014-05-22 19:14:10 +00:00
  • c88ecf6acd Make all cgroup stats output int64s instead of float64. Victor Marmol 2014-05-22 20:50:51 +00:00
  • 89b64d33ee Merge pull request #5976 from crosbymichael/getpids Victor Vieux 2014-05-21 19:09:50 -07:00
  • a0841ff1eb Merge pull request #5922 from crosbymichael/host-dev-priv Victor Vieux 2014-05-21 18:56:24 -07:00
  • c6c0dc2ebb Move get pid into cgroup implementation Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-05-21 20:48:06 +00:00
  • c3c5ddfc50 Revert "Always mount a /run tmpfs in the container" Tianon Gravi 2014-05-21 14:28:19 -06:00
  • 3d95e5cf7b Update code post codereview Michael Crosby 2014-05-21 00:36:50 +00:00
  • 7fb3f86fec Update documentation for container struct in libcontainer Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-05-20 23:34:46 +00:00
  • d48b2cf390 Mount /dev in tmpfs for privileged containers Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Michael Crosby 2014-05-20 00:13:00 +00:00
  • 0f44c2849c cgroups: Allow mknod for any device in systemd cgroup backend Alexander Larsson 2014-05-20 09:28:44 +02:00
  • f06ca4fdd2 Make sure dev/fuse is created in container Michael Crosby 2014-05-19 20:46:59 +00:00