gutteridge
41918f4298
utmpx.h: fix comment missed in r. 1.10 _NETBSD_SOURCE changes
2021-08-15 00:36:11 +00:00
mrg
91dde05bbf
note some things i've done lately:
...
- efiboot / libsa gained bi-endian / raidframe
- evbarm boot -d
- GCC and GMP updates
2021-08-14 23:56:32 +00:00
ryo
83be98dfd8
fix rumpkernel build failure
2021-08-14 21:17:11 +00:00
andvar
53f067a3a8
fix typo in CRK_ALGORITHM_MIN definition to match CRK_ALGORITHM_MAX one.
...
while here fix few typos in comments.
2021-08-14 20:43:05 +00:00
ryo
567a3a02e7
Improved the performance of kernel profiling on MULTIPROCESSOR, and possible to get profiling data for each CPU.
...
In the current implementation, locks are acquired at the entrance of the mcount
internal function, so the higher the number of cores, the more lock conflict
occurs, making profiling performance in a MULTIPROCESSOR environment unusable
and slow. Profiling buffers has been changed to be reserved for each CPU,
improving profiling performance in MP by several to several dozen times.
- Eliminated cpu_simple_lock in mcount internal function, using per-CPU buffers.
- Add ci_gmon member to struct cpu_info of each MP arch.
- Add kern.profiling.percpu node in sysctl tree.
- Add new -c <cpuid> option to kgmon(8) to specify the cpuid, like openbsd.
For compatibility, if the -c option is not specified, the entire system can be
operated as before, and the -p option will get the total profiling data for
all CPUs.
2021-08-14 17:51:18 +00:00
ryo
1979ff4ae2
don't include "opt_multiprocessor.h" inside an ifdef to work "make depend" properly.
2021-08-14 17:38:44 +00:00
christos
077013d943
One more ldap change
2021-08-14 17:08:21 +00:00
christos
f19701a6b8
new OpenLDAP
2021-08-14 16:20:31 +00:00
christos
c6390902f2
bump ldap libraries
2021-08-14 16:18:32 +00:00
christos
f5a3e1b022
Adjust for new OpenLDAP
...
- use centralized library variables
- ldap_connect -> ldap_xconnect
2021-08-14 16:17:57 +00:00
christos
7377d9de8f
Centralize the ldap libraries
2021-08-14 16:16:32 +00:00
christos
476be171ab
Put back gssapi.c
2021-08-14 16:15:46 +00:00
christos
549b59ed3c
Merge openldap-2.5.6.
2021-08-14 16:14:49 +00:00
christos
e670fd5c41
Import OpenLDAP 2.5.6:
...
OpenLDAP 2.5.6 Release (2021/07/27)
Fixed libldap buffer overflow (ITS#9578)
Fixed libldap missing mutex unlock on connection alloc failure (ITS#9590)
Fixed lloadd cn=config olcBkLloadClientMaxPending setting (ITS#8747)
Fixed slapd multiple config defaults (ITS#9363)
Fixed slapd ipv6 addresses to work with tcp wrappers (ITS#9603)
Fixed slapo-syncprov delete of nonexistent sessionlog (ITS#9608)
Build
Fixed library symbol versioning on Solaris (ITS#9591)
Fixed compile warning in libldap/tpool.c (ITS#9601)
Fixed compile wraning in libldap/tls_o.c (ITS#9602)
Contrib
Fixed ppm module for sysconfdir (ITS#7832)
Documentation
Updated guide to document multival, idlexp, and maxentrysize (ITS#9613, ITS#9614)
OpenLDAP 2.5.5 Release (2021/06/03)
Added libldap LDAP_OPT_TCP_USER_TIMEOUT support (ITS#9502)
Added lloadd tcp-user-timeout support (ITS#9502)
Added slapd-asyncmeta tcp-user-timeout support (ITS#9502)
Added slapd-ldap tcp-user-timeout support (ITS#9502)
Added slapd-meta tcp-user-timeout support (ITS#9502)
Fixed incorrect control OIDs for AuthZ Identity (ITS#9542)
Fixed libldap typo in util-int.c (ITS#9541)
Fixed libldap double free of LDAP_OPT_DEFBASE (ITS#9530)
Fixed libldap better TLS1.3 cipher suite handling (ITS#9521, ITS#9546)
Fixed lloadd multiple issues (ITS#8747)
Fixed slapd slap_op_time to avoid duplicates across restarts (ITS#9537)
Fixed slapd typo in daemon.c (ITS#9541)
Fixed slapd slapi compilation (ITS#9544)
Fixed slapd to handle empty DN in extended filters (ITS#9551)
Fixed slapd syncrepl searches with empty base (ITS#6467)
Fixed slapd syncrepl refresh on startup (ITS#9324, ITS#9534)
Fixed slapd abort due to typo (ITS#9561)
Fixed slapd-asyncmeta quarantine handling (ITS#8721)
Fixed slapd-asyncmeta to have a default operations timeout (ITS#9555)
Fixed slapd-ldap quarantine handling (ITS#8721)
Fixed slapd-mdb deletion of context entry (ITS#9531)
Fixed slapd-mdb off-by-one affecting search scope (ITS#9557)
Fixed slapd-meta quarantine handling (ITS#8721)
Fixed slapo-accesslog to record reqNewDN for modRDN ops (ITS#9552)
Fixed slapo-pcache locking during expiration (ITS#9529)
Build
Fixed slappw-argon2 module installation (ITS#9548)
Contrib
Update ldapc++/ldaptcl to use configure.ac (ITS#9554)
Documentation
ldap_first_attribute(3) - Document ldap_get_attribute_ber (ITS#8820)
ldap_modify(3) - Delete non-existent mod_next parameter (ITS#9559)
OpenLDAP 2.5.4 Release (2021/04/29)
Initial release for "general use".
OpenLDAP 2.4.59 Release (2021/06/03)
Fixed libldap TLSv1.3 cipher suites with OpenSSL 1.1.1 (ITS#9521)
Fixed libldap double free of LDAP_OPT_DEFBASE (ITS#9530)
Fixed slapd syncrepl handling of add+delete on single value attr (ITS#9295)
Fixed slapd-mdb cursor init check (ITS#9526)
Fixed slapd-mdb deletion of context entry (ITS#9531)
Fixed slapd-mdb off-by-one affecting search scope (ITS#9557)
Fixed slapo-pcache locking during expiration (ITS#9529)
Contrib
Fixed slapo-autogroup to not thrash thread context (ITS#9494)
Documentation
ldap_modify(3) - Delete non-existent mod_next parameter (ITS#9559)
OpenLDAP 2.4.58 Release (2021/03/16)
Fixed slapd validity checks for issuerAndThisUpdateCheck (ITS#9454)
Fixed slapd to alloc new conn struct after freeing old one (ITS#9458)
Fixed slapd syncrepl to check all contextCSNs (ITS#9282)
Fixed slapd-bdb lockdetect config (ITS#9449)
OpenLDAP 2.4.57 Release (2021/01/18)
Fixed ldapexop to use correct return code (ITS#9417)
Fixed slapd to remove asserts in UUIDNormalize (ITS#9391)
Fixed slapd to remove assert in csnValidate (ITS#9410)
Fixed slapd validity checks for issuerAndThisUpdateCheck (ITS#9411, ITS#9427)
Fixed slapd validity checks for serialNumberAndIssuerCheck (ITS#9404, ITS#9424)
Fixed slapd AVA sort with invalid RDN (ITS#9412)
Fixed slapd ldap_X509dn2bv to check for invalid BER after RDN count (ITS#9423, ITS#9425)
Fixed slapd saslauthz to remove asserts in validation (ITS#9406, ITS#9407)
Fixed slapd saslauthz to use slap_sl_free on normalized DN (ITS#9409)
Fixed slapd saslauthz SEGV in slap_parse_user (ITS#9413)
Fixed slapd modrdn memory leak (ITS#9420)
Fixed slapd double-free in vrfilter (ITS#9408)
Fixed slapd cancel operation to correctly terminate (ITS#9428)
Fixed slapd-ldap fix binds on retry with closed connection (ITS#9400)
Fixed slapo-syncprov to ignore duplicate sessionlog entries (ITS#9394)
OpenLDAP 2.4.56 Release (2020/11/10)
Fixed slapd to remove assert in certificateListValidate (ITS#9383)
Fixed slapd to remove assert in csnNormalize23 (ITS#9384)
Fixed slapd to better parse ldapi listener URIs (ITS#9379)
OpenLDAP 2.4.55 Release (2020/10/26)
Fixed slapd normalization handling with modrdn (ITS#9370)
Fixed slapd-meta to check ldap_install_tls return code (ITS#9366)
Contrib
Fixed nssov misplaced semicolon (ITS#8731, ITS#9368)
OpenLDAP 2.4.54 Release (2020/10/12)
Fixed slapd delta-syncrepl to ignore delete ops on deleted entry (ITS#9342)
Fixed slapd delta-syncrepl to be fully serialized (ITS#9330)
Fixed slapd delta-syncrepl MOD on zero-length context entry (ITS#9352)
Fixed slapd syncrepl to be fully serialized (ITS#8102)
Fixed slapd syncrepl to call check_syncprov on fresh consumer (ITS#9345)
Fixed slapd syncrepl to propagate errors from overlay_entry_get_ov (ITS#9355)
Fixed slapd syncrepl to not create empty ADD ops (ITS#9359)
Fixed slapd syncrepl replace usage on single valued attrs (ITS#9295)
Fixed slapd-monitor fix monitor_back_register_database for empty suffix DB (ITS#9353)
Fixed slapo-accesslog normalizer for reqStart (ITS#9358)
Fixed slapo-accesslog to not generate new contextCSN on purge (ITS#9361)
Fixed slapo-syncprov contextCSN generation with empty suffix (ITS#9015)
Fixed slapo-syncprov sessionlog to use a TAVL tree (ITS#8486)
OpenLDAP 2.4.53 Release (2020/09/07)
Added slapd syncrepl additional SYNC logging (ITS#9043)
Fixed slapd syncrepl segfault on NULL cookie on REFRESH (ITS#9282)
Fixed slapd syncrepl to use fresh connection on REFRESH fallback (ITS#9338)
Fixed slapo-ppolicy race condition for pwdFailureTime (ITS#9302,ITS#9334)
Build
Require OpenSSL 1.0.2 or later (ITS#9323)
Fixed libldap compilation issue with broken C compilers (ITS#9332)
OpenLDAP 2.4.52 Release (2020/08/28)
Added libldap LDAP_OPT_X_TLS_REQUIRE_SAN option (ITS#9318)
Added libldap OpenSSL support for multiple EECDH curves (ITS#9054)
Added slapd OpenSSL support for multiple EECDH curves (ITS#9054)
Fixed librewrite malloc/free corruption (ITS#9249)
Fixed libldap hang when using UDP and server down (ITS#9328)
Fixed slapd syncrepl rare deadlock due to network issues (ITS#9324)
Fixed slapd syncrepl regression that could trigger an assert (ITS#9329)
Fixed slapd-mdb index error with collapsed range (ITS#9135)
OpenLDAP 2.4.51 Release (2020/08/11)
Added slapo-ppolicy implement Netscape password policy controls (ITS#9279)
Fixed libldap retry loop in ldap_int_tls_connect (ITS#8650)
Fixed libldap to use getaddrinfo in ldap_pvt_get_fqdn (ITS#9287)
Fixed slapd to enforce singular existence of some overlays (ITS#9309)
Fixed slapd syncrepl to not delete non-replicated attrs (ITS#9227)
Fixed slapd syncrepl to correctly delete entries on resync (ITS#9282)
Fixed slapd syncrepl to use replace on single valued attrs (ITS#9294, ITS#9295)
Fixed slapd-perl dynamic config with threaded slapd (ITS#7573)
Fixed slapo-ppolicy to expose the ppolicy control (ITS#9285)
Fixed slapo-ppolicy race condition for pwdFailureTime (ITS#9302)
Fixed slapo-ppolicy so it can only exist once per DB (ITS#9309)
Fixed slapo-chain to check referral (ITS#9262)
Build Environment
Fix test064 so it no longer uses bashisms (ITS#9263)
Contrib
Fix default prefix value for pw-argon2, pw-pbkdf2 modules (ITS#9248)
slapo-allowed - Fix usage of uninitialized variable (ITS#9308)
Documentation
ldap_parse_result(3) - Document ldap_parse_intermediate (ITS#9271)
2021-08-14 16:05:09 +00:00
rillig
b9821b17e5
make: add ARGSUSED for lint
2021-08-14 14:43:30 +00:00
rillig
e9a30eaa0d
tests/lint: add tests for messages 8, 9 and 10
2021-08-14 14:25:51 +00:00
rillig
fae32f15bd
make: fix spelling of CVS and RCS in error message
2021-08-14 13:39:43 +00:00
rillig
2132b21cec
make: rename ParseMark to be more expressive
...
No functional change.
2021-08-14 13:37:55 +00:00
rillig
4aa3b66958
make: rename variable and function for handling parse errors
...
The word 'fatals' was an unnecessary abbreviation.
No functional change.
2021-08-14 13:32:12 +00:00
rillig
a570e9fbf6
make: extract RanlibOODate into separate function
...
No functional change.
2021-08-14 13:26:07 +00:00
rillig
df1a266604
make: remove workaround for initialization bug in lint
...
The bug has been fixed in init.c 1.208 from 2021-08-14.
2021-08-14 13:11:33 +00:00
rillig
1642998508
make: fix lint warning about strchr removing 'const'
...
No functional change.
2021-08-14 13:04:00 +00:00
rillig
3e3b661313
lint: use standard quoting style for messages 124 and 184
2021-08-14 13:00:55 +00:00
rillig
c8a8302d88
lint: allow initialization of struct with constant member
...
The operator INIT, just like RETURN and FARG, initializes an object with
an expression. The target object of such an initialization may be a
struct with constant members.
The operator ASSIGN, on the other hand, is entirely different. It
overwrites the existing value of the object, and this is not allowed for
structs that have a constant member. Therefore it was wrong to use the
operator ASSIGN for initialization.
2021-08-14 12:46:23 +00:00
andvar
35bc95c886
s/fame/frame in mvxpe_mib_def with assumption that it was not intentional typo.
2021-08-13 21:04:44 +00:00
andvar
ebbc7028d3
fix typos in words "pointer" and s/fram /frame/
2021-08-13 20:47:54 +00:00
andvar
c74fd0bbf0
s/struture/structure/ s/structre/structure/
2021-08-13 20:26:07 +00:00
andvar
e5f5b589ee
fix multiple typos in comments.
2021-08-13 20:19:45 +00:00
andvar
6e3ee785e2
s/bacause/because/
2021-08-13 20:19:13 +00:00
skrll
77e75c280a
Trailing whitespace
2021-08-13 11:40:43 +00:00
andvar
fbe76588ee
fix typos in "environment" word.
2021-08-12 20:53:18 +00:00
andvar
d4eac28cae
s/directry/directory/
2021-08-12 20:25:26 +00:00
andvar
15af89acaa
s/iterrupt sever/interrupt server/
2021-08-12 20:13:54 +00:00
andvar
38ad5e0e87
fix various typos in comments.
2021-08-12 19:53:18 +00:00
andvar
6601a363d8
s/beween/between/
2021-08-12 19:15:15 +00:00
martin
395ca384d5
add directory for debug data for mkdep tests
2021-08-12 15:06:39 +00:00
martin
dcbf5445d1
h_findcc.debug is not obsolete
2021-08-12 13:27:42 +00:00
martin
e7d4773f7a
oops, fix h_findcc entry
2021-08-12 12:51:25 +00:00
martin
462143732b
Add new mkdep test helper h_findcc
2021-08-12 11:57:07 +00:00
martin
80f935560b
Add directory for new mkdep test binaries
2021-08-12 11:50:42 +00:00
martin
38248942cf
PR 56354: all actions to set up swap space are not guaranteed to gain
...
us enough virtual memory anyway, so drop return codes from set_swap*.
The state for cleanup (which swap dev to unuse) has been made global
some time ago anyway.
Previously use of the return values was inconsistent. Error reporting
will only confuse users and sometimes the situation is hard to fix or
even impossible (like in miniroots copide to swap space for booting).
2021-08-12 09:33:59 +00:00
maya
2c7aea0851
Fix glamor - don't use stub functions
...
${LDADD.gbm} seems to be empty - use -lgbm directly (couldn't find a better
fix)
2021-08-11 23:02:39 +00:00
rillig
27aee6b2ec
mkdep: document possible undefined behavior
...
If findcc is called with a constant string, as its prototype suggests,
the process crashes with a segmentation fault. Luckily, neither mkdep
nor lint do that, but the function prototype is nevertheless confusing.
2021-08-11 20:48:16 +00:00
rillig
e91fe367ea
tests/mkdep: test findcc
...
This function is used by both mkdep and lint.
2021-08-11 20:42:26 +00:00
christos
fd6562d6eb
PR/56355: Brad Harder: dtrace triggers double-fault in supervisor mode
2021-08-11 11:16:49 +00:00
christos
5aee859e4d
cast from strchr fixed.
2021-08-11 09:12:07 +00:00
christos
6463100770
use const for strchr assignment.
2021-08-11 09:11:04 +00:00
rillig
83b020ca16
lint: add reminder to sort the output of lint2
2021-08-11 05:37:45 +00:00
rillig
80321d1c1f
libpam: clean up LINTFLAGS
...
Warning 346 is new, the other suppressions are not needed anymore.
2021-08-11 05:23:05 +00:00
rillig
b28f961044
lint: allow GCC __attribute__ after array brackets
...
GCC accepts this, so should lint. Seen in pam_lastlog.c:115.
2021-08-11 05:19:32 +00:00