-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1,244 changed files
with
786,728 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
Language: Cpp | ||
BasedOnStyle: LLVM | ||
AccessModifierOffset: -8 | ||
BreakBeforeBraces: Allman | ||
BreakConstructorInitializers: AfterColon | ||
ColumnLimit: 120 | ||
ConstructorInitializerIndentWidth: 8 | ||
ContinuationIndentWidth: 8 | ||
DerivePointerAlignment: true | ||
IndentWidth: 8 | ||
SortIncludes: false | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeCtorInitializerColon: false | ||
SpaceBeforeParens: Never | ||
UseTab: Always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<!-- Thanks for sending a pull request! Here are some tips for you: | ||
1. If this is your first time, please read our contributor guidelines in the [CONTRIBUTING.md](https://github.com/falcosecurity/.github/blob/master/CONTRIBUTING.md) file and learn how to compile Falco from source [here](https://falco.org/docs/source). | ||
2. Please label this pull request according to what type of issue you are addressing. | ||
3. Please add a release note! | ||
4. If the PR is unfinished while opening it specify a wip in the title before the actual title, for example, "wip: my awesome feature" | ||
--> | ||
|
||
**What type of PR is this?** | ||
|
||
> Uncomment one (or more) `/kind <>` lines: | ||
> /kind bug | ||
> /kind cleanup | ||
> /kind design | ||
> /kind documentation | ||
> /kind failing-test | ||
> /kind feature | ||
<!-- | ||
Please remove the leading whitespace before the `/kind <>` you uncommented. | ||
--> | ||
|
||
**Any specific area of the project related to this PR?** | ||
|
||
> Uncomment one (or more) `/area <>` lines: | ||
> /area API-version | ||
> /area build | ||
> /area CI | ||
> /area driver-kmod | ||
> /area driver-bpf | ||
> /area driver-modern-bpf | ||
> /area libscap-engine-bpf | ||
> /area libscap-engine-gvisor | ||
> /area libscap-engine-kmod | ||
> /area libscap-engine-modern-bpf | ||
> /area libscap-engine-nodriver | ||
> /area libscap-engine-noop | ||
> /area libscap-engine-source-plugin | ||
> /area libscap-engine-savefile | ||
> /area libscap | ||
> /area libpman | ||
> /area libsinsp | ||
> /area tests | ||
> /area proposals | ||
<!-- | ||
Please remove the leading whitespace before the `/area <>` you uncommented. | ||
--> | ||
|
||
**Does this PR require a change in the driver versions?** | ||
|
||
> /version driver-API-version-major | ||
> /version driver-API-version-minor | ||
> /version driver-API-version-patch | ||
> /version driver-SCHEMA-version-major | ||
> /version driver-SCHEMA-version-minor | ||
> /version driver-SCHEMA-version-patch | ||
<!-- | ||
Please remove the leading whitespace before the `/version <>` you uncommented. | ||
--> | ||
|
||
**What this PR does / why we need it**: | ||
|
||
**Which issue(s) this PR fixes**: | ||
|
||
<!-- | ||
Automatically closes linked issue when PR is merged. | ||
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. | ||
If PR is `kind/failing-tests` please post the related issues/tests in a comment and do not use `Fixes`. | ||
--> | ||
|
||
Fixes # | ||
|
||
**Special notes for your reviewer**: | ||
|
||
**Does this PR introduce a user-facing change?**: | ||
|
||
<!-- | ||
If no, you have to do nothing. | ||
If yes, a release note is required: | ||
Delete `NONE` and enter your extended release note in the block below. | ||
Please note, the release note follows the "conventional commit specification" (https://www.conventionalcommits.org/en/v1.0.0/): | ||
For example: `fix: broken link`. | ||
If the PR requires additional action from users switching to the new release, prepend the string "action required:". | ||
For example, `action required: change the API interface of libscap`. | ||
--> | ||
|
||
```release-note | ||
NONE | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
#!/usr/bin/env bash | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Copyright (C) 2023 The Falco Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
set -e | ||
|
||
mkdir -p third_party | ||
cd third_party | ||
|
||
# === Valijson === | ||
echo "=== Building and installing valijson v0.6 ===" | ||
|
||
wget "https://github.com/tristanpenman/valijson/archive/refs/tags/v0.6.tar.gz" | ||
|
||
tar xzf v0.6.tar.gz | ||
pushd valijson-0.6 | ||
|
||
mkdir -p build | ||
cd build | ||
|
||
cmake \ | ||
-Dvalijson_INSTALL_HEADERS=ON \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_INSTALL_PREFIX=/usr \ | ||
-Dvalijson_BUILD_TESTS=OFF \ | ||
../ | ||
|
||
make install -j | ||
popd | ||
|
||
|
||
# === RE2 === | ||
echo "=== Building and installing re2 (v2022-06-01) ===" | ||
|
||
wget "https://github.com/google/re2/archive/refs/tags/2022-06-01.tar.gz" | ||
tar xzf 2022-06-01.tar.gz | ||
pushd re2-2022-06-01 | ||
|
||
# see: https://github.com/google/re2/wiki/Install | ||
mkdir -p build-re2 | ||
cd build-re2 | ||
cmake \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DRE2_BUILD_TESTING=OFF \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
.. | ||
make -j | ||
make install -j | ||
popd | ||
|
||
# === uthash === | ||
echo "=== Downloading uthash.h (1.9.8) ===" | ||
|
||
wget -P "/usr/include" "https://raw.githubusercontent.com/troydhanson/uthash/v1.9.8/src/uthash.h" |
Oops, something went wrong.