Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: 6cb09e4c98ee8d38b6ca80454df17f1af5167001
https://github.com/ngircd/ngircd/commit/6cb09e4c98ee8d38b6ca80454df17f1af51…
Author: Alexander Barton <alex(a)barton.de>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M src/ngircd/conn.c
Log Message:
-----------
Explicitely cast NumConnections etc. (size_t) to "long"
This fixes the following compiler warning, for example on OpenSolaris:
conn.c: In function 'Conn_Handler':
conn.c:798:28: warning: format '%ld' expects argument of type 'long int',
but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
To unsubscribe from these emails, change your notification settings at https://github.com/ngircd/ngircd/settings/notifications
Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: 90fb3cf0a2b980acc1958bff315838a50fa4ccbe
https://github.com/ngircd/ngircd/commit/90fb3cf0a2b980acc1958bff315838a50fa…
Author: Alexander Barton <alex(a)barton.de>
Date: 2024-04-13 (Sat, 13 Apr 2024)
Changed paths:
M src/ngircd/ngircd.c
Log Message:
-----------
Don't abort startup when setgid/setuid() fails with EINVAL
Both setgid(2) as well as setuid(2) can fail with EINVAL in addition to
EPERM, their manual pages state "EINVAL: The user/group ID specified in
uid/gid is not valid in this user namespace ".
So not only treat EPERM as an "acceptable error" and continue with
logging the error, but do the same for EINVAL.
This was triggered by the Void Linux xbps-uunshare(1) tool used for
building "XBPS source packages" and reported by luca in #ngircd. Thanks!
To unsubscribe from these emails, change your notification settings at https://github.com/ngircd/ngircd/settings/notifications