Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling fixes #7211

Merged
merged 1 commit into from Jul 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -912,7 +912,7 @@ It features a heavily reworked build system. This aims to provide flexibility an
- Fix sign compare warning in `file_compression` ([b93069b3](https://github.com/osquery/osquery/commit/b93069b3))
- Refactored `logical_drives` table on Windows ([#5400](https://github.com/osquery/osquery/pull/5400))
- Refactored core/windows/wmi to use smart pointers ([#5492](https://github.com/osquery/osquery/pull/5492))
- Fixed various potential crashes in the virtual table implementaion ([6ade85a5](https://github.com/osquery/osquery/commit/6ade85a5))
- Fixed various potential crashes in the virtual table implementation ([6ade85a5](https://github.com/osquery/osquery/commit/6ade85a5))
- Increase the amount of `MaxRecvRetries` for Thrift sockets ([#5390](https://github.com/osquery/osquery/pull/5390))


Expand Down
2 changes: 1 addition & 1 deletion docs/wiki/installation/cli-flags.md
Expand Up @@ -244,7 +244,7 @@ If the flag is set to 0, the amount of attempts will be infinite.

`--tls_enroll_max_interval=600`

Maximum wait time in seconds between enroll retry attempts. This works in conjuction with `--tls_enroll_max_attempts`, and affects both the limited and the infinite attempts case.
Maximum wait time in seconds between enroll retry attempts. This works in conjunction with `--tls_enroll_max_attempts`, and affects both the limited and the infinite attempts case.

`--logger_tls_period=3`

Expand Down
2 changes: 1 addition & 1 deletion osquery/config/tests/packs.cpp
Expand Up @@ -102,7 +102,7 @@ TEST_F(PacksTests, test_check_platform) {
fpack.platform_ = "bad_value";
EXPECT_FALSE(fpack.checkPlatform());

// We should execute the query if the SDK platform is specifed.
// We should execute the query if the SDK platform is specified.
fpack.platform_ = kSDKPlatform;
EXPECT_TRUE(fpack.checkPlatform());
// But not if something other than the SDK platform is speciifed.
Expand Down
4 changes: 2 additions & 2 deletions osquery/sql/tests/sqlite_util_tests.cpp
Expand Up @@ -444,9 +444,9 @@ TEST_F(SQLiteUtilTests, test_column_type_determination) {
TEST_F(SQLiteUtilTests, test_enable) {
// Shadow is not in enable_tables.
ASSERT_TRUE(SQLiteDBManager::isDisabled("shadow"));
// Users is explicitely in enable_tables.
// Users is explicitly in enable_tables.
ASSERT_FALSE(SQLiteDBManager::isDisabled("users"));
// Fake_table is explicitely in enabled_tables and
// Fake_table is explicitly in enabled_tables and
// disable_tables, it should be disabled.
ASSERT_TRUE(SQLiteDBManager::isDisabled("fake_table"));
}
Expand Down
2 changes: 1 addition & 1 deletion osquery/tables/system/linux/pci_devices.cpp
Expand Up @@ -310,7 +310,7 @@ Status extractVendorModelFromPciDBIfPresent(
auto status = splitVendorModelAttrs(device_ids_attr, vendor_id, model_id);
if (!status.ok()) {
// Legacy behavior of using value "0" being supported for backward
// compatability.
// compatibility.
row.emplace("vendor_id", "0");
row.emplace("model_id", "0");

Expand Down
2 changes: 1 addition & 1 deletion osquery/tables/system/posix/sudoers.cpp
Expand Up @@ -51,7 +51,7 @@ void genSudoersFile(const std::string& filename,

auto lines = split(contents, "\n");
for (auto& line : lines) {
// sudoers uses EBNF for grammer. But for our purposes, we don't need a full
// sudoers uses EBNF for grammar. But for our purposes, we don't need a full
// parsing. We're just conveying simplified information. We can just split
// it into the leading token and the trailing token.

Expand Down
2 changes: 1 addition & 1 deletion osquery/tables/system/windows/shimcache.cpp
Expand Up @@ -100,7 +100,7 @@ auto parseShimcacheData(const std::string& token,
shimcache_modified_start + (size_t)shimcache_file_path * 2, 16);

// Sometimes Shimcache artifacts have 0 as timestamp, if so skip filetime
// converstion
// conversion
shimcache.last_modified = (shimcache_time == "0000000000000000")
? 0LL
: littleEndianToUnixTime(shimcache_time);
Expand Down
2 changes: 1 addition & 1 deletion osquery/tables/system/windows/userassist.cpp
Expand Up @@ -104,7 +104,7 @@ QueryData genUserAssist(QueryContext& context) {
} else {
std::string time_data = assist_data.substr(120, 16);
// Sometimes Userassist artifacts have 0 as timestamp, if so skip
// filetime converstion
// filetime conversion
time_str = (time_data == "0000000000000000")
? 0LL
: littleEndianToUnixTime(time_data);
Expand Down
2 changes: 1 addition & 1 deletion osquery/utils/schemer/json/schemer_json.h
Expand Up @@ -31,7 +31,7 @@ namespace schemer {
* Support only simple types as a members:
* - boolean;
* - integral types (int, short, long, long long, unsigned etc);
* - floating point nubmers (float, double);
* - floating point numbers (float, double);
* - std::string;
* - C-string - only for serialisation;
* - types with defined schema, @see schemer::has_schema type trait.
Expand Down
2 changes: 1 addition & 1 deletion osquery/utils/windows/shellitem.cpp
Expand Up @@ -282,7 +282,7 @@ std::string controlPanelCategoryItem(const std::string& shell_data) {
if (panel_id == "00") {
return "All Control Panel Items";
} else if (panel_id == "01") {
return "Appearence and Personalization";
return "Appearance and Personalization";
} else if (panel_id == "02") {
return "Hardware and Sound";
} else if (panel_id == "03") {
Expand Down
2 changes: 1 addition & 1 deletion tools/tests/test_osqueryd.py
Expand Up @@ -128,7 +128,7 @@ def test_daemon_sighup(self):

def test_daemon_sigint(self):
# First check that the pidfile does not exist.
# The existance will be used to check if the daemon has run.
# The existence will be used to check if the daemon has run.
pidfile_path = test_base.CONFIG["options"]["pidfile"]
def pidfile_exists():
return os.path.exists(pidfile_path)
Expand Down