]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
2 years agodoveadm: Add doveadm_mail_server_handle_full()
Timo Sirainen [Tue, 12 Mar 2024 13:43:53 +0000 (15:43 +0200)] 
doveadm: Add doveadm_mail_server_handle_full()

This allows changing the proxied mail command's command or parameters.

2 years agopush-notification: fix typo 'module' to '-module'
orbea [Wed, 6 Mar 2024 02:15:58 +0000 (18:15 -0800)] 
push-notification: fix typo 'module' to '-module'

There is a typo in the Makefile.am where it has 'module` instead of '-module' which causes a build failure with slibtool.

  ld: cannot find module: No such file or directory

With GNU libtool the typo is silently ignored.

2 years ago*-login: Fix error code for "Maximum number of connections from user+IP exceeded"
Timo Sirainen [Mon, 11 Mar 2024 12:30:00 +0000 (14:30 +0200)] 
*-login: Fix error code for "Maximum number of connections from user+IP exceeded"

IMAP now reports it as [LIMIT] rather than [UNAVAILABLE].

This change also causes proxy_session_finished event's error_code to
change: [UNAVAILABLE] maps to proxy_dest_auth_temp_failed, while [LIMIT]
maps to proxy_dest_auth_failed.

2 years agologin-common: proxy_session_finished event - Don't add error_code for successful...
Timo Sirainen [Mon, 11 Mar 2024 12:19:57 +0000 (14:19 +0200)] 
login-common: proxy_session_finished event - Don't add error_code for successful sessions

If the proxy's login to backend succeeded, it was already successful
regardless of what happens afterwards.

2 years agoauth: Use connection API with auth_master_connection
Aki Tuomi [Wed, 14 Feb 2024 11:32:16 +0000 (13:32 +0200)] 
auth: Use connection API with auth_master_connection

2 years agoauth: Splice off handshaking to auth_master_handshake_args()
Aki Tuomi [Wed, 14 Feb 2024 12:30:23 +0000 (14:30 +0200)] 
auth: Splice off handshaking to auth_master_handshake_args()

2 years agoauth: Change return type to int for auth master input handling
Aki Tuomi [Wed, 14 Feb 2024 11:09:06 +0000 (13:09 +0200)] 
auth: Change return type to int for auth master input handling

2 years agoauth: Refactor auth master input handling functions
Aki Tuomi [Wed, 14 Feb 2024 10:58:32 +0000 (12:58 +0200)] 
auth: Refactor auth master input handling functions

2 years agoauth: Rename list to args in auth-master-connection
Aki Tuomi [Wed, 14 Feb 2024 11:03:37 +0000 (13:03 +0200)] 
auth: Rename list to args in auth-master-connection

2 years agoauth: Constify iovec in auth_master_request_callback()
Aki Tuomi [Wed, 14 Feb 2024 10:50:20 +0000 (12:50 +0200)] 
auth: Constify iovec in auth_master_request_callback()

2 years agoauth: Use connection structures with auth_master_connection
Aki Tuomi [Wed, 14 Feb 2024 10:48:43 +0000 (12:48 +0200)] 
auth: Use connection structures with auth_master_connection

Prepares for connection usage

2 years agoauth: Reformat src/auth/auth-master-connection.c
Aki Tuomi [Wed, 14 Feb 2024 10:37:20 +0000 (12:37 +0200)] 
auth: Reformat src/auth/auth-master-connection.c

clang-format and touchups.

2 years agoauth: Add auth-master-connection test
Aki Tuomi [Fri, 16 Feb 2024 12:36:00 +0000 (14:36 +0200)] 
auth: Add auth-master-connection test

2 years agoauth: Add auth-client-connection test
Aki Tuomi [Fri, 16 Feb 2024 12:35:45 +0000 (14:35 +0200)] 
auth: Add auth-client-connection test

