CVS: cvs.openbsd.org: src

2024-09-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/09/10 21:57:14 Modified files: usr.bin/wc : wc.1 wc.c Log message: fstat(2) can't return an S_IFLNK, so delete that test. Also, switch to S_IS*() tests and update the manpage to reflect that

CVS: cvs.openbsd.org: src

2024-08-31 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/31 22:27:45 Modified files: include: dlfcn.h share/man/man3 : dlfcn.3 Log message: dladdr(3) is in POSIX-2024, though the structure type was renamed to match Solaris and _not

CVS: cvs.openbsd.org: src

2024-08-29 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/29 21:44:48 Modified files: lib/libc/stdio : fclose.3 fclose.c fflush.3 fflush.c freopen.c fseek.c ftell.c lib/libc/stdlib: exit.3 Log message: Revert commi

Re: CVS: cvs.openbsd.org: src

2024-08-20 Thread Philip Guenther
Oops, that was ok deraadt@ On Tue, Aug 20, 2024 at 4:41 PM Philip Guenther wrote: > > CVSROOT:/cvs > Module name:src > Changes by: guent...@cvs.openbsd.org2024/08/20 17:40:39 > > Modified files: > bin/csh: sem.c > > Log messa

CVS: cvs.openbsd.org: src

2024-08-20 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/20 17:40:39 Modified files: bin/csh: sem.c Log message: Now that we have dup2(), csh can use it instead of close()+dup(). Also, as used here, dup/dup2 will clear the close-on-exec fla

CVS: cvs.openbsd.org: src

2024-08-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/17 20:25:51 Modified files: lib/libc/include: thread_private.h lib/libc/thread: rthread_cb.h Log message: Use struct __sFILE instead of FILE in thread locking callback declarations t

CVS: cvs.openbsd.org: src

2024-08-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/17 20:22:29 Modified files: lib/libc/locale: rune.h rune_local.h ___runetype_mb.c _wctrans.c rune.c runetable.c wctype.c Log message: Adjust locale/rune*.h files so

CVS: cvs.openbsd.org: src

2024-08-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/17 20:20:29 Modified files: lib/libc/time : localtime.c lib/libc/locale: setlocale.c Log message: Pull in (for snprintf()) directly instead of assuming some local .h will pull it i

CVS: cvs.openbsd.org: src

2024-08-16 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/16 17:09:25 Modified files: gnu/usr.bin/texinfo/info: infomap.h Log message: Cast to unsigned char after or'ing in the meta bit, so the compiler doesn't complain when it's implicitly converte

CVS: cvs.openbsd.org: src

2024-08-16 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/16 16:58:54 Modified files: gnu/usr.bin/texinfo/util: texindex.c Log message: Delete duplicated x{m,re}alloc() declarations and add argument types to a function pointer definition. ok miod@

CVS: cvs.openbsd.org: src

2024-08-16 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/16 16:57:44 Modified files: gnu/usr.bin/texinfo/makeinfo: xml.c Log message: Delete bogus test of array being NULL ok miod@

CVS: cvs.openbsd.org: src

2024-08-16 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/16 16:57:03 Modified files: gnu/usr.bin/texinfo/lib: system.h Log message: strn?casecmp() config bits were incomplete. We have them so just delete the bogus declarations. Also, getopt() is

CVS: cvs.openbsd.org: src

2024-08-16 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/16 16:53:32 Modified files: gnu/usr.bin/texinfo/makeinfo: files.c Log message: Fix precedence lossage reported by clang that results in bad buffer size. ok miod@

CVS: cvs.openbsd.org: src

2024-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/15 00:27:24 Modified files: bin/test : test.c Log message: unifdef for S_I{FLNK,FIFO,FSOCK}. For the operations where we use access() (-r, -w, -x, -e) do them without requiring stat()

CVS: cvs.openbsd.org: src

