Commit Graph

  • 43121505f2 interfaces: discard {plug,slot}fromYaml Zygmunt Krynicki 2016-03-23 10:24:34 +01:00
  • 7b4539733c Unbreak snap install after d152db76 broke it Michael Vogt 2016-03-23 10:18:44 +01:00
  • 7e6cbd562f interfaces: tweak addPlugsAndSlotsFromYaml Zygmunt Krynicki 2016-03-23 10:14:08 +01:00
  • 79d40974b7 interfaces,daemon: make {Plug,Slot}JSON private Zygmunt Krynicki 2016-03-23 10:08:53 +01:00
  • 1caa6be3a9 interfaces/builtin: use less sophisticated test setup Zygmunt Krynicki 2016-03-23 09:53:59 +01:00
  • 1162284f1a Add progress adapter for the old snappy world Michael Vogt 2016-03-23 08:38:37 +01:00
  • a84b77be67 move snapstate functions into snapstate.go Michael Vogt 2016-03-23 08:10:22 +01:00
  • 7dcb58e675 move backend into the backend.go Michael Vogt 2016-03-23 08:07:52 +01:00
  • 666dea0871 Merge remote-tracking branch 'upstream/master' into feature/snapmgr-in-daemon Michael Vogt 2016-03-23 08:04:31 +01:00
  • d8bd0ed4db Merge pull request #708 from pedronis/taskrunner-fix-lp1560628 Michael Vogt 2016-03-23 07:48:01 +01:00
  • 7854d5e929 Merge pull request #706 from niemeyer/preserve-task-order Michael Vogt 2016-03-23 07:47:41 +01:00
  • 84bdf002bd have a stopped flag respected by Ensure and set by Stop Samuele Pedroni 2016-03-22 23:33:22 +01:00
  • ec1a71598b remove paranoid delete(r.tombs,.) from wait Samuele Pedroni 2016-03-22 23:30:31 +01:00
  • b7f5b8d0ab don't support obsoleted SNAP_APP_TMPDIR and SNAP_APP_USER_DATA_PATH Jamie Strandboge 2016-03-22 16:50:28 -05:00
  • d4b01c3250 fix comment Samuele Pedroni 2016-03-22 22:48:49 +01:00
  • dddd5e7354 let the task goroutine clean their own tomb from the mapping, using Alive made that happen too early (dying vs dead) Samuele Pedroni 2016-03-22 22:48:02 +01:00
  • 81e7a36df9 replace getenv() with secure_getenv() everywhere we can Jamie Strandboge 2016-03-22 16:44:27 -05:00
  • 175019f582 src/seccomp.c: use getresuid() instead of UBUNTU_CORE_LAUNCHER_NO_ROOT Jamie Strandboge 2016-03-22 16:38:53 -05:00
  • 89b917ec42 src/main.c: use uid_t and gid_t instead of unsigned Jamie Strandboge 2016-03-22 16:38:20 -05:00
  • c7fcf2e970 Merge remote-tracking branch 'upstream/master' into feature/snapmgr-in-daemon Michael Vogt 2016-03-22 22:16:29 +01:00
  • fe41fd2112 move d.overlord.Loop() out of the tomb() Michael Vogt 2016-03-22 22:16:18 +01:00
  • d9d9826aa2 update changelog for recent commits Jamie Strandboge 2016-03-22 16:12:55 -05:00
  • a7b3c62032 src/seccomp.c: improve comment for @unrestricted Jamie Strandboge 2016-03-22 16:11:21 -05:00
  • 4d5f70cb4b src/seccomp.c: don't use strncmp when we know strcmp() will work fine with "@unrestricted" add @unrestricted near miss tests Jamie Strandboge 2016-03-22 16:09:06 -05:00
  • b387ab2ff8 fix comment in last commit Jamie Strandboge 2016-03-22 16:05:38 -05:00
  • c93a5703ef add test for filter missing trailing newline Jamie Strandboge 2016-03-22 15:59:48 -05:00
  • efbddf4c1d src/seccomp.c: - increase artifically small profile_path length to 512 - verify snprintf() didn't return >= 512 Jamie Strandboge 2016-03-22 15:29:38 -05:00
  • 00b4148f5e Merge pull request #704 from niemeyer/runner-logs-err Gustavo Niemeyer 2016-03-22 17:28:00 -03:00
  • 5a1699d6a6 add bad length test Jamie Strandboge 2016-03-22 15:15:04 -05:00
  • c6adf68a15 src/seccomp.c: fix typo Jamie Strandboge 2016-03-22 15:04:42 -05:00
  • 589227073a src/seccomp.c: die() instead of going to 'out' on errors in seccomp_load_filters() Jamie Strandboge 2016-03-22 15:02:24 -05:00
  • 11a7bb7fcd merge from trunk Jamie Strandboge 2016-03-22 14:56:06 -05:00
  • a6657f26f3 fix too-long comments not cleaned up in last commit Jamie Strandboge 2016-03-22 14:42:30 -05:00
  • a73c7a4919 snappy/datadir: version -> revision John R. Lenton 2016-03-22 16:19:23 +00:00
  • 49cc1a02ad fix go lint issues Michael Vogt 2016-03-22 16:46:20 +01:00
  • a445f9e12f make set-active use state-engine Michael Vogt 2016-03-22 16:03:51 +01:00
  • 00b0bcc9b1 add rollback Michael Vogt 2016-03-22 15:25:12 +01:00
  • 2710cf9ed6 add purge via the state engine Michael Vogt 2016-03-22 15:01:07 +01:00
  • a8ee2e7d78 * enforce coding style: - add syntax-check and fmt Makefile targets - use 'indent -linux' - debian/control: Build-Depends on indent Jamie Strandboge 2016-03-22 07:39:41 -05:00
  • 303bad719a interfaces/builtin: use one-off inline test data Zygmunt Krynicki 2016-03-22 13:17:08 +01:00
  • a4efb18ede * enforce coding style: - add syntax-check and fmt Makefile targets - use 'indent -linux' - debian/control: Build-Depends on indent Jamie Strandboge 2016-03-22 07:17:03 -05:00
  • 23fe26903c daemon: drop Typical from test support functions Zygmunt Krynicki 2016-03-22 13:07:56 +01:00
  • 676bf9919b use state.EnsureBefore(0) Michael Vogt 2016-03-22 12:31:35 +01:00
  • 090effad93 * src/main.c: setup private /dev/pts * debian/usr.bin.ubuntu-core-launcher: allow mounting /dev/pts Jamie Strandboge 2016-03-22 06:23:59 -05:00
  • 2f4dbb1856 Merge pull request #635 from zyga/apparmor Zygmunt Krynicki 2016-03-22 12:14:01 +01:00
  • 60b4695fb4 interfaces/apparmor: add note on no-expr-simplify Zygmunt Krynicki 2016-03-22 12:13:18 +01:00
  • be55f8a2d1 go fmt Gustavo Niemeyer 2016-03-22 07:16:09 -03:00
  • e90b59262e remove logging, fix error handling Michael Vogt 2016-03-22 11:13:59 +01:00
  • c344f4d7a7 Merge remote-tracking branch 'upstream/master' into feature/snapmgr-in-daemon Michael Vogt 2016-03-22 11:04:55 +01:00
  • b894d05fb2 fix tests Michael Vogt 2016-03-22 10:53:59 +01:00
  • 2ecc52e4ad state: preserve task order for presentation Gustavo Niemeyer 2016-03-22 06:08:57 -03:00
  • 96de55000f Merge pull request #703 from niemeyer/change-err Gustavo Niemeyer 2016-03-22 06:17:15 -03:00
  • 246b600fdd Fix doc mistake, per Samuele's review. Gustavo Niemeyer 2016-03-22 06:14:46 -03:00
  • dfb2d9f07a Merge remote-tracking branch 'niemeyer/runner-logs-err' into feature/snapmgr-in-daemon Michael Vogt 2016-03-22 09:28:58 +01:00
  • 46cdda7b4e work on api tests Michael Vogt 2016-03-22 09:28:45 +01:00
  • 5c1041e765 Add test comment suggested by Michael. Gustavo Niemeyer 2016-03-22 05:01:22 -03:00
  • df157d9c56 update to the latest TaskSet api Michael Vogt 2016-03-22 08:59:13 +01:00
  • a95d92dc6b Clarify propagateError doc. Gustavo Niemeyer 2016-03-22 04:59:06 -03:00
  • 83b0326956 Merge remote-tracking branch 'niemeyer/change-err' into feature/snapmgr-in-daemon Michael Vogt 2016-03-22 08:52:02 +01:00
  • 2580387efc Merge remote-tracking branch 'upstream/master' into feature/snapmgr-in-daemon Michael Vogt 2016-03-22 08:49:20 +01:00
  • 93bf1d039a Merge pull request #689 from mvo5/refactor/remove-frameworks Michael Vogt 2016-03-22 08:48:06 +01:00
  • 8d5992f7f6 Merge pull request #687 from fgimenez/allow-sideloaded-snaps Michael Vogt 2016-03-22 08:23:54 +01:00
  • 8752626b03 Merge branch 'bugfix/no-more-frameworks-in-integration-tests' into refactor/remove-frameworks Michael Vogt 2016-03-22 08:14:27 +01:00
  • 18bf219c48 remove framework integration test Michael Vogt 2016-03-22 08:13:24 +01:00
  • 85d3ebb7a8 Merge remote-tracking branch 'upstream/master' into feature/snapmgr-in-daemon Michael Vogt 2016-03-22 08:08:04 +01:00
  • 20df8f0de2 Merge pull request #699 from mvo5/feature/snap-info-shoter-tests Gustavo Niemeyer 2016-03-22 04:03:03 -03:00
  • 0c1d8a7d57 Make TaskRunner log errors observed. Gustavo Niemeyer 2016-03-22 03:50:47 -03:00
  • c713c92227 Merge pull request #701 from niemeyer/task-errorf Gustavo Niemeyer 2016-03-22 03:27:44 -03:00
  • cb31abbfaf Merge task-errorf. Gustavo Niemeyer 2016-03-22 03:20:17 -03:00
  • 00ca53d226 Make go vet happy. Gustavo Niemeyer 2016-03-22 03:19:43 -03:00
  • 866064fd6e Add Change.Err. Gustavo Niemeyer 2016-03-22 03:14:45 -03:00
  • 96eba520db go fmt Gustavo Niemeyer 2016-03-22 02:12:40 -03:00
  • e1b18d8d9e Merge remote-tracking branch 'upstream/master' into apparmor Zygmunt Krynicki 2016-03-22 03:25:33 +01:00
  • 939d1d5824 interfaces/apparmor: use snap.* as mask Zygmunt Krynicki 2016-03-22 03:25:28 +01:00
  • 175dc1bf8e overlord/ifacestate: use snap.{Plug,Slot}Info natively Zygmunt Krynicki 2016-03-21 17:28:15 +01:00
  • c98d3b32b5 daemon: use snap.{Plug,Slot}Info natively Zygmunt Krynicki 2016-03-21 15:46:21 +01:00
  • 002aca5542 interfaces/builtin: use snap.{Plug,Slot}Info natively Zygmunt Krynicki 2016-03-21 15:44:34 +01:00
  • 8fe4e4e765 interfaces: use snap.{Plug,Slot}Info natively Zygmunt Krynicki 2016-03-19 12:46:31 +01:00
  • d9aded9486 snap: add {Plug,Slot}Info.AppNames() Zygmunt Krynicki 2016-03-21 12:03:24 +01:00
  • b61b7a0daa * don't set NO_NEW_PRIVS. This requires changing privilege dropping since CAP_SYS_ADMIN is needed with seccomp_load(). This means temporarily dropping until seccomp_load(), then raising before and permanently dropping after the filter is applied. As a result, setuid/setgid is required in all policy (but is still mediated by AppArmor) - LP: #1560211 1.0.20 Jamie Strandboge 2016-03-21 15:56:00 -05:00
  • 3b65d3651c Fix conflicts with master. Gustavo Niemeyer 2016-03-21 17:19:15 -03:00
  • 5582ec6c97 Merge remote-tracking branch 'upstream/master' into feature/snapmgr-in-daemon Michael Vogt 2016-03-21 19:28:26 +01:00
  • 85e73644a1 Implement Task.Logf and add Task.Log and Errorf. Gustavo Niemeyer 2016-03-21 14:47:05 -03:00
  • d3cfa72680 merge nnp branch Jamie Strandboge 2016-03-21 12:33:08 -05:00
  • 9a8ff73242 clarify changelog Jamie Strandboge 2016-03-21 12:28:40 -05:00
  • e9dc67f568 no need to check getuid() and getgid() after only dropping euid update comments Jamie Strandboge 2016-03-21 12:22:39 -05:00
  • 67236b6bb7 Merge pull request #700 from pedronis/overlord-state-task-sets Samuele Pedroni 2016-03-21 18:20:22 +01:00
  • fd4bce765f fix overlord own tests Samuele Pedroni 2016-03-21 17:53:46 +01:00
  • eef4ee02e9 switch change preparation functions in *state to return task sets instead Samuele Pedroni 2016-03-21 17:35:24 +01:00
  • 7c2db39717 use TaskSets in a couple of points where is natural in taskrunner_test.go Samuele Pedroni 2016-03-21 17:34:32 +01:00
  • bed88cc681 move NewTask to State and TaskSet concept support Samuele Pedroni 2016-03-21 16:48:58 +01:00
  • 4fb02aba48 Merge remote-tracking branch 'upstream/master' into feature/snapmgr-in-daemon Michael Vogt 2016-03-21 17:23:26 +01:00
  • 16b64c9164 Merge pull request #693 from pedronis/overlord-settle Michael Vogt 2016-03-21 17:18:06 +01:00
  • 15b511be0a Merge pull request #697 from chipaca/less-autoupdate Michael Vogt 2016-03-21 16:16:35 +01:00
  • bc0d6f3da1 Use check.DeepEquals more for the Plug/Slots Michael Vogt 2016-03-21 15:25:33 +01:00
  • 90be486870 run update-pot Michael Vogt 2016-03-21 15:51:49 +01:00
  • f364d33808 Merge remote-tracking branch 'upstream/master' into refactor/remove-frameworks Michael Vogt 2016-03-21 15:32:08 +01:00
  • bb17a58595 Merge pull request #698 from mvo5/refactor/remove-dead-code Gustavo Niemeyer 2016-03-21 11:19:16 -03:00
  • 8e87b292a2 remove dead code Michael Vogt 2016-03-21 15:13:37 +01:00
  • bbe122c501 Merge pull request #696 from zyga/snap-yaml Zygmunt Krynicki 2016-03-21 15:00:26 +01:00