2 years agolib-auth-client: Add AUTH_MASTER_FLAG_NO_INNER_IOLOOP for testing
Aki Tuomi [Fri, 16 Feb 2024 12:33:48 +0000 (14:33 +0200)] 
lib-auth-client: Add AUTH_MASTER_FLAG_NO_INNER_IOLOOP for testing

2 years agoauth: test-mech - Remove unneeded code
Aki Tuomi [Tue, 27 Feb 2024 06:45:52 +0000 (08:45 +0200)] 
auth: test-mech - Remove unneeded code

2 years agoauth: Extract test_auth_init() and test_auth_deinit()
Aki Tuomi [Fri, 16 Feb 2024 11:44:12 +0000 (13:44 +0200)] 
auth: Extract test_auth_init() and test_auth_deinit()

2 years agolib: connection - Record connect_finished for server connections too
Aki Tuomi [Tue, 27 Feb 2024 08:50:45 +0000 (10:50 +0200)] 
lib: connection - Record connect_finished for server connections too

2 years agolib: connection - Remove unused boolean handshake_received
Aki Tuomi [Wed, 28 Feb 2024 11:50:31 +0000 (13:50 +0200)] 
lib: connection - Remove unused boolean handshake_received

2 years agoglobal: Use connection_set_handshake_ready() and connection_handshake_received()
Aki Tuomi [Wed, 28 Feb 2024 11:35:51 +0000 (13:35 +0200)] 
global: Use connection_set_handshake_ready() and connection_handshake_received()

2 years agolib: connection - Add connection_handshake_received()
Aki Tuomi [Wed, 28 Feb 2024 11:30:35 +0000 (13:30 +0200)] 
lib: connection - Add connection_handshake_received()

2 years agolib: connection - Add connection_set_handshake_ready()
Aki Tuomi [Wed, 28 Feb 2024 11:27:39 +0000 (13:27 +0200)] 
lib: connection - Add connection_set_handshake_ready()

2 years agolib: connection - Record handshake finished time
Aki Tuomi [Tue, 27 Feb 2024 07:26:07 +0000 (09:26 +0200)] 
lib: connection - Record handshake finished time

2 years agolib: connection - Indicate if peer credentials have been gotten
Aki Tuomi [Wed, 28 Feb 2024 11:15:50 +0000 (13:15 +0200)] 
lib: connection - Indicate if peer credentials have been gotten

2 years agolib: connection - Record remote_gid too
Aki Tuomi [Wed, 14 Feb 2024 12:57:15 +0000 (14:57 +0200)] 
lib: connection - Record remote_gid too

2 years agolib: connection - Clear timestamps on init
Aki Tuomi [Wed, 28 Feb 2024 11:49:05 +0000 (13:49 +0200)] 
lib: connection - Clear timestamps on init

2 years agolib: connection - Document connection members
Aki Tuomi [Wed, 28 Feb 2024 11:46:38 +0000 (13:46 +0200)] 
lib: connection - Document connection members

2 years agolib-imap-urlauth: imap-urlauth-fetch - Fix comparing out of scope pointer
Timo Sirainen [Tue, 27 Feb 2024 18:51:27 +0000 (20:51 +0200)] 
lib-imap-urlauth: imap-urlauth-fetch - Fix comparing out of scope pointer

Practically this wouldn't matter, but Coverity still complains.

Broken by bf8165cea2450c854da39710715983e5ed44b480

2 years agolib-http: http_client_init_shared() - Remove unnecessary event==NULL check
Timo Sirainen [Tue, 27 Feb 2024 13:17:01 +0000 (15:17 +0200)] 
lib-http: http_client_init_shared() - Remove unnecessary event==NULL check

The event is always created by http_client_context_create().

2 years agolib-imap-urlauth: imap-urlauth-fetch - Fix potential NULL dereference
Stephan Bosch [Sun, 25 Feb 2024 01:09:40 +0000 (02:09 +0100)] 
lib-imap-urlauth: imap-urlauth-fetch - Fix potential NULL dereference

