Commit Graph

  • 4f0cd5006c rename var Samuele Pedroni 2015-11-17 11:48:29 +01:00
  • 4d4e689c8a Merge pull request #85 from zyga/testutil John Lenton 2015-11-17 10:46:22 +00:00
  • 227f7b724d Don't shadow len() with a variable Zygmunt Krynicki 2015-11-17 11:05:07 +01:00
  • 77ac16f2f1 Fix testutil.Contains to work with custom string types Zygmunt Krynicki 2015-11-17 10:40:49 +01:00
  • 30878ee7b0 Encode(assertion) Samuele Pedroni 2015-11-17 11:02:28 +01:00
  • dc8f5ffbf6 Honor global rootdir in partition/ package Michael Vogt 2015-11-17 10:42:34 +01:00
  • 0130c0e0dc standard doc comment form Samuele Pedroni 2015-11-17 10:34:52 +01:00
  • 4a144c58a3 small cleanup Samuele Pedroni 2015-11-17 10:32:51 +01:00
  • 3fffddf40e Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-11-17 10:24:36 +01:00
  • 13998bda48 Simplify showRebootMessage code Michael Vogt 2015-11-17 09:49:26 +01:00
  • a003e95d1e Move architecture handling into its own package Michael Vogt 2015-11-17 08:42:28 +01:00
  • d06d4fa0f6 Merge remote-tracking branch 'upstream/master' into feature/native-security-policygen-regen Michael Vogt 2015-11-17 07:53:50 +01:00
  • 5ff892eab7 Merge pull request #86 from zyga/caps Gustavo Niemeyer 2015-11-16 22:15:02 -02:00
  • 694b8d5fbb Merge pull request #83 from elopio/ignore_tests_after_reboot Gustavo Niemeyer 2015-11-16 22:13:40 -02:00
  • 7a7e9eae4a Merge pull request #81 from pedronis/asserts-assertion-decode Gustavo Niemeyer 2015-11-16 21:56:54 -02:00
  • 958cc39ea7 Merge pull request #78 from sergiusens/no-vendor Gustavo Niemeyer 2015-11-16 21:46:54 -02:00
  • 8978f98b78 Improve testutil package based on code reviews Zygmunt Krynicki 2015-11-12 13:12:10 +01:00
  • 2023afd59b Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-11-16 18:19:04 +01:00
  • 43ee7ce242 Merge branch 'asserts-assertion-decode' Samuele Pedroni 2015-11-16 18:18:23 +01:00
  • a9315c32c8 Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-11-16 18:17:56 +01:00
  • 45b7146bf8 Merge branch 'feature/native-security-policygen-regen' into feature/extract-into-more-pkgs1 Michael Vogt 2015-11-16 17:46:20 +01:00
  • 47a1e9c3cd Merge branch 'feature/native-security-policygen-regen' into feature/remove-click-hooks-support Michael Vogt 2015-11-16 17:45:31 +01:00
  • abfb517c4a Merge remote-tracking branch 'upstream/master' into feature/native-security-policygen-regen Michael Vogt 2015-11-16 16:54:27 +01:00
  • 221dfcd564 Merge pull request #89 from elopio/integration-fix-rollback Federico Gimenez 2015-11-16 16:52:39 +01:00
  • 6adeb50b29 use the order of fields we expect in practice in the examples Samuele Pedroni 2015-11-16 15:52:18 +01:00
  • caca70d64a Merge remote-tracking branch 'upstream/master' into feature/native-security-policygen-regen Michael Vogt 2015-11-16 15:45:56 +01:00
  • ddf0749052 move out check* functions, make integer fields fallback to 0 instead of being mandatory, adjust doc comment Samuele Pedroni 2015-11-16 15:45:52 +01:00
  • f2830982de remove support to run hooks during a snap install, the last hook we used was aa-clickhook which is now done internally Michael Vogt 2015-11-16 15:23:49 +01:00
  • d360ee4c28 use this style Samuele Pedroni 2015-11-16 14:46:25 +01:00
  • ef7364c5ca simplify, move understanding signature to later/specific code that will care Samuele Pedroni 2015-11-16 14:44:21 +01:00
  • e490138265 Merge pull request #92 from chipaca/atomic-war John Lenton 2015-11-16 13:34:24 +00:00
  • 512ca26d92 copy input for safety Samuele Pedroni 2015-11-16 14:32:50 +01:00
  • fb085be6a4 go fmt Samuele Pedroni 2015-11-16 14:31:57 +01:00
  • 7ed31a576e repair test Samuele Pedroni 2015-11-16 14:29:10 +01:00
  • 441253eac5 small things, xxxs for bigger changes Samuele Pedroni 2015-11-16 14:23:58 +01:00
  • 3623949262 move timeout into its own package Michael Vogt 2015-11-16 13:06:20 +01:00
  • e05c2202e8 address remaining review comments from Gustavo (thanks!) Michael Vogt 2015-11-16 12:10:54 +01:00
  • 2e3c6d9033 use a single Sprintf() in appArmorVars() to avoid string concats (thanks Gustavo) Michael Vogt 2015-11-16 11:56:33 +01:00
  • 8bbdd6ef41 Let (caps.Repository) Add() validate capability name Zygmunt Krynicki 2015-11-16 11:43:39 +01:00
  • bbdc4f3b1d change dbusPath() to avoid string building costs (thanks Gustavo) Michael Vogt 2015-11-16 11:38:06 +01:00
  • beebd709d6 Tweak comments on caps.Capability Zygmunt Krynicki 2015-11-16 11:35:56 +01:00
  • 8940b2614f Tweak comment of (* caps.Repository) Names() Zygmunt Krynicki 2015-11-16 11:32:38 +01:00
  • 0252571bee Tweak comment of (* caps.Repository) Remove() Zygmunt Krynicki 2015-11-16 11:31:34 +01:00
  • 136ce1f6db Tweak wording of error returned by (* caps.Repository) Add() Zygmunt Krynicki 2015-11-16 11:30:39 +01:00
  • c7385c4fde Change ValidateName() to return an error Zygmunt Krynicki 2015-11-16 11:28:03 +01:00
  • a047b0bda7 address review comments (thanks Gustavo!) Michael Vogt 2015-11-16 11:24:06 +01:00
  • 1681e59fb7 Merge pull request #91 from mvo5/15.04 John Lenton 2015-11-13 22:46:07 +00:00
  • 50a500de84 Merge pull request #90 from mvo5/bugfix/lp1515709-socket-terms John Lenton 2015-11-13 22:45:00 +00:00
  • 150e2e934f Merge branch 'master' into licentious John R. Lenton 2015-11-13 20:46:57 +00:00
  • 05965097f2 tests ftw John R. Lenton 2015-11-13 20:43:38 +00:00
  • e3734ebf5e Merge commit 'b79daba99c69dfc05d80f2518b2d4aa06c2e61bb' into licentious John R. Lenton 2015-11-13 20:05:36 +00:00
  • 98ee36aa19 switch everything not in build to use helpers.AtomicWriteFile John R. Lenton 2015-11-13 19:35:37 +00:00
  • b79daba99c works. Next: tests John R. Lenton 2015-11-13 19:12:54 +00:00
  • b04b39223e Fixed the Current and Next boot partition functions. Leo Arias 2015-11-13 12:09:04 -06:00
  • 86a6a2c157 Apply code review feedback to capabilities Zygmunt Krynicki 2015-11-12 13:16:56 +01:00
  • 1f4543c102 Merge remote-tracking branch 'upstream/master' into feature/native-security-policygen-regen Michael Vogt 2015-11-13 10:05:44 +01:00
  • 03855d22d7 move generatePolicy() before they get used Michael Vogt 2015-11-13 10:05:17 +01:00
  • 8b04bd2dce fix bug in CompareGeneratePolicyFromFile for sideloaded pkgs Michael Vogt 2015-11-13 09:26:46 +01:00
  • 3d554fab86 Allow CopyFlagOverwrite when installing a new framework policy Michael Vogt 2015-11-13 09:01:48 +01:00
  • 7ea1ea8cd6 Fix profile generation for frameworks Michael Vogt 2015-11-13 08:47:45 +01:00
  • 25dda00e92 Default to SocketMode=0660 if no socket mode option is given Michael Vogt 2015-11-13 08:11:14 +01:00
  • f41a8cd5b6 Default to SocketMode=0660 if no socket mode option is given Michael Vogt 2015-11-13 08:11:14 +01:00
  • 9d097e53e2 Fixed fmt. Leo Arias 2015-11-12 23:20:26 -06:00
  • e047b12313 Fixed the integration fake update tests for uboot. They were using the deprecated uboot config file. Leo Arias 2015-11-12 23:18:18 -06:00
  • df8011d7f6 Merge branch 'fix-hwassign-underscore' into security.cleanup Jamie Strandboge 2015-11-12 16:30:59 -06:00
  • 062a5173b7 Don't accept '_' in the package name when adding hardware (LP: #1499087) Jamie Strandboge 2015-11-12 16:26:45 -06:00
  • a3ecee6e0d Merge branch 'mvo5-feature/native-security-policygen-regen' into security.cleanup Jamie Strandboge 2015-11-12 09:07:32 -06:00
  • c7315fab63 Merge pull request #84 from elopio/is_in_reboot_process Michael Vogt 2015-11-12 15:53:40 +01:00
  • e1a9dceaa7 Merge remote-tracking branch 'jdstrand/security.cleanup' into feature/native-security-policygen-regen Michael Vogt 2015-11-12 15:52:31 +01:00
  • 835c5b637c Merge pull request #76 from chipaca/fix-1514890 John Lenton 2015-11-12 14:50:21 +00:00
  • 32d4f7f857 Merge remote-tracking branch 'upstream/master' into feature/native-security-policygen-regen Michael Vogt 2015-11-12 15:50:21 +01:00
  • 67e49c9fbb Merge branch 'feature/native-security-policygen-regen-warn' into feature/native-security-policygen-regen Michael Vogt 2015-11-12 15:47:25 +01:00
  • 77df4142eb Merge pull request #5 from mvo5/feature/native-security-policygen-regen-warn jdstrand 2015-11-12 08:40:59 -06:00
  • 9e821ca061 try to improve numbering of lists in manual test md John R. Lenton 2015-11-12 14:38:54 +00:00
  • b48eee0899 Merge pull request #87 from fgimenez/fix-autoupdate-test Michael Vogt 2015-11-12 15:30:58 +01:00
  • 560d67e829 Merge pull request #88 from sergiusens/oem-doc-update Michael Vogt 2015-11-12 15:29:58 +01:00
  • 3dafcd4ac9 Updating branding information in docs/oem.md Sergio Schvezov 2015-11-12 09:59:53 -03:00
  • a193597192 Added snappy-autopilot stop to the teardown and customized expected string for the different releases Federico Gimenez 2015-11-12 13:39:41 +01:00
  • fc04d7eeee Merge pull request #77 from chipaca/fix-15.04-1514890 Michael Vogt 2015-11-12 12:53:15 +01:00
  • b932f708bb Merge pull request #82 from zyga/fix-testing-locale John Lenton 2015-11-12 11:51:01 +00:00
  • 16f83570cc document new security-override syntax Michael Vogt 2015-11-12 12:49:34 +01:00
  • 3123ef98b1 Merge pull request #65 from zyga/caps John Lenton 2015-11-12 11:47:34 +00:00
  • adee50f7f7 started addressing some comments from review John R. Lenton 2015-11-12 10:56:23 +00:00
  • 9c37629820 Added a manual test. John R. Lenton 2015-11-12 10:17:40 +00:00
  • 1cf91ccf3f Merge pull request #74 from chipaca/fix-15.04-1514534 John Lenton 2015-11-12 10:04:43 +00:00
  • baf9029272 Merge pull request #73 from chipaca/fix-1514534 John Lenton 2015-11-12 10:04:35 +00:00
  • 1640a48310 Insert hw-assign template vars into custom security policies Michael Vogt 2015-11-12 10:53:30 +01:00
  • d37fe1f456 fix bug in GeneratePolicyFromFile() version handling for sideloaded versions Michael Vogt 2015-11-12 10:05:40 +01:00
  • 22e28737ad debian/ubuntu-snappy.run-hooks.service: run regeneration of the security policies after apparmor is ready Michael Vogt 2015-11-12 09:29:30 +01:00
  • c2922a6336 On integration tests, check IsInRebootProcess to make the condition clearer. Leo Arias 2015-11-11 18:47:26 -06:00
  • b75d6ac55f Fixed fmt. Leo Arias 2015-11-11 18:43:03 -06:00
  • 316d31ed8f Expose the name of the NeedsRebootFile. Leo Arias 2015-11-11 18:41:12 -06:00
  • c9453157e6 Also ignore the test events for tests in the reboot process. Leo Arias 2015-11-11 18:40:26 -06:00
  • 746486f37e Merge mvo's banch to security.cleanup Jamie Strandboge 2015-11-11 17:33:54 -06:00
  • a837a577c5 Merge branch 'feature/native-security-policygen-regen' of https://github.com/mvo5/snappy into foo Jamie Strandboge 2015-11-11 17:33:10 -06:00
  • 6b66bfd536 possibly couple of clearer error messages Samuele Pedroni 2015-11-11 20:55:13 +01:00
  • f83a9c6722 Removing traces vendor and stubbing the REST api. Sergio Schvezov 2015-11-11 16:52:42 -03:00
  • c5c1957774 Reset locale for testing Zygmunt Krynicki 2015-11-11 19:46:11 +01:00
  • d352fe0ac7 for further clarity use body-length instead of body-size Samuele Pedroni 2015-11-11 18:15:14 +01:00
  • f1bec12af5 just for cleanliness make sure we always represent an empty body with nil Samuele Pedroni 2015-11-11 18:11:54 +01:00