2024-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/14 19:32:59 Modified files: regress/lib/libc/sys: README Log message: t_recvmmsg and t_sendmmsg were enabled in 2022

CVS: cvs.openbsd.org: src

2024-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/14 19:25:13 Modified files: lib: check_sym Log message: Support describing ABI changes for static libraries too. Try the -S option

CVS: cvs.openbsd.org: src

2024-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/14 18:47:44 Modified files: bin/pax: ftree.c Log message: 'newercnt' no longer does anything that 'refcnt' doesn't; eliminate the former in favor of the latter. ok millert@

CVS: cvs.openbsd.org: src

2024-08-12 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/12 14:56:55 Modified files: include: Makefile lib/libc : Symbols.list shlib_version lib/libc/stdio : Makefile.inc Added files: include: stdio_ex

CVS: cvs.openbsd.org: src

2024-08-12 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/12 14:53:09 Modified files: lib/libc/stdio : fclose.3 fclose.c fflush.3 fflush.c freopen.c fseek.c ftell.c lib/libc/stdlib: exit.3 Log message: Make exit(),

CVS: cvs.openbsd.org: src

2024-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/06 23:15:28 Modified files: include: stdio.h lib/libc/stdio : printf.3 Log message: asprintf() and vasprintf() are in POSIX-2024. Update #include visibility and manpages and

CVS: cvs.openbsd.org: src

2024-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/06 22:59:45 Modified files: include: wchar.h lib/libc/string: wcslcpy.3 Log message: wcslcpy() and wcslcat() are in POSIX-2024. Update #include visibility and manpages and a

CVS: cvs.openbsd.org: src

2024-08-04 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/04 16:28:08 Modified files: sys/sys: poll.h lib/libc/sys : poll.2 Log message: ppoll() is in POSIX-2024. Update #include visibility and manpages and add restrict qualifier

CVS: cvs.openbsd.org: src

2024-08-03 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/03 17:06:56 Modified files: lib/libc/net : htobe64.3 Log message: A dozen interfaces in were standardized in POSIX-2024 as expected

CVS: cvs.openbsd.org: src

2024-08-03 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/03 14:13:23 Modified files: include: string.h lib/libc/string: memmem.3 strlcpy.3 Log message: The improbable occurred: strlcpy(3) and strlcat(3) are in POSIX-2024. memmem(3)

CVS: cvs.openbsd.org: src

2024-08-03 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/03 14:09:24 Modified files: include: stdlib.h lib/libc/stdlib: malloc.3 Log message: mkostemp(3) and reallocarray(3) are in POSIX-2024: adjust #include visibility and update

CVS: cvs.openbsd.org: src

2024-08-02 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/02 16:24:51 Modified files: sys/arch/amd64/amd64: locore.S Log message: Code patch out the retpoline in the signal trampoline just like the others. Nudged, test, and ok deraadt@

CVS: cvs.openbsd.org: src

2024-08-02 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/02 16:14:54 Modified files: include: unistd.h lib/libc/sys : setresuid.2 Log message: The {get,set}res[ug]id(2) family are in POSIX-2024's XSI option, so adjust the #includ

CVS: cvs.openbsd.org: src

2024-08-01 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/08/01 19:53:21 Modified files: include: unistd.h sys/sys: syslimits.h lib/libc/sys : getentropy.2 sys/dev: rnd.c Log message: getentropy(2) i

CVS: cvs.openbsd.org: src

2024-07-29 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/07/29 23:57:31 Modified files: sys/sys: cdefs.h Log message: Recognize the features defines for POSIX 1003.1-2024, giving new values for __POSIX_VISIBLE and __XPG_VISIBLE. ok millert@

CVS: cvs.openbsd.org: src

2024-07-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/07/26 20:10:26 Modified files: sys/sys: ktrace.h Log message: Sort and regularize all the ktrstruct() macros ok deraadt@

CVS: cvs.openbsd.org: src