Found by Coverity.

2 years agolib-imap-urlauth: Reformat imap-urlauth-fetch.c
Stephan Bosch [Tue, 27 Feb 2024 12:42:10 +0000 (13:42 +0100)] 
lib-imap-urlauth: Reformat imap-urlauth-fetch.c

2 years agolib: test-event-filter - Add missing event_filter_parse() return value checks
Timo Sirainen [Sun, 25 Feb 2024 19:38:28 +0000 (21:38 +0200)] 
lib: test-event-filter - Add missing event_filter_parse() return value checks

2 years agolib-master: Don't log "Killed with signal" warning if kicked via USER-KICK-SIGNAL
Timo Sirainen [Wed, 21 Feb 2024 21:09:41 +0000 (23:09 +0200)] 
lib-master: Don't log "Killed with signal" warning if kicked via USER-KICK-SIGNAL

2 years agoimap, pop3, submission: Log MASTER_SERVICE_USER_KICKED_MSG for kicks via USER-KICK...
Timo Sirainen [Wed, 21 Feb 2024 21:07:39 +0000 (23:07 +0200)] 
imap, pop3, submission: Log MASTER_SERVICE_USER_KICKED_MSG for kicks via USER-KICK-SIGNAL

2 years agolib-master: Add master_service_is_user_kicked()
Timo Sirainen [Wed, 21 Feb 2024 21:04:00 +0000 (23:04 +0200)] 
lib-master: Add master_service_is_user_kicked()

2 years agolib-master, global: Add and use MASTER_SERVICE_USER_KICKED_MSG
Timo Sirainen [Wed, 21 Feb 2024 20:57:06 +0000 (22:57 +0200)] 
lib-master, global: Add and use MASTER_SERVICE_USER_KICKED_MSG

Use it only for log messages, not for user-visible messages.

2 years agosubmission: client_destroy() - Decouple reply reason from log reason
Timo Sirainen [Wed, 21 Feb 2024 21:23:26 +0000 (23:23 +0200)] 
submission: client_destroy() - Decouple reply reason from log reason

2 years agolib-smtp: Add smtp_server_connection_terminate_full()
Timo Sirainen [Wed, 21 Feb 2024 21:21:11 +0000 (23:21 +0200)] 
lib-smtp: Add smtp_server_connection_terminate_full()

2 years agolmtp, login-common: Use MASTER_SERVICE_SHUTTING_DOWN_MSG
Timo Sirainen [Wed, 21 Feb 2024 21:20:08 +0000 (23:20 +0200)] 
lmtp, login-common: Use MASTER_SERVICE_SHUTTING_DOWN_MSG

For consistency.

2 years agolib: Replace LFs in log prefixes with spaces
Timo Sirainen [Sat, 24 Feb 2024 22:32:54 +0000 (00:32 +0200)] 
lib: Replace LFs in log prefixes with spaces

2 years agolib: Fix syslog writing if log prefix contains LF
Timo Sirainen [Sat, 24 Feb 2024 22:49:30 +0000 (00:49 +0200)] 
lib: Fix syslog writing if log prefix contains LF

2 years agolib: Remove unused failure_handler_vfuncs.post_handler()
Timo Sirainen [Sat, 24 Feb 2024 22:20:08 +0000 (00:20 +0200)] 
lib: Remove unused failure_handler_vfuncs.post_handler()

2 years agolib: Fix CORE_ERROR to work with all log types
Timo Sirainen [Sat, 24 Feb 2024 22:17:51 +0000 (00:17 +0200)] 
lib: Fix CORE_ERROR to work with all log types

It only worked when logging to a file, which practically made it nonworking.

2 years agolib: Merge failure_handler_vfuncs.format() into .write()
Timo Sirainen [Sat, 24 Feb 2024 22:10:07 +0000 (00:10 +0200)] 
lib: Merge failure_handler_vfuncs.format() into .write()

