CVS: cvs.openbsd.org: src

2024-04-14 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2024/04/14 11:47:41 Modified files: regress/lib/libc/malloc/malloc_errs: malloc_errs.c Log message: t22 and t23 can fail if the first chunk ends up being allocated at the very end of the page. Circumvent

CVS: cvs.openbsd.org: src

2024-04-11 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2024/04/11 10:31:30 Modified files: sys/ufs/ffs: ffs_extern.h Log message: Fix previous: it should not have removed the "max_softdeps" entry to keep the indexes consistent. ok deraadt@

CVS: cvs.openbsd.org: www

2024-03-31 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2024/03/31 06:44:40 Modified files: . : 75.html Log message: Fix previous typo for real

CVS: cvs.openbsd.org: www

2024-03-31 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2024/03/31 02:09:41 Modified files: . : 75.html Log message: Move malloc entry to userland section, fix typo

CVS: cvs.openbsd.org: src

2023-12-21 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/12/21 01:01:21 Modified files: sbin/dump : dumprmt.c itime.c Log message: Fix a few unchecked allocations; ok millert@ miod@

CVS: cvs.openbsd.org: src

2023-12-20 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/12/20 08:36:36 Modified files: usr.sbin/ntpd : client.c constraint.c control.c ntp.c ntpd.h util.c Log message: introduce log_ntp_addr() and use it where applicable, avoids a

CVS: cvs.openbsd.org: src

2023-12-18 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/12/18 23:59:28 Modified files: lib/libc/stdlib: malloc.c Log message: A small cleanup of malloc_bytes(), getting rid of a goto and a tiny bit of optimization; ok tb@ asou@

CVS: cvs.openbsd.org: src

2023-12-18 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/12/18 06:23:52 Modified files: sbin/dump : main.c Log message: Check if calloc calls succeeded; ok millert@

CVS: cvs.openbsd.org: src

2023-12-06 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/12/06 08:51:53 Modified files: usr.sbin/ntpd : constraint.c ntp.c Log message: Periodically reset constraint DNS info for constraints that failed to reply; ok florian@

CVS: cvs.openbsd.org: src

2023-12-03 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/12/04 00:01:45 Modified files: lib/libc/stdlib: malloc.3 malloc.c Log message: Save backtraces to show in leak dump. Depth of backtrace set by malloc option D (aka 1), 2, 3 or 4. No performance impact

CVS: cvs.openbsd.org: src

2023-11-15 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/11/15 08:52:09 Modified files: usr.sbin/ntpd : ntp.h util.c Log message: Correct denominators when converting NTP fixed point values to double and vice-versa; ok tb@

CVS: cvs.openbsd.org: src

2023-11-12 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/11/12 11:53:22 Modified files: usr.sbin/rdate : ntp.c rdate.8 Log message: Bump NTP era if the offset we receive is small, in a similar manner as ntpd. ok deraadt@

CVS: cvs.openbsd.org: src

2023-10-26 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/10/26 11:59:16 Modified files: lib/libc/stdlib: malloc.c Log message: A few micro-optimizations; ok asou@

CVS: cvs.openbsd.org: www

2023-10-22 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2023/10/22 09:12:02 Modified files: . : want.html Log message: A laptop was arranged via the OpenBSD foundation

CVS: cvs.openbsd.org: src

2023-10-22 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/10/22 06:20:07 Modified files: regress/lib/libc/malloc/malloc_errs: malloc_errs.c Log message: A few more tests

CVS: cvs.openbsd.org: src

2023-10-22 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/10/22 06:19:26 Modified files: lib/libc/stdlib: malloc.3 malloc.c Log message: When option D is active, store callers for all chunks; this avoids the 0x0 call sites for leak reports. Also display more

CVS: cvs.openbsd.org: www

2023-10-19 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2023/10/19 07:58:16 Modified files: . : want.html Log message: I really could use a IBT capable laptop

CVS: cvs.openbsd.org: www

2023-10-11 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2023/10/11 12:07:04 Modified files: . : 74.html Log message: Explain what fine-grained chunk sizes means, add malloc leak detection feature