2024-07-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/07/26 13:16:31 Modified files: sys/sys: ktrace.h sys/kern : kern_time.c usr.bin/kdump : ktrstruct.c Log message: Trace struct itimerval ok deraadt@ claudio@

CVS: cvs.openbsd.org: src

2024-06-12 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/06/12 20:19:20 Modified files: sys/arch/amd64/amd64: cacheinfo.c Log message: Wrong variable used in indexing meant that when a CPU's cache setup differed on the second or later cache, the gener

CVS: cvs.openbsd.org: src

2024-05-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/05/17 23:21:38 Modified files: bin/pax: ar_subs.c Log message: When comparing mtimes for the -u and -Z options and the target is 'too old', use pathconfat(_PC_TIMESTAMP_RESOLUTION, AT_SY

CVS: cvs.openbsd.org: src

2024-05-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/05/17 23:21:02 Modified files: sys/kern : init_sysent.c syscalls.c sys/sys: syscall.h syscallargs.h Log message: Regen

CVS: cvs.openbsd.org: src

2024-05-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/05/17 23:20:22 Modified files: include: unistd.h sys/kern : syscalls.master vfs_syscalls.c kern_pledge.c lib/libc/sys : Makefile.inc pathconf.2 lib/libc/

CVS: cvs.openbsd.org: src

2024-05-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/05/13 19:46:24 Modified files: sys/arch/amd64/include: cpufunc.h Log message: Delete the declaration of cpu_feature which has been unused since rev 1.17 (2017-5-27) when tlbflushg() stopped usin

CVS: cvs.openbsd.org: src

2024-05-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/05/13 19:42:08 Modified files: sys/arch/amd64/amd64: autoconf.c cpu.c identcpu.c Log message: Instead of enabling use of PCLMUL and AESNI iff cpu0 supports them via two global variables, make cp

CVS: cvs.openbsd.org: src

2024-05-12 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/05/12 10:49:38 Modified files: sys/arch/amd64/amd64: locore0.S identcpu.c cpu.c sys/arch/amd64/include: cpu.h Log message: Delete the cpu_perf_e[abd]x and cpu_apmi_edx globals and move

CVS: cvs.openbsd.org: src

2024-05-11 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/05/11 13:21:47 Modified files: sys/arch/amd64/amd64: identcpu.c sys/arch/amd64/include: specialreg.h Log message: Use %b to format cpu flag info in dmesg, so we have the raw values too.

CVS: cvs.openbsd.org: src

2024-05-08 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/05/08 12:00:55 Modified files: sys/arch/amd64/amd64: cacheinfo.c Log message: Suppress cache-info dmesg lines when they are identical to the previous cpu. testing on hybrid box by jmatthew@ sug

CVS: cvs.openbsd.org: src

2024-05-03 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/05/03 18:27:42 Modified files: sys/dev/pci/drm/include/asm: cpufeature.h Log message: amd64 is guaranteed to have PAT and CLFLUSH; stop testing cpu flags for them on that arch. ok jsg@

CVS: cvs.openbsd.org: src

2024-04-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/04/14 12:11:54 Modified files: usr.bin/less : ch.c command.c edit.c filename.c funcs.h less.1 less.h less.hlp main.c opttbl.c Log message: Delete support for the LESS

CVS: cvs.openbsd.org: src

2024-04-02 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/04/02 20:01:21 Modified files: sys/arch/amd64/amd64: cacheinfo.c cpu.c identcpu.c lapic.c machdep.c mtrr.c pctr.c tsc.c ucode.c sys/arch/amd64/include: cpu.

CVS: cvs.openbsd.org: src

2024-03-31 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/03/31 23:11:49 Modified files: sys/arch/amd64/amd64: vmm_machdep.c vmm_support.S sys/arch/amd64/include: vmmvar.h Log message: Delete 108 lines of ASM from vmx_enter_guest() that predat

CVS: cvs.openbsd.org: src

2024-03-25 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/03/25 11:57:07 Modified files: lib/libc/sys : link.2 sys/kern : vfs_syscalls.c sys/nfs: nfs_serv.c nfs_vnops.c sys/miscfs/fuse: fuse_vnops.c sys

CVS: cvs.openbsd.org: src

2024-03-23 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/03/23 10:30:01 Modified files: lib/libc/gen : opendir.3 lib/libskey: skeylogin.c Log message: readdir_r(3) was never necessary and has been deprecated by POSIX. Document that in t

CVS: cvs.openbsd.org: src

2024-03-16 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/03/16 23:49:41 Modified files: sys/arch/amd64/amd64: cpu.c identcpu.c locore.S vmm_support.S sys/arch/amd64/include: specialreg.h Log message: Use VERW to mitigate the RFDS (Register Fi

CVS: cvs.openbsd.org: src

2024-03-11 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/03/11 20:31:15 Modified files: sys/arch/amd64/amd64: vmm_machdep.c Log message: Correct handling of cpuid(0xd) subleaves, carefully hiding bits and sizes that the host does not intend to expose,

CVS: cvs.openbsd.org: src

2024-02-29 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/02/29 09:10:52 Modified files: sys/arch/amd64/amd64: vmm_machdep.c Log message: Intel vmm restores just the base of the GDTR and IDTR ith fixed, high limits, beyond what we actually expect. We

CVS: cvs.openbsd.org: src

2024-02-25 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/02/25 15:33:09 Modified files: sys/arch/amd64/amd64: acpi_wakecode.S cpu.c locore.S machdep.c vmm_machdep.c vmm_support.S sys/arch/amd64/include: segments.h

CVS: cvs.openbsd.org: src

2024-02-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/02/17 22:42:50 Modified files: sys/arch/amd64/amd64: cpu.c Log message: Don't call cpu_ucode_apply() and cpu_tsx_disable() from cpu_attach()'s CPU_ROLE_SP case: for cpu0 they are called earlier,

CVS: cvs.openbsd.org: src

2024-02-11 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/02/11 18:18:18 Modified files: sys/arch/amd64/amd64: cpu.c genassym.cf locore.S vector.S vmm_machdep.c sys/arch/amd64/include: codepatch.h cpu.h Log messa

CVS: cvs.openbsd.org: src

2024-02-04 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/02/04 13:18:48 Modified files: sys/arch/amd64/amd64: codepatch.c Log message: Tweak codepatch_control_flow(): * it should be in .cptext so it gets unmapped when codepatching is done * when doing

CVS: cvs.openbsd.org: src

2024-01-30 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/01/30 23:06:28 Modified files: sys/arch/amd64/amd64: trap.c sys/arch/amd64/include: frame.h gnu/usr.bin/binutils/gdb: amd64obsd-tdep.c Log message: Swap the r10 and rcx registe

CVS: cvs.openbsd.org: src

2024-01-30 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/01/30 22:49:33 Modified files: sys/arch/amd64/amd64: vmm_machdep.c sys/arch/amd64/include: cpufunc.h Log message: Make wrpkru() consistent with rdpkru() by passing ecx as an argument.

CVS: cvs.openbsd.org: src

2024-01-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/01/14 23:57:07 Modified files: gnu/usr.bin/binutils-2.17/include/opcode: i386.h Log message: >From "Lorenz (xha)" (me(at)xha.li): teach binutils how to assemble endbr{64,32} "sure" dv@ deraadt@

CVS: cvs.openbsd.org: src

2024-01-08 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2024/01/08 20:16:00 Modified files: sys/ufs/ufs: dir.h ufs_dirhash.c ufs_lookup.c ufs_vnops.c sys/ufs/ffs: ffs_inode.c ffs_vfsops.c ffs_vnops.c sys/ufs/ext2fs : ext2fs_dir.h

CVS: cvs.openbsd.org: src

2023-09-04 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/09/04 23:08:27 Modified files: sys/uvm: uvm_fault.c Log message: Address the case 2b version of inconsistent view across threads of a page undergoing copy-on-write faulting. We fixed th

CVS: cvs.openbsd.org: src

2023-08-20 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/20 19:35:43 Modified files: sys/arch/powerpc64/include: cpu.h sys/arch/powerpc64/powerpc64: locore.S Log message: cpu_idle_{enter,leave}() are no-ops in ASM; replace them with no-op

CVS: cvs.openbsd.org: src

2023-08-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/18 22:21:06 Modified files: bin/pax: tar.c usr.bin/make : timestamp.h usr.sbin/makefs: walk.c Log message: Copy entire st_*tim structs at once, rather than copying

CVS: cvs.openbsd.org: src

2023-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/15 00:26:34 Modified files: libexec/ld.so : dlfcn.c loader.c resolve.h util.h Log message: Improve handling of dlopen(RTLD_TRACE) aka ldd, of a library that is already loaded: * add a 'trace

CVS: cvs.openbsd.org: src

2023-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/15 00:23:31 Modified files: libexec/ld.so : library.c library_mquery.c Log message: Skip the _dl_msyscall() invocation if tracing library loading. Problem noted by gnezdo@ ok millert@

CVS: cvs.openbsd.org: src

2023-08-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/10 23:07:28 Modified files: usr.sbin/mtree : compare.c create.c mtree.h spec.c Log message: Stop down-converting to a timeval when comparing and setting times. Replace use of the old BSD st_*

CVS: cvs.openbsd.org: src

2023-08-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/10 23:02:21 Modified files: usr.bin/rcs: co.c rcsclean.c rcsprog.c rcsutil.c rcsutil.h Log message: Switch rcs_{get,set}_mtime() from returning and taking a time_t to doing so with a stru

CVS: cvs.openbsd.org: src

2023-08-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/10 22:51:36 Modified files: usr.sbin/makefs/msdos: direntry.h msdosfs_conv.c msdosfs_vnops.c Log message: msdosfs_times() doesn't need to copy timespecs onto the stack: just mark unix2dostime

CVS: cvs.openbsd.org: src

2023-08-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/10 22:48:14 Modified files: usr.bin/cvs: file.c Log message: cvs_file_copy() used futimes(), but only set the tv_sec fields, which presumably meant passing stack garbage in the tv_usec an

CVS: cvs.openbsd.org: src

2023-08-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/10 22:45:06 Modified files: usr.bin/chpass : edit.c usr.bin/compress: main.c usr.bin/find : function.c usr.bin/mg : fileio.c usr.sbin/vipw : vipw.c

CVS: cvs.openbsd.org: src

2023-08-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/10 22:44:28 Modified files: usr.bin/rcs: ci.c Log message: When used by itself, replace use of the old BSD st_mtimespec.tv_sec member in struct stat with for-all-time st_mtime member. ok

CVS: cvs.openbsd.org: src

2023-08-07 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/07 22:45:44 Modified files: bin/ls : cmp.c usr.sbin/makefs: ffs.c Log message: Replace use of the old BSD st_*timensec members in struct stat with the POSIX-standard st_*tim.

CVS: cvs.openbsd.org: src

2023-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/07 00:21:53 Modified files: usr.sbin/pppd/chat: chat.8 Log message: In 2016, chat changed its syslog output for hidden strings. Sync the manpage to match. markup advice jmc@

CVS: cvs.openbsd.org: src

2023-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/06 13:36:13 Modified files: usr.bin/stat : stat.c Log message: Prefer the POSIX standard st_*tim struct timespec members over the older BSD st_*timespec names. ok millert@

CVS: cvs.openbsd.org: src

2023-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/06 13:33:54 Modified files: usr.bin/stat : stat.c Log message: Apply rev 1.29 from NetBSD: - Don't printf time_t with %d; fixes PR 44128 from yamt. With this change it successfully prin

CVS: cvs.openbsd.org: src

2023-08-04 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/04 23:46:36 Modified files: sys/arch/mips64/include: cpu.h sys/arch/mips64/mips64: context.S Log message: cpu_idle_{enter,leave} are no-ops on mips64, so just #define away the calls

CVS: cvs.openbsd.org: src

2023-08-04 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/08/04 23:45:52 Modified files: sys/arch/riscv64/include: cpu.h sys/arch/riscv64/riscv64: machdep.c Log message: cpu_idle_{enter,leave} are no-ops on riscv64, so just #define away the ca

CVS: cvs.openbsd.org: src

2023-07-30 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/30 22:01:07 Modified files: sys/arch/amd64/amd64: cpu.c locore.S vector.S sys/arch/amd64/conf: Makefile.amd64 sys/arch/amd64/include: codepatch.h Log message: On CPUs with e

CVS: cvs.openbsd.org: src

2023-07-30 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/30 19:33:57 Modified files: sys/arch/amd64/amd64: codepatch.c sys/arch/amd64/include: codepatch.h Log message: The replacement code passed to codepatch_replace() can usefully be cons

CVS: cvs.openbsd.org: src

2023-07-27 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/28 00:36:16 Modified files: sys/arch/amd64/amd64: cpu.c Log message: Include a newline in a DPRINTF()

CVS: cvs.openbsd.org: src

2023-07-27 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/28 00:18:36 Modified files: sys/arch/amd64/include: codepatch.h sys/arch/amd64/amd64: locore.S copy.S Log message: Add CODEPATCH_CODE() macro to simplify defining a symbol for a chun

CVS: cvs.openbsd.org: src

2023-07-27 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/27 10:33:56 Modified files: sys/arch/amd64/include: specialreg.h Log message: Fix off-by-one: SEFF0ECX_WAITPKG is bit 5, not bit 4. ok mlarkin@ kettenis@ deraadt@

CVS: cvs.openbsd.org: src

2023-07-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/26 19:51:35 Modified files: sys/arch/amd64/include: specialreg.h sys/arch/amd64/amd64: identcpu.c Log message: Report speculation control bits in dmesg cpu lines. ok mlarkin@

CVS: cvs.openbsd.org: src

2023-07-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/26 18:30:07 Modified files: sys/arch/amd64/include: frameasm.h sys/arch/amd64/amd64: spl.S vector.S Log message: The interrupt resume (Xdoreti) and recurse (Xspllower) paths are invo

CVS: cvs.openbsd.org: src

2023-07-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/26 18:28:25 Modified files: sys/arch/amd64/include: cpu.h sys/arch/amd64/amd64: locore.S machdep.c Log message: Follow the lead of mips64 and make cpu_idle_cycle() just call the indi

CVS: cvs.openbsd.org: src

2023-07-24 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/25 00:48:37 Modified files: sys/arch/amd64/include: cpu.h sys/arch/amd64/amd64: locore.S Log message: cpu_idle_{enter,leave} are no-ops on amd64 now, so just #define away the calls

CVS: cvs.openbsd.org: src

2023-07-20 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/20 22:04:52 Modified files: sys/arch/amd64/amd64: cpu.c identcpu.c locore0.S sys/arch/amd64/include: specialreg.h sys/arch/i386/i386: cpu.c locore0.S sys/arch/i386/in

CVS: cvs.openbsd.org: src

2023-07-09 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/09 21:32:10 Modified files: sys/arch/amd64/amd64: cpu.c locore.S machdep.c vmm_machdep.c sys/arch/amd64/include: codepatch.h fpu.h specialreg.h Log message: Enable Indirect Branch Tr

CVS: cvs.openbsd.org: src

2023-07-09 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/09 21:31:58 Modified files: sys/kern : kern_exec.c sys/sys: proc.h Log message: Add PS_NOBTCFI, a per-process flag indicating that Branch Target Control Flow Integrity

CVS: cvs.openbsd.org: src

2023-07-05 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/05 12:45:14 Modified files: bin/pax: pax.c usr.sbin/amd/amd: amd.c xutil.c Log message: It isn't portable to use stderr (or std{in,out}) in file-scope initializers as they ar

CVS: cvs.openbsd.org: src

2023-07-02 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/07/03 00:45:44 Modified files: share/man/man9 : malloc.9 sys/sys: malloc.h Log message: Bring malloc(9) and into sync for M_* entries, such that the former's text comes from th

CVS: cvs.openbsd.org: src

2023-06-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/06/26 13:03:03 Modified files: regress/sys/kern/xonly: xonly.c Log message: On amd64, test whether PKU has been enabled and set our expectation of the results based on that. Also, the system no

CVS: cvs.openbsd.org: src

2023-05-29 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/29 20:02:00 Modified files: gnu/llvm/lld/ELF/Arch: X86_64.cpp Log message: Add IBT support to the retpoline+znow PLTs ok kettenis@

CVS: cvs.openbsd.org: src

2023-05-21 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/21 18:39:57 Modified files: sys/arch/amd64/amd64: fpu.c sys/arch/amd64/include: fpu.h Log message: The fp_ex_[st]w struct savefpu members were inherited from NetBSD where they're use

CVS: cvs.openbsd.org: src

2023-05-21 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/21 18:37:19 Modified files: sys/lib/libkern/arch/amd64: memmove.S Log message: NENTRY() doesn't provide an endbr64, so give memmove one in case it ever gets called through a function pointer

CVS: cvs.openbsd.org: src

2023-05-19 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/19 12:43:16 Modified files: share/man/man9 : uvm_init.9 Log message: uvm_coredump(9) was removed in 2015 (commitid dNPv28CJI5BxtRGW) as real processes have been dumped using uvm_coredump_walk

CVS: cvs.openbsd.org: src

2023-05-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/18 19:12:23 Modified files: lib/libc/sys : pledge.2 sys/kern : kern_pledge.c Log message: Since waitid(2) shares code with wait4(2) and doesn't expose any non-trivial new inf

CVS: cvs.openbsd.org: src

2023-05-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/18 19:04:39 Modified files: sys/netinet: tcp.h Log message: Move tcp_info structure to be under '#if __BSD_VISIBLE' to repair compliance with POSIX/SUS restrictions on ok bluhm@ ports t

CVS: cvs.openbsd.org: src

2023-05-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/18 10:33:39 Modified files: libexec/ld.so/amd64: ldasm.S Log message: If you disable retpolineplt then _dl_bind_start is called with an indirect branch, so include an endbr64 Just In Case. o

CVS: cvs.openbsd.org: src

2023-05-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/18 10:14:05 Modified files: lib/libc/arch/amd64/string: memmove.S Log message: memmove() entry point is declared with NENTRY() and isn't consecutive with an ENTRY(), so it needs its own endbr

CVS: cvs.openbsd.org: src

2023-05-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/18 10:11:10 Modified files: lib/libc/compat-43: getwd.c lib/libc/gen : getcwd.c lib/libc/hidden: stdlib.h unistd.h lib/libc/hidden/sys: stat.h lib/libc/std

CVS: cvs.openbsd.org: src

2023-05-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/18 10:07:12 Added files: lib/libc/hidden/sys: ktrace.h Log message: Add PROTO_NORMAL() declarations for utrace (and ktrace) syscalls so that the internal call can't be interposed over by the

CVS: cvs.openbsd.org: src

2023-05-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2023/05/17 22:26:06 Modified files: lib/libc/arch/amd64/sys: Ovfork.S Log message: Make two corrections to the vfork(2) stub: * with IBT, it can't return via an indirect jump as that would require th

  1   2   3   4   5   6   7   8   9   10   >