2 years agolib: failures - Rename str variables to data
Timo Sirainen [Sat, 24 Feb 2024 16:49:27 +0000 (18:49 +0200)] 
lib: failures - Rename str variables to data

This simplifies the following commit.

2 years agolib: test-event-log - Use temporary file for testing log file contents
Timo Sirainen [Sat, 24 Feb 2024 22:08:30 +0000 (00:08 +0200)] 
lib: test-event-log - Use temporary file for testing log file contents

This allows removal of failure_handler_vfuncs.format() in the following
commit.

2 years agolib-lua: Add unit test for dovecot.http
Stephan Bosch [Sat, 25 Nov 2023 16:08:56 +0000 (17:08 +0100)] 
lib-lua: Add unit test for dovecot.http

2 years agolib-lua: dlua-dovecot-http - Default to script event if script provides no event...
Stephan Bosch [Sat, 25 Nov 2023 16:06:37 +0000 (17:06 +0100)] 
lib-lua: dlua-dovecot-http - Default to script event if script provides no event for HTTP client

2 years agolib-lua: dlua-dovecot-http - Allow setting dns_client_socket_path from script
Stephan Bosch [Sat, 25 Nov 2023 16:05:48 +0000 (17:05 +0100)] 
lib-lua: dlua-dovecot-http - Allow setting dns_client_socket_path from script

2 years agolib-http: http-client-request - Add "http-client" category to any event set for request
Stephan Bosch [Sat, 25 Nov 2023 16:01:54 +0000 (17:01 +0100)] 
lib-http: http-client-request - Add "http-client" category to any event set for request

2 years agolib-http: http-client-connection - Fix detection of erroneous early response after...
Stephan Bosch [Sat, 25 Nov 2023 16:07:48 +0000 (17:07 +0100)] 
lib-http: http-client-connection - Fix detection of erroneous early response after 100 Continue

2 years agolib: If log line contains LFs, add log prefix before each line
Timo Sirainen [Wed, 21 Feb 2024 09:31:34 +0000 (11:31 +0200)] 
lib: If log line contains LFs, add log prefix before each line

2 years agolib-sql: sqlite - Add query to error strings
Timo Sirainen [Wed, 21 Feb 2024 08:10:24 +0000 (10:10 +0200)] 
lib-sql: sqlite - Add query to error strings

2 years agolib-imap-storage: Fix Content-Transfer-Encoding in converted BODYPARTSTRUCTURE
Stephan Bosch [Mon, 8 May 2023 23:04:53 +0000 (01:04 +0200)] 
lib-imap-storage: Fix Content-Transfer-Encoding in converted BODYPARTSTRUCTURE

If the part was converted, it should be "binary" rather than "base64".

2 years agolib-storage: mail - Group binary part properties into a struct for mail_get_binary_st...
Stephan Bosch [Mon, 8 May 2023 23:04:45 +0000 (01:04 +0200)] 
lib-storage: mail - Group binary part properties into a struct for mail_get_binary_stream().

This makes several additional properties available from
mail_get_binary_stream(). This also changes mail_get_binary_size() into
mail_get_binary_properties().

2 years agoimap: URLFETCH - Fix returning both BODYPARTSTRUCTURE and BODY/BINARY
Timo Sirainen [Tue, 30 Mar 2021 11:44:09 +0000 (14:44 +0300)] 
imap: URLFETCH - Fix returning both BODYPARTSTRUCTURE and BODY/BINARY

It should return (BODYPARTSTRUCTURE ...) (BINARY ...),
not (BODYPARTSTRUCTURE ... BINARY ...)

2 years agolib-imap-urlauth: Always call callback with a non-NULL reply
Timo Sirainen [Tue, 30 Mar 2021 11:32:21 +0000 (14:32 +0300)] 
lib-imap-urlauth: Always call callback with a non-NULL reply

Even with internal errors the error message is in the reply.