CVS: cvs.openbsd.org: src

2023-09-27 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/09/27 11:06:42 Modified files: regress/lib/libc/malloc/malloc_threaderr: malloc_threaderr.c Log message: We're not interested in the core dump, so prevent it. Also catch SIGABRT, to avoid the "Abort

CVS: cvs.openbsd.org: www

2023-09-18 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2023/09/18 09:17:32 Modified files: . : events.html Added files: papers : eurobsdcon2023-otto-malloc.pdf Log message: EuroBSDCon 2023 malloc slides

CVS: cvs.openbsd.org: src

2023-07-01 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/07/01 12:35:14 Modified files: lib/libc/stdlib: malloc.3 Log message: Document that small allocations are initially junked with 0xdf now

CVS: cvs.openbsd.org: src

2023-06-30 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/06/30 00:24:58 Modified files: lib/libc/stdlib: malloc.3 malloc.c Log message: Recommit "Allow to ask for deeper callers for leak reports using malloc options" Now only enabled for platforms where

CVS: cvs.openbsd.org: src

2023-06-22 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/06/22 23:26:45 Modified files: lib/libc/stdlib: malloc.3 malloc.c Log message: Revert previous, not all platforms allow compiling __builtin_return_address(a) with a != 0.

CVS: cvs.openbsd.org: src

2023-06-22 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/06/22 05:04:16 Modified files: lib/libc/stdlib: malloc.3 malloc.c Log message: Allow to ask for deeper callers for leak reports using malloc options. ok deraadt@

CVS: cvs.openbsd.org: src

