Commit Graph

1307 Commits

Author SHA1 Message Date
Christian Blichmann
6a1e4b881c Introduce config header to centralize CPU architecture checks
This allows us to remove some uses of macros.

Related changes:
- Make it clear that we support hosting sandboxed binaries from 64-bit
  processes only. CPU architectures are x86-64 and POWER64 (little endian).
- Introduced CPU architecture macros, abstracting away compiler specifics

PiperOrigin-RevId: 330918134
Change-Id: Ife7ad5f14723eec9f68055127b0583b8aecd38dd
2020-09-10 05:48:00 -07:00
Katarzyna Miernikiewicz
ac3149102f example reorganization 2020-09-10 11:06:31 +00:00
Katarzyna Miernikiewicz
7650657662 multiple files example added 2020-09-10 10:19:06 +00:00
Andrei Medar
de27b90ae4 added helper library 2020-09-09 12:02:40 +00:00
Katarzyna Miernikiewicz
1b307adf5d added README 2020-09-09 09:56:42 +00:00
Kevin Hamacher
1f8e88586b Log details when executor fails to open the sandboxee binary
PiperOrigin-RevId: 330680717
Change-Id: I4ec855861196177321783dc94f2e05a28e84d512
2020-09-09 02:12:29 -07:00
Sandboxed API Team
776e34502a Internal cleanup migrating StatusOr.
PiperOrigin-RevId: 330561315
Change-Id: Ie8d8857e7fa5819be3358b26425790ede97c99f8
2020-09-08 12:24:35 -07:00
Katarzyna Miernikiewicz
f7eff228f0 minor fix 2020-09-08 15:28:21 +00:00
Katarzyna Miernikiewicz
dfc9d11f35 enabling usage of files in the same directory as input file 2020-09-08 15:03:22 +00:00
root
ecbd169616 modified usage of sapi:✌️:Array 2020-09-08 14:21:57 +00:00
Andrei Medar
b5bde83c14 corrected error inside CMakeLists 2020-09-08 13:51:22 +00:00
Andrei Medar
e60c3ab254 added gitignore 2020-09-08 11:49:09 +00:00
Andrei Medar
617cc046bc small cleanup 2020-09-08 11:47:25 +00:00
Katarzyna Miernikiewicz
c8da7c3db5 Google style applied 2020-09-08 11:11:08 +00:00
Katarzyna Miernikiewicz
9f0bdf1c63 licence added 2020-09-08 11:03:02 +00:00
Katarzyna Miernikiewicz
78b8e130d7 first jsonnet example 2020-09-08 10:37:17 +00:00
Andrei Medar
357fd5d40e added example rules to CMakeLists.txt 2020-09-07 14:36:43 +00:00
Andrei Medar
a6e0bb6e5b added some more examples 2020-09-07 14:11:39 +00:00
doinachiroiu
1869fe515f Required changes resolved 2020-09-03 14:59:54 +00:00
Christian Blichmann
fdf0483ca0 Migrate to open-source absl::StatusOr<>
This removes our own fork of `absl::StatusOr<>`. Sandboxed API still includes
a custom matcher for Googletest, as that is not open source yet. For
compatibility, the `statusor.h` header is still retained and now aliases
`sapi::StatusOr<>` to `absl::StatusOr<>`.

PiperOrigin-RevId: 329916309
Change-Id: I0544b73a9e312dce499bc4128c28457e04ab9929
2020-09-03 07:40:48 -07:00
Sandboxed API Team
23da55c19a Internal BUILD refactoring
PiperOrigin-RevId: 329720214
Change-Id: I25fbb94dea17db3bdca6438d17508fa304d9706f
2020-09-03 07:40:33 -07:00
Katarzyna Miernikiewicz
490bc569ed changed copying files to patching 2020-09-01 11:06:12 +00:00
Andrei Medar
ab8d8cb1b4 added libarchive submodule 2020-09-01 10:29:56 +00:00
Andrei Medar
ed099de7cf created branch and libarchive directory 2020-09-01 10:27:18 +00:00
Sandboxed API Team
1c833d6f25 Internal cleanup migrating StatusOr.
PiperOrigin-RevId: 329304527
Change-Id: Id6c141272df54c4e165829d690f9f5b2e9ee90cc
2020-08-31 08:13:29 -07:00
doinachiroiu
7e22952c42 Setup error handling modified 2020-08-31 11:48:19 +00:00
doinachiroiu
531850afc2 Required changes resolved 2020-08-31 11:17:15 +00:00
Bohdan Tyshchenko
9803d0549f Changed README, Bazel deps and different parts of code according to the review 2020-08-31 02:19:00 -07:00
Sandboxed API Team
cfac8eb2d9 Internal cleanup migrating StatusOr.
PiperOrigin-RevId: 329250595
Change-Id: I0447d8154a57b1132981b116f02b4d5bceedfd4c
2020-08-31 00:13:54 -07:00
Andrei Medar
298aa457c1 added more error/warning messages. 2020-08-29 18:54:08 +00:00
Andrei Medar
0df7894409 modified readme 2020-08-28 18:00:52 +00:00
Katarzyna Miernikiewicz
28089de353 workaround to avoid manually copying library files 2020-08-28 15:27:23 +00:00
Andrei Medar
25291a1ab7 modified comments. changed std::equal to absl::equal 2020-08-28 13:29:12 +00:00
Wiktor Garbacz
c53f2a900f Automated rollback of commit e7a195ce42.
PiperOrigin-RevId: 328918626
Change-Id: Iabe93ec7062ea6e750e4185e2b0b672a37111ee7
2020-08-28 04:49:41 -07:00
Andrei Medar
2db661d655 created a helpers file, removed asserts, removed filsystem header usage, changed constants+functions+tests naming 2020-08-27 19:53:06 +00:00
doinachiroiu
905f86a0ab Small README update regarding variables names 2020-08-27 16:59:58 +00:00
doinachiroiu
b2351ec639 Small coding style corrections 2020-08-27 16:55:55 +00:00
doinachiroiu
60b3b5057c Small README correction 2020-08-27 16:49:09 +00:00
doinachiroiu
4336c005d3 Added output format flag and made other required changes 2020-08-27 16:46:59 +00:00
doinachiroiu
bb623d4c0b Required changes resolved 2020-08-27 12:54:57 +00:00
Katarzyna Miernikiewicz
2c50bea22c more style changes 2020-08-27 08:46:12 +00:00
Katarzyna Miernikiewicz
1b0fbc89bb style fix 2020-08-27 08:39:59 +00:00
Katarzyna Miernikiewicz
4f80af5d1c minor changes 2020-08-27 08:38:57 +00:00
Katarzyna Miernikiewicz
88844fc958 changed README.md 2020-08-26 15:13:37 +00:00
doinachiroiu
5ae99706e2 Added PFFFT_ROOT_DIR 2020-08-26 15:03:25 +00:00
doinachiroiu
c8d07aeaa5 Changing paths for propertly usage of the submodule 2020-08-26 14:56:19 +00:00
doinachiroiu
b08726540a Added PFFFT submodule - master directory 2020-08-26 14:25:11 +00:00
doinachiroiu
139723d3b8 Added LICENSE & coding changes required 2020-08-26 14:18:31 +00:00
Katarzyna Miernikiewicz
9f120598c1 added requested changes 2020-08-26 12:17:18 +00:00
doinachiroiu
8f21b0e931 Coding style update 2020-08-26 11:23:33 +00:00