2 years agolib-storage: Remove extra period from "Unknown Content-Transfer-Encoding." error
Timo Sirainen [Tue, 30 Mar 2021 11:35:16 +0000 (14:35 +0300)] 
lib-storage: Remove extra period from "Unknown Content-Transfer-Encoding." error

The period is often added by the callers, so errors ended up having two
periods at the end.

2 years agolib-mail: message-part - Add message_parts_have_nuls() and message_part_has_nuls().
Stephan Bosch [Mon, 8 May 2023 22:23:41 +0000 (00:23 +0200)] 
lib-mail: message-part - Add message_parts_have_nuls() and message_part_has_nuls().

Drop equivalent static function in lib-storage/index/index-mail.c.

2 years agomail-crypt: Mark ChaCha20-Poly1305 as AEAD cipher
Aki Tuomi [Tue, 13 Feb 2024 08:02:16 +0000 (10:02 +0200)] 
mail-crypt: Mark ChaCha20-Poly1305 as AEAD cipher

2 years agolib-dcrypt: Support ChaCha20-Poly1305 with OpenSSL3
Aki Tuomi [Tue, 13 Feb 2024 07:58:04 +0000 (09:58 +0200)] 
lib-dcrypt: Support ChaCha20-Poly1305 with OpenSSL3

2 years agolib-smtp: Ensure chunk is not NULL in smtp_server_connection_data_chunk_add()
Aki Tuomi [Wed, 14 Feb 2024 08:25:13 +0000 (10:25 +0200)] 
lib-smtp: Ensure chunk is not NULL in smtp_server_connection_data_chunk_add()

2 years agolib-dict-backend: dict-ldap - Ensure username is not null on priv lookups
Aki Tuomi [Wed, 14 Feb 2024 08:12:10 +0000 (10:12 +0200)] 
lib-dict-backend: dict-ldap - Ensure username is not null on priv lookups

2 years agolib-dcrypt: test-crypto - Refactor X25519 and X448 test to do same tests
Aki Tuomi [Wed, 14 Feb 2024 07:38:46 +0000 (09:38 +0200)] 
lib-dcrypt: test-crypto - Refactor X25519 and X448 test to do same tests

2 years agolib-dcrypt: test-crypto - Add missing test_asserts to test_x25519_keypair
Aki Tuomi [Wed, 14 Feb 2024 07:31:39 +0000 (09:31 +0200)] 
lib-dcrypt: test-crypto - Add missing test_asserts to test_x25519_keypair

2 years agolib: test-connection - Ensure net_set_send_buffer_size() works
Aki Tuomi [Wed, 14 Feb 2024 07:28:16 +0000 (09:28 +0200)] 
lib: test-connection - Ensure net_set_send_buffer_size() works

2 years agoauth: Do not return disconnected connections from auth_client_connection_lookup()
Aki Tuomi [Wed, 14 Feb 2024 10:27:47 +0000 (12:27 +0200)] 
auth: Do not return disconnected connections from auth_client_connection_lookup()

Previously, auth client connections were removed from list of
connections on disconnection. Connection list code removes the
connections on deinit, when it's bit too late.

Auth master connection looks up connections by PID, and will find this
connection now despite it being already disconnected.

2 years agoauth: Constify io vector in auth_client_send()
Aki Tuomi [Fri, 9 Feb 2024 07:42:38 +0000 (09:42 +0200)] 
auth: Constify io vector in auth_client_send()

2 years agoauth: Use connection.c for auth_client_connection
Aki Tuomi [Fri, 26 Jan 2024 09:05:57 +0000 (11:05 +0200)] 
auth: Use connection.c for auth_client_connection

2 years agoauth: Splice off handshaking to auth_client_handshake_args()
Aki Tuomi [Fri, 2 Feb 2024 12:30:30 +0000 (14:30 +0200)] 
auth: Splice off handshaking to auth_client_handshake_args()

Error messages are now consistent with the ones in connection.c