2023-06-04 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/06/04 00:58:33 Modified files: lib/libc/stdlib: malloc.3 malloc.c regress/lib/libc/malloc/malloc_errs: malloc_errs.c Log message: More thorough write-afetr-free checks. On free, chunks (the

CVS: cvs.openbsd.org: src

2023-05-26 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/05/26 22:33:00 Modified files: lib/libc/hidden: stdlib.h lib/libc/stdlib: malloc.c Log message: Remove malloc interposition, a workaround that was once needed for emacs ok guenther@

CVS: cvs.openbsd.org: src

2023-05-10 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/05/10 01:58:06 Modified files: lib/libc/stdlib: malloc.c Log message: As mmap(2) is no longer a LOCK syscall, do away with the extra unlock-lock dance it serves no real purpose any more. Confirmed by a

CVS: cvs.openbsd.org: src

2023-05-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/05/09 13:07:37 Modified files: regress/lib/libc/malloc/malloc_errs: malloc_errs.c regress/lib/libc/malloc/malloc_general: Makefile Log message: Make malloc tests that set flags more robust

CVS: cvs.openbsd.org: src

2023-05-08 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/05/08 05:13:30 Modified files: regress/lib/libc/malloc: Makefile Log message: Enable malloc_errs test

CVS: cvs.openbsd.org: src

2023-05-08 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/05/08 05:12:44 Added files: regress/lib/libc/malloc/malloc_errs: Makefile malloc_errs.c Log message: Add a regress test to test various malloc API and heap mismanagement errors which should cause

CVS: cvs.openbsd.org: src

2023-05-08 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/05/08 03:29:11 src/regress/lib/libc/malloc/malloc_errs Update of /cvs/src/regress/lib/libc/malloc/malloc_errs In directory cvs.openbsd.org:/tmp/cvs-serv13196/malloc_errs Log Message: Directory

CVS: cvs.openbsd.org: src

2023-04-16 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/04/16 13:46:17 Modified files: distrib/special/libstubs: Makefile lib/libc/stdlib: malloc.3 malloc.c Log message: Dump (leak) info using utrace(2) and compile the code always in except for

CVS: cvs.openbsd.org: src

2023-04-16 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/04/16 13:42:40 Modified files: usr.bin/kdump : kdump.1 kdump.c Log message: Add a -u label option to print selected utrace records, used by upcoming malloc (leak) dump fucntion. ok semarie@

CVS: cvs.openbsd.org: www

2023-04-07 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2023/04/07 02:46:03 Modified files: . : 73.html Log message: malloc's main internal data is marked immutable

CVS: cvs.openbsd.org: src

2023-04-05 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/04/05 00:25:38 Modified files: lib/libc/stdlib: malloc.c Log message: Introduce variation in location of junked bytes; ok tb@

CVS: cvs.openbsd.org: src

2023-04-01 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/04/01 12:47:51 Modified files: lib/libc/stdlib: malloc.3 malloc.c Log message: Check all chunks in the delayed free list for write-after-free. Should catch more of them and closer (in time) to the WAF.

CVS: cvs.openbsd.org: src

2023-03-25 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/03/25 13:16:34 Modified files: lib/libc/net : recv.c Log message: Last arg is also a pointer, so pass NULL instead of 0; ok deraadt@

CVS: cvs.openbsd.org: src

2023-03-25 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/03/25 09:22:06 Modified files: lib/libc/stdlib: malloc.c Log message: Change malloc chunk sizes to be fine grained. The basic idea is simple: one of the reasons the recent sshd bug is potentially

CVS: cvs.openbsd.org: src

2023-02-26 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/02/26 23:47:54 Modified files: lib/libc/stdlib: malloc.c Log message: There is no reason to-be-cleared chunks cannot participate in delayed freeing; ok tb@

CVS: cvs.openbsd.org: src

2023-01-29 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/01/29 02:28:57 Modified files: usr.bin/vi/docs/USD.doc/vi.man: vi.1 Log message: Fix ^^D and 0^D description; pointed out by Tomas Rippl; ok jmc@

CVS: cvs.openbsd.org: src

2022-12-27 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/12/27 10:31:09 Modified files: lib/libc/stdlib: malloc.c Log message: Change the way malloc_init() works so that the main data structures can be made immutable to provide extra protection. Also init

CVS: cvs.openbsd.org: src

2022-12-14 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/12/14 08:44:13 Modified files: usr.sbin/acme-client: revokeproc.c Log message: Continue loop if no match found; avoids an OOB write. ok florian@ tb@

CVS: cvs.openbsd.org: src

2022-12-11 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/12/11 03:47:37 Modified files: sbin/dhcpleased: dhcpleased.c Log message: Balance a getifaddrs() with a freeifaddrs(); plugs a leak seen by florian@ and myself. ok florian@

CVS: cvs.openbsd.org: src

2022-12-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/12/09 11:11:24 Modified files: sbin/resolvd : resolvd.c Log message: iovcnt can be zero, writev does not like that and O_CREATE is not needed, we just renamed sucessfully to that file. ok deraadt@

CVS: cvs.openbsd.org: src

2022-11-27 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/11/27 06:19:00 Modified files: usr.sbin/ntpd : constraint.c ntp.c ntpd.h Log message: Once we are synced, we can validate the certificate in the standard way. ok tb@

CVS: cvs.openbsd.org: src

2022-11-06 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/11/06 01:39:30 Modified files: usr.sbin/ntpd : ntpd.8 Log message: Reintroduce snippet describing startup behaviour to where it belongs. ok jmc@

CVS: cvs.openbsd.org: src

2022-08-20 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/08/19 23:59:57 Modified files: sbin/mount_ntfs: mount_ntfs.c Log message: Accept both names and ids for -g and -u and implement missing error handling. Code from mount_msdos (which got it from

CVS: cvs.openbsd.org: src

2022-04-22 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/04/22 12:05:29 Modified files: regress/usr.bin/bc: t19.c Log message: Remove some of the workarounds for the tests by inputing the right numbers (without impliciit conversion from int to long double).

CVS: cvs.openbsd.org: src

2022-04-22 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/04/22 11:37:47 Modified files: regress/usr.bin/bc: t19.c Log message: arm64 has real IEEE quads, it needs more digits when reading the bc results otherwise truncation and loss of precision occurs,

CVS: cvs.openbsd.org: src

2022-03-24 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/03/24 01:37:20 Modified files: usr.sbin/ntpd : client.c ntp.c ntpd.h Log message: Plus a small leak found by jmatthew; ok millert@

CVS: cvs.openbsd.org: src

2022-02-26 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/02/26 09:14:42 Modified files: lib/libc/stdlib: malloc.c Log message: Currently malloc caches a number of free'ed regions up to 128k in size. This cache is indexed by size (in # of pages), so it is

CVS: cvs.openbsd.org: src

2022-02-13 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/02/13 13:02:30 Modified files: lib/libpcap: gencode.c Log message: Handle the case in freechunks where not a single allocation has happened. ok deraadt@

CVS: cvs.openbsd.org: src

2022-01-08 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/01/09 00:18:50 Modified files: regress/lib/libc/malloc/malloc_general: malloc_general.c Log message: Increase the max size of allocations, in prep for a large cache implementation.

CVS: cvs.openbsd.org: src

2022-01-07 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2022/01/07 10:14:42 Modified files: usr.sbin/ntpd : constraint.c Log message: If no date could be parsed, bail out early and fix an error return that leaked; ok florian@

CVS: cvs.openbsd.org: src

2021-12-28 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/12/28 09:29:59 Modified files: sys/arch/amd64/conf: Makefile.amd64 Log message: Now that -A prints -- markers as it is supposed to filter them out when doing the consistency check for locore.o; ok

CVS: cvs.openbsd.org: src

2021-12-28 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/12/28 09:27:53 Modified files: usr.bin/grep : util.c Log message: Fix printing of -- marker when using -A as noted by gnezdo@ ok millert@

CVS: cvs.openbsd.org: src

2021-11-10 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/11/10 13:15:26 Modified files: sbin/disklabel : disklabel.8 Log message: Max size of src also changed. Noted by Mikhail

CVS: cvs.openbsd.org: src

2021-11-10 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/11/10 11:38:51 Modified files: sbin/disklabel : disklabel.8 Log message: Add missing chunk form previous commit

CVS: cvs.openbsd.org: src

2021-11-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/11/09 09:54:06 Modified files: regress/sbin/disklabel: 12000.ok 18000.ok 2.ok 30.ok 4.ok 9.ok 90.ok Log message: Regen

CVS: cvs.openbsd.org: src

2021-11-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/11/09 09:53:18 Modified files: sbin/disklabel : disklabel.8 editor.c Log message: Increase min and max src a bit to accomodate growth and git users >From Mikhail

CVS: cvs.openbsd.org: src

2021-11-05 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/11/05 13:54:08 Modified files: sbin/disklabel : disklabel.8 Log message: Correct auto table entry for /var: it's 4G plus 2x physmem

CVS: cvs.openbsd.org: src

2021-08-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/08/09 13:13:56 Modified files: usr.bin/bc : scan.l Log message: rev 1.25 replaced unsafe code in a sig handler by different but also unsafe code. Mark that with an XXX comment. Spotted bij

CVS: cvs.openbsd.org: src

2021-07-23 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/07/23 12:04:28 Modified files: lib/libc/stdlib: malloc.c Log message: Make MALLOC_STATS compile again; noted by Omar Polo and Joe Nelson

CVS: cvs.openbsd.org: src

2021-06-03 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/06/03 00:42:04 Modified files: sbin/newfs : newfs.8 newfs.c Log message: For 4k sector disks, the minimum frag size is 4k. For a 2G fs that delivers too few inodes to hold a src tree. So adjust

CVS: cvs.openbsd.org: www

2021-05-03 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2021/05/03 10:02:17 Modified files: faq: upgrade69.html Log message: Try to steer people away from the untarring method of upgrading once more. ok kmos@

CVS: cvs.openbsd.org: src

2021-04-19 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/04/19 00:43:16 Modified files: libexec/ld.so : malloc.c Log message: Same internal consistency check as libc malloc: size in hash table should correspond to size of chunk meta data

CVS: cvs.openbsd.org: www

2021-04-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2021/04/09 08:19:40 Modified files: . : 69.html Log message: Mention malloc's cache improvements, and FFS2 had no changes needing it's own section this time.

CVS: cvs.openbsd.org: src

2021-04-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/04/09 00:05:21 Modified files: lib/libc/stdlib: malloc.c Log message: An extra internal consistency check and a missing stats adjustment. ok tb@

CVS: cvs.openbsd.org: src

2021-04-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/04/09 00:04:15 Modified files: lib/libc/stdlib: malloc.3 Log message: Cache implementation has changed, we do not hold on to an exact number of pages anymore, but also cache larger regions; ok tb@

CVS: cvs.openbsd.org: src

2021-04-02 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/04/02 08:20:57 Modified files: regress/lib/libc/regex: tests Log message: Two cases of BRE involving counts and backrefs that go wrong and similar that have no isssues. Reported by Michael Paoli.

CVS: cvs.openbsd.org: src

2021-03-22 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/03/22 09:34:07 Modified files: sbin/dhcpleased: engine.c Log message: Avoid overflow by writing x = (y * 7) / 8 as x = y - (y / 8); ok florian

CVS: cvs.openbsd.org: src

2021-03-16 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/03/16 00:44:14 Modified files: usr.sbin/httpd : server_file.c Log message: A socket buffer is not the best size to read from a disk. Use st_blksize to set high water mark; florian@

CVS: cvs.openbsd.org: src

2021-03-08 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/03/09 00:39:28 Modified files: lib/libc/stdlib: malloc.c Log message: Change the implementation of the malloc cache to keep lists of regions of a given size. In snaps for a while, committing since no

CVS: cvs.openbsd.org: src

2021-02-25 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/02/25 08:20:18 Modified files: lib/libc/stdlib: malloc.3 malloc.c Log message: - Make use of the fact that we know how the chunks are aligned, and write 8 bytes at the time by using a uint64_t pointer.

CVS: cvs.openbsd.org: src

2021-02-20 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/02/20 12:06:38 Modified files: regress/misc/exceptions: Makefile Log message: Enable threads test

CVS: cvs.openbsd.org: src

2021-02-20 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/02/20 12:05:28 Added files: regress/misc/exceptions/threads: Makefile exceptions.cc Log message: A regress test to test concurrent exception handling in threads

CVS: cvs.openbsd.org: src

2021-02-20 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/02/20 12:04:18 src/regress/misc/exceptions/threads Update of /cvs/src/regress/misc/exceptions/threads In directory cvs.openbsd.org:/tmp/cvs-serv31475/threads Log Message: Directory

CVS: cvs.openbsd.org: src

2021-02-20 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/02/20 12:03:28 Modified files: gnu/llvm/libunwind/src: UnwindCursor.hpp Log message: Make the unwind cache tread-safe by declaring it thread_local. Solves segfaults seen on exception handling. ok

CVS: cvs.openbsd.org: src

2021-02-12 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/02/12 05:03:39 Modified files: regress/lib/libc/malloc/malloc_general: Makefile Log message: A few more flag combo's to test

CVS: cvs.openbsd.org: src

2021-02-11 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/02/11 06:40:28 Modified files: sys/kern : kern_fork.c Log message: "proc: table is full" actually means thread table is full; ok mpi@ sthen@

CVS: cvs.openbsd.org: src

2021-01-20 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/01/20 12:44:48 Modified files: lib/libc/sys : mquery.2 Log message: Missing return value; ok jmc@

CVS: cvs.openbsd.org: src

2021-01-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/01/09 02:58:12 Modified files: usr.bin/cmp: regular.c Log message: Move a premature optimization so that -s with offsets works. ok florian@ tb@

CVS: cvs.openbsd.org: src

2021-01-06 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2021/01/06 12:54:17 Modified files: lib/libc/asr : asr.c lib/libc/include: thread_private.h lib/libc/thread: rthread_cb.h rthread_libc.c Log message: Fix two issues related to thread

CVS: cvs.openbsd.org: src

2020-12-26 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/12/26 06:17:33 Modified files: libexec/ld.so : malloc.c Log message: Fix a nasty mem leak in ld.so's own malloc. This was hard to diagnose, since malloc dumping and gdb do not help at all when

CVS: cvs.openbsd.org: src

2020-12-20 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/12/21 00:47:37 Modified files: usr.bin/kdump : ktrstruct.c Log message: Show scope id when set; ok florian@

CVS: cvs.openbsd.org: src

2020-12-20 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/12/20 03:29:50 Modified files: usr.bin/dig/lib/lwres: lwconfig.c Log message: Fix copy-pasto when selecting the addresses read from resolv.conf by address family. ok florian@

CVS: cvs.openbsd.org: src

2020-12-02 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/12/03 00:05:03 Modified files: lib/libpthread/man: pthread_attr_setstack.3 Log message: There are special rules regarding the memory passed to pthread_attr_setstack(). ok semarie@

CVS: cvs.openbsd.org: src

2020-11-23 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/11/23 08:42:12 Modified files: lib/libc/stdlib: malloc.c Log message: mapalign() only handles allocations >= a page; problem found by and ok semarie@

CVS: cvs.openbsd.org: src

2020-11-22 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/11/22 07:06:23 Modified files: sys/dev/pci: if_rgereg.h Log message: Enabling RGE_ISR_RX_DESC_UNAVAIL causes an interrupt storm, so disable until the root cause is found. ok kevlo@ kettenis@

CVS: cvs.openbsd.org: src

2020-11-14 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/11/14 07:06:42 Modified files: usr.bin/pkill : pkill.1 Log message: Simplify wording of the matching rules, with help and ok jmc@

CVS: cvs.openbsd.org: src

2020-10-10 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/10/10 12:03:41 Modified files: sys/sys: tree.h Log message: Returning a void expression is weird; ok kettenis@ daniel@

CVS: cvs.openbsd.org: src

2020-10-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/10/09 10:31:03 Modified files: lib/libc/hidden: dlfcn.h lib/libc/dlfcn : dlfcn_stubs.c Log message: Correct error returns, do not print eror message to stdout (there is a dlerror() function

CVS: cvs.openbsd.org: src

2020-10-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/10/09 10:08:18 Modified files: lib/libc/dlfcn : dlfcn_stubs.c lib/libc/hidden: dlfcn.h Log message: Partly revert previous commit, these changes we not supposed to go in.

CVS: cvs.openbsd.org: src

2020-10-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/10/09 10:01:48 Modified files: lib/libc/dlfcn : dlfcn_stubs.c lib/libc/hidden: dlfcn.h lib/libc/stdlib: malloc.c Log message: As noted by tb@ previous commit only removed an unused

CVS: cvs.openbsd.org: www

2020-10-09 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2020/10/09 09:24:19 Modified files: . : 68.html Log message: make FFS2 it's own section insteads of an installer subsection

CVS: cvs.openbsd.org: src

2020-10-06 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/10/06 00:31:14 Modified files: lib/libc/stdlib: malloc.c Log message: Use random value for canary bytes; ok tb@

CVS: cvs.openbsd.org: www

2020-10-05 Thread Otto Moerbeek
CVSROOT:/cvs Module name:www Changes by: o...@cvs.openbsd.org2020/10/05 13:26:12 Modified files: . : 68.html Log message: More FFS2 work

CVS: cvs.openbsd.org: src

2020-10-02 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/10/02 09:46:00 Modified files: sbin/unwind: frontend.c Log message: Plug leak of 'str': at the end of the strsep() loop it is NULL, so freeing it is a no-op. Leak detected by my experimental malloc

CVS: cvs.openbsd.org: src

2020-10-01 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/10/01 01:58:54 Modified files: sbin/dump : tape.c Log message: Only count the proper node types. Avoid out of-bound access for large filesystems. From FreeBSD. ok millert@

CVS: cvs.openbsd.org: src

2020-09-11 Thread Otto Moerbeek
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2020/09/11 01:09:41 Modified files: usr.sbin/ntpd : client.c ntp.c Log message: If we get messages but they are not ntp replies (e.g. caused by incoming icmp) do not register them as replies. Also, fix a

  1   2   3   4   5   6   7   8   9   10   >