Age | Commit message (Collapse) | Author | Files | Lines |
|
William A. Kennington III (2):
print: Split out function for directly writing out strings
fd: Use zstrings
Change-Id: I78ca782244b90e2263e97c27d76ebf27b5faee2e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
build: upgrade to C++23
Change-Id: I498ed36f3bd9e8f7c217cd8a65c9027852b65659
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
build: upgrade to C++23
William A. Kennington III (12):
treewide: Switch to std::format
zstring: Support std::format
str/conv: Make formatter generic
net/addr: Support std::format
str/buf: Support std::back_inserter and data()
fd/fmt: Don't depend on fmtlib
function_view: Add a lightweight span equivalent for functions
function_view: Allow empty function views
print: Add c++23 print compatible implementation
str/cat: Simplify append logic
str/cat: Implement StrBuf appending
fd/fmt: Support direct string writing
Change-Id: Ibc17e1189388bda196371c2e8355868d1bb39e66
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
kasunath (1):
Add BEJ tree API.
Change-Id: I9a3fd69ea55f482a83bafdd953cf4bbbe6ed1e6b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jonathan Doman (1):
asio: Align nop_set_value to return conventions
William A. Kennington III (2):
bus: Consistently leverage mock
slot: Add an empty constructor
Change-Id: Ia85e6c295bb6ccf2c0d3cb320ff88fa25744e9bf
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
build: upgrade to C++23
Change-Id: Ic4bc127a215507ffb832d0c99be031c1a76c5564
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (3):
add cstdint include
fd: avoid move-to-self
build: upgrade to C++23
Change-Id: I568f7e84d177761b99bff1e8ce3d4c4dc3eca5ee
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
build: upgrade to C++23
Willam A. Kennington III (1):
bus/match: Compile all code into library
William A. Kennington III (1):
bus/match: Remove redundant inline and stringify
Change-Id: I683c04f61ae47a0bbb232f27e9f0d33ce157f8d6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (1):
numeric/str: Add type to IntToStr
Change-Id: Ib437c3c861bf635c8836c37e406d69b05b038c8d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (4):
concepts: Add header for common concepts
variant: Use concepts
util/cexec: Use concepts
raw: Use concepts
Change-Id: I922fa2d7fb7c3c8b834b06380a91e2484364d158
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (11):
net/addr/ether: Remove isEmpty
zstring_view: Literal namespace should be inline
net/addr/ip: Make IPv4 fully constexpr compliant
net/addr/ip: Make IPv6 fully constexpr compliant
net/addr/ip: Add compile time string conversion
net/addr/ip: Add InAnyAddr compile time strings
net/addr/ip: Add unicast / loopback queries
net/addr/ip: Refactor string literal compilation
net/addr/subnet: Simplify using concepts
net/addr/subnet: Add string literals
net/addr/ip: Fix operator== abiguity
Change-Id: I1f7b4e5bf3c9ee27a6803ba2214d264e79b4ab0a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
exception: remove source_location indirect
William A. Kennington III (23):
str/cexpr: Delete clang exemption
net/ether: Fixup constructors
net/addr/ip: Fixup hash function signatures
str/buf: Add allocation reducing string buffer
str/conv: Add basic functions
numeric/str: Add constexpr int encode
numeric/str: Improve base10 encode performance
numeric/str: Add constexpr int decode
net/addr/ether: Add FromStr conversion
net/addr/ether: Add ToStr conversion
net/addr/ip: Add In4Addr FromStr conversion
net/addr/ip: Add In4Addr ToStr conversion
net/addr/ip: Add IPv6 FromStr conversion
net/addr/ip: Add IPv6 ToStr conversion
net/addr/ip: Add InAnyAddr FromStr conversion
net/addr/ip: Add InAnyAddr ToStr conversion
net/addr/subnet: Add ToStr conversion
net/addr/subnet: Add FromStr conversion
net/addr/ether: Add missing equal operator
net/addr/ether: Add basic queries
net/addr/subnet: Add netmask functions
net/addr/subnet: Add hashing functions
str/buf: Fix when sizeof(CharT) == sizeof(CharT*)
Change-Id: Ie518d47a5845beb32b79ee40650fd14749b084db
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
async: add is_sender type-aliases
stdexec: update to latest commit
Change-Id: I264aa6371700bf76a055f4cf91528e2fd7e59845
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (8):
net/addr/ip: Add basic IP comparison and hash ops
net/addr/ether: Add basic MAC comparison and hashing
variant: Add equals operator helper
net/addr/ip: Add an any addr class
net/addr/subnet: Add class for representing a network subnet
treewide: Various fixes for clang compilation
treewide: Add NOLINT where needed to make clang-tidy happy
build: Enable clang-tidy
Change-Id: Ie0b1568f23bbabdd37a987e19c65a43971eda815
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (6):
str/cexpr: Add a function to make a constexpr generated string
hash: Add function for efficiently combining hashes
hash: Add support for tuples
hash: Add support for arrays
numeric/endian: Add constexpr endian conversion functions
str/maps: Add commonly used cheaper string map
Change-Id: I3d8f2f0bf5a7d79ea0f1153c44c619f0d508b4a4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
added support to install etcd-new.conf.sample in etc/etcd
path, which can be used for starting etcd cluster or node add.
This is only reference config file, which can be used for application
or users to easily customise node specific configuration.
Change-Id: I37072eb4ded0dfac88045e84ba816ea82438b355
Signed-off-by: ojayanth <ojayanth@in.ibm.com>
|
|
Ed Tanous (1):
Fix coroutine disable option
Change-Id: I95e6fc441a02fc2141f2a8a82efaa0f389990aec
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (4):
async: client: fix uninitialized proxy error on clang
stdexec: pull in async_scope
async: switch to stdexec async_scope
async: context: remove pending_exception handling
Change-Id: I8b9655e0c5eb09d3ba2993ae53cb76e55b95b27a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (4):
raw: Workaround compiler complaining about test
zstring_view: Fix function specification
pinned: Declare within namespace
pinned: Add noexcept
Change-Id: I5c7529444ccd59a8c937cd1dcf01a0e86ba77d00
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
build: handle usrmerge
clang-format: copy latest and re-format
Change-Id: Id90555674c433ebfa74dbeb267555eaf4a027bd6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (7):
async: scope: constructor fix to make clang happy
sdbus++: async: client: fix clang warning on struct mismatch
test: exception: suppress clang warnings
async: execution: suppress clang warning of GCC diagnostic
async: fix reference initializer warning
stdexec: update to latest commit
stdexec: pick up fixes for unused parameters
Change-Id: I9a2f969c85887b5c7ab2230929ce8c5f9ad562ac
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Change If53ea402f1e50416bc8a0e561d42080ea68742f9 is going to require
us to pass the `--libdir` configure option so that the install
directory of the PAM modules is not hard-coded, but instead relies on
the `${base_libdir}` derived by the usrmerge feature. Add this now in
preparation.
This is the same approach taken by the base PAM recipe.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1a46177f65347521debca54f00145d32872b05b6
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: I6cd7ef7fbbe75d2ad595f47240248b761ff9855d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (4):
sdbus++: handle error includes in Python code
sdbus++: handle error names in Python code
sdbus++: property: simplify server mako structure
sdbus++: simplify vtable generation
Change-Id: Idd088d8da3b811eb895385b6b1045c62a13f6c92
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: If0ba6f1f990997ea56af0a6d394f2b38f722beb9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: Ia1ee54a0f6672125ced42d6e58a0c40c72b83268
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
asio: connection: fix clang-tidy warning
Change-Id: I6f17ae33b56abfaa69821ef4b760309be4f53424
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
clang-format: copy latest and re-format
stdexec: update to latest commit
Change-Id: I8854c707ab8eab7615df3213c05f7b448141000c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: I6aef06fa5c665ee13ae6ab34db6921fe94d64395
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Hannu Lounento (2):
Replace interface member with bus
Allow propagating exceptions from server methods
Patrick Williams (2):
async: scope: forward exception correctly
sdbus++: async: client: handle readonly flags for properties
Change-Id: I50978a3c10448b6fee5ac1f75bad3e80e49d3062
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
sdbus++: async: client: fix client_t usage
Change-Id: I15be5d4b5f7a0f9aa7d3a0a26a19c814d852dc25
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jonathan Doman (1):
asio: Emit PropertiesChanged signal
Change-Id: I97ac5db8ac62e846ea5dec184c3883e239cb3c56
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
server: object: reduce potential warnings
Change-Id: I82a2254eec3b348bebe4069744d2092bc4b759d2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
This updates to libpam 1.5.2. This version removes support for
pam_cracklib and pam_tally2. They are replaced by pam_pwquality and
pam_faillock respectively.
Since parameters of pam_cracklb and pam_tally2 are configurable through
Redfish, it's possible that they will remain in the overlay of
/etc/pam.d with the old module names preventing PAM from working
correctly. To avoid this, this commit includes a script that will detect
if the old modules are in the overlay and update the overlay with the
new modules and configuration.
The script will allow updates from libpam 1.3.1 to libpam 1.5.2, but if there
are configured parameters during a downgrade from libpam 1.5.2 to libpam
1.3.1, it will require a factory reset before the downgrade.
pam_pwquality was selected over pam_passwdqc because of better security
and compatibility with pam_cracklib.
Note pam_faillock is necessarily configured into the pam module stack
differently than pam_tally2.
This patchset causes a BMC operational change:
- The pam_tally2 command (invoked from the BMC's command line) is no
longer present. If you used the "pam_tally2 -u USER -r" command
to unlock a user after repeated authentication failures, change to
use: faillock --user USER --reset
Compatibility note / migration issue. If your BMC cannot authenticate
users after installing this change, the cause might be an overlayfs file
hiding the new /etc/pam.d/common-auth file. To find out, use
`grep deny= /etc/pam.d/common-auth` on your BMC. If it shows "tally2"
then your BMC is affected. The recovery is to delete the overlay file,
to factory reset the BMC, or manually-install the changed files.
The convert-pam-configs service is intended to handle this problem.
Tested: as follows, for local users only (not tested with LDAP)
Note OpenBMC configuration defaults to an AccountLockoutThreshold
value of 0 which does not lock account passwords no matter how many
consecutive failed authentication attempts. To configure this on
the BMC, for example, use:
curl -X PATCH https://${bmc}/redfish/v1/AccountService
-d '{"AccountLockoutThreshold": 3, "AccountLockoutDuration": 60}'
Tested update scenarios:
1. Install from scratch. Success.
2. Install over firmware which had old PAM configs. Success.
Tested update scenarios for the convert-pam-configs service.
Tested changing the password via various interfaces:
- the passwd command
- the PATCH Refish AccountService {Password: NEW}
- SSH (accessible only when the password is expired)
- IPMI user set password (accessible for unexpired password)
Tested both good and bad (unacceptable) passwords.
Tested account lockout after N bad passwords
Tested unlock via Redfish.
Also, because its implementation changed, ensure reading and writing the
D-Bus User AccountPolicy RememberOldPasswordTimes property continues to
work. There is no Redfish API for this.
Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net>
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Change-Id: I7b712cf7cfbf7b0bc79da42f822540baee66ca4f
|
|
Arun Lal K M (1):
Make register_method accept 'Flags'
Patrick Williams (11):
sdbus++: move interface name to common header
sdbus++: move enum definitions to common header
async: proxy: fix property sub-proxy initialization
async: proxy: use variant in property-set
sdbus++: server: simplify header include templates
sdbus++: add start of an async client
sdbus++: async: client: add generated method calls
sdbus++: async: client: move context to constructor
sdbusplus: async: client: prettify the generated code
sdbus++: async: client: add generated property calls
sdbus++: async: client: example: add a few comments for clarity
Change-Id: Ifcc0c02d31c8bd70f496b60ca6f4cf53acec9487
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (3):
sdbus++: change binding namespace format
server: object: reduce SFINAE
sdbus++: add common header file
Change-Id: Ibc4ede6599a6750432fbcae263cea043967433f4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (2):
Remove pointers vector
Remove duplicate std::move
Change-Id: I6df92d44c9b3ac1676a86355a7bdad878f7ea18c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
In a base bb file where we are setting the primary git repository, it
is rare that we need to `SRC_URI +=`. This is an unnecessary pattern
that seems to have been copied throughout the repository. Remove the
pattern where appropriate and simply set SRC_URI directly.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I430186a82f9582ba6196f5bf66b659af4092b48d
|
|
Michal Orzel (1):
Request name with default non-zero flags
Change-Id: Ida5ac9640099b4f4954b2fa19eea0a8d88031603
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (5):
async: change namespace for sync_wait
async: add additional completion signatures
event: prevent potential deadlock
scope: pass around the scheduler
stdexec: update to latest commit
Change-Id: I2bce16dcd8cf21ad3e922ff662dfa74d03702dff
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (5):
Optimize object_server
Use offset to avoid lookups
Add back explicit constructors
Fix behavior of const_ properties
Make dbus_interface uncopyable and unmovable
Jason M. Bills (1):
Fix build error on register_signal()
Jitendra Tripathy (1):
Fix for failure of sending signal
Change-Id: I3b6edc643a5dba275c6f09afc8e48a706e341ee5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (9):
Use more specific includes
Remove initialized_ member
Remove size_t from SetPropertyReturnValue
Break out callFunction
Delete callbackYields
Fix vtable entires for offset callbacks
Break out post-spawn lambda into method
Remove message copy
Break out lambdas into helpers
Patrick Williams (6):
sdbus++: interface: move basic constructor inline
sdbus++: interface: move variant constructor inline
sdbus++: interface: reduce excess whitespace
sdbus++: method: reduce mako embedded python
sdbus++: interface: reduce mako embedded python
sdbus++: interface: simplify client.hpp
Change-Id: I8edc554cad5f612f1d304020da9db371f211bb0c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Change deprecated asio function
Change-Id: I9ae2633c70020d989f75e674b62eee832d98e1de
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Change io_service to io_context
Change-Id: I156e024a65a732e9c3deb5ae331c462c70d97d96
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
stdexec: update to latest commit
Change-Id: Idddde97ae91922d157bed5cdd99b1fa8e6a678d1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
kasunath (1):
Fix formating issues
Change-Id: Id4c785ef86a8401f60cf52966ad02e7bf16a7b49
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
event: add unistd header
Change-Id: I5c28596a4246f898b40fac8de4294977fbf47326
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
kasunath (4):
Move headers into libbej folder
Update include directories
Rename rde_common to bej_common
Fix missing comma for empty arrays/sets
Change-Id: I00becdd57768f0496e79a1bcf9215a696913a31a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
stdexec: update to latest commit
Change-Id: I318d539624f02054675be6bb9a1b243d46f809f2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tim Lee (1):
pam-ipmi: fix ipmitool user set password failed in 64bit environment
Tom Joseph (1):
Update OWNERS file
Change-Id: I736e47efdf5aa5ca82971558ef124e2f14b5b46d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|