2 years agoauth: Refactor auth client input handling functions
Aki Tuomi [Fri, 26 Jan 2024 09:51:16 +0000 (11:51 +0200)] 
auth: Refactor auth client input handling functions

Simplifies next change

2 years agoauth: Move auth_client_connection_create()
Aki Tuomi [Thu, 8 Feb 2024 10:50:53 +0000 (12:50 +0200)] 
auth: Move auth_client_connection_create()

Simplifies next commit.

2 years agoauth: Refactor auth_request_handler_(begin|continue)
Aki Tuomi [Mon, 5 Feb 2024 11:47:14 +0000 (13:47 +0200)] 
auth: Refactor auth_request_handler_(begin|continue)

Simplifies next change

2 years agoauth: Change auth_client_connection return values to int
Aki Tuomi [Mon, 5 Feb 2024 11:38:18 +0000 (13:38 +0200)] 
auth: Change auth_client_connection return values to int

Simplifies following commit

2 years agoauth: Pass connection name to auth_client_connection_create()
Aki Tuomi [Fri, 26 Jan 2024 08:25:20 +0000 (10:25 +0200)] 
auth: Pass connection name to auth_client_connection_create()

2 years agoauth: auth-client-connection - Use connection.c structure
Aki Tuomi [Fri, 26 Jan 2024 08:15:12 +0000 (10:15 +0200)] 
auth: auth-client-connection - Use connection.c structure

2 years agolib: connection - Add output throttle support
Aki Tuomi [Wed, 7 Feb 2024 13:25:02 +0000 (15:25 +0200)] 
lib: connection - Add output throttle support

2 years agolib: Add o_stream_get_flush_callback()
Aki Tuomi [Thu, 8 Feb 2024 10:31:18 +0000 (12:31 +0200)] 
lib: Add o_stream_get_flush_callback()

Allows getting the current flush callback.

2 years agoauth: Reformat src/auth/auth-client-connection.c
Aki Tuomi [Mon, 5 Feb 2024 12:29:27 +0000 (14:29 +0200)] 
auth: Reformat src/auth/auth-client-connection.c

2 years agoauth: Log an error if auth-policy response is missing "status" field
Timo Sirainen [Thu, 8 Feb 2024 23:58:24 +0000 (01:58 +0200)] 
auth: Log an error if auth-policy response is missing "status" field

2 years agoauth: auth-policy - Write booleans as real booleans
Aki Tuomi [Fri, 9 Feb 2024 11:03:34 +0000 (13:03 +0200)] 
auth: auth-policy - Write booleans as real booleans

Broken in a953dbf8cce1285a27b321eb28ad83f55c083d4f

2 years agolib-imap-client: Simplify error logging on immediate connect() failures
Aki Tuomi [Fri, 2 Feb 2024 09:17:51 +0000 (11:17 +0200)] 
lib-imap-client: Simplify error logging on immediate connect() failures

This worked inconsistently compared to delayed connect() failures.

2 years agolib-http: Disable "early success" unit test in FreeBSD
Aki Tuomi [Thu, 1 Feb 2024 13:39:55 +0000 (15:39 +0200)] 
lib-http: Disable "early success" unit test in FreeBSD

2 years agoimap-hibernate: Only build if supported by os
Aki Tuomi [Mon, 22 Jan 2024 08:52:50 +0000 (10:52 +0200)] 
imap-hibernate: Only build if supported by os

IMAP hibernate needs to pass notifys across
processes, which does not work with kqueue.

2 years agolib: test-ostream-multiplex - Fix test to pass with different pipe() buffer size
Timo Sirainen [Mon, 8 Jan 2024 15:14:07 +0000 (10:14 -0500)] 
lib: test-ostream-multiplex - Fix test to pass with different pipe() buffer size

Using 256 bytes caused the first channel to be fully flushed in FreeBSD.
Use a slightly different buffer size to make sure something is always
buffered.

2 years agolib: test-ostream-multiplex - Clarify the assert/comment
Timo Sirainen [Mon, 8 Jan 2024 15:13:16 +0000 (10:13 -0500)] 
lib: test-ostream-multiplex - Clarify the assert/comment

2 years agolib: ioloop-kqueue - Fix memory leak when ioloop stops before all IO callbacks are...
Timo Sirainen [Mon, 8 Jan 2024 14:25:33 +0000 (09:25 -0500)] 
lib: ioloop-kqueue - Fix memory leak when ioloop stops before all IO callbacks are called

Broken by 720a6e0e67c3f04dcfee4c80b34f0291c7217cfa

2 years agolib: ioloop - Support recreating kqueue
Aki Tuomi [Tue, 2 Jan 2024 18:55:24 +0000 (20:55 +0200)] 
lib: ioloop - Support recreating kqueue

This is needed when forking because kqueue gets
invalidated by fork()

2 years agolib-dns: test-dns-lookup - Use EAI_FAIL as error code
Aki Tuomi [Fri, 22 Dec 2023 12:07:21 +0000 (14:07 +0200)] 
lib-dns: test-dns-lookup - Use EAI_FAIL as error code

This is more portable.

2 years agolib: test-lib - Use lo0 instead of lo in FreeBSD
Aki Tuomi [Fri, 22 Dec 2023 12:06:26 +0000 (14:06 +0200)] 
lib: test-lib - Use lo0 instead of lo in FreeBSD

2 years agoplugins: fts-flatcurve - Use XAPIAN_CFLAGS with cc
Aki Tuomi [Fri, 22 Dec 2023 12:05:05 +0000 (14:05 +0200)] 
plugins: fts-flatcurve - Use XAPIAN_CFLAGS with cc

2 years agolib: net - Fix gai error handling
Aki Tuomi [Fri, 22 Dec 2023 12:04:32 +0000 (14:04 +0200)] 
lib: net - Fix gai error handling

gai errors are non-zero, not only negative.

2 years agom4: want_lua - Use latest lua without hardcoded list
Aki Tuomi [Fri, 22 Dec 2023 12:04:14 +0000 (14:04 +0200)] 
m4: want_lua - Use latest lua without hardcoded list

2 years agoauth: Rename %{pid} to %{client_pid} for clarity
Aki Tuomi [Mon, 29 Jan 2024 10:49:05 +0000 (12:49 +0200)] 
auth: Rename %{pid} to %{client_pid} for clarity

2 years agolib-storage: Remove %{uid}, %{gid}
Aki Tuomi [Tue, 23 Jan 2024 06:12:50 +0000 (08:12 +0200)] 
lib-storage: Remove %{uid}, %{gid}

Should use %{process:uid} and %{process:gid}
in future.

2 years agolib-storage: Remove unused %{pid}
Aki Tuomi [Mon, 15 Jan 2024 07:32:14 +0000 (09:32 +0200)] 
lib-storage: Remove unused %{pid}

Should use %{process:pid} in future

2 years agologin-common: Remove %{pid}
Aki Tuomi [Wed, 31 Jan 2024 12:17:14 +0000 (14:17 +0200)] 
login-common: Remove %{pid}

2 years agolib, global: var-expand - Move pid, uid and gid to process: key
Aki Tuomi [Wed, 22 Nov 2023 10:33:31 +0000 (12:33 +0200)] 
lib, global: var-expand - Move pid, uid and gid to process: key

Introduces process: key which can be used to find out
things about the current process.

2 years agolib: var-expand - Move hostname to system: key
Aki Tuomi [Wed, 22 Nov 2023 10:25:57 +0000 (12:25 +0200)] 
lib: var-expand - Move hostname to system: key

2 years agolib: var-expand - Add system key
Aki Tuomi [Wed, 22 Nov 2023 09:15:41 +0000 (11:15 +0200)] 
lib: var-expand - Add system key

Allows accessing system information. Currently supports only

 - cpu_count - Number of available CPUs