CVS: cvs.openbsd.org: src

2016-08-22 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/23 00:00:28 Modified files: bin/pax: Makefile ar_io.c extern.h file_subs.c options.c pax.c Log message: Instead of doing strcmp(argv0), track the invocation

CVS: cvs.openbsd.org: src

2016-08-22 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/22 21:31:44 Modified files: bin/pax: file_subs.c Log message: Only try to set the times on a directory once, at the end, to avoid duplication of warning messages ok krw@

CVS: cvs.openbsd.org: src

2016-08-22 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/22 21:28:01 Modified files: sys/arch/sparc64/dev: pyro.c ebus.c ebus_mainbus.c psycho.c schizo.c sys/arch/sparc64/sparc64: db_interface.c sys/de

CVS: cvs.openbsd.org: src

2016-08-15 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/15 22:14:34 Modified files: share/man/man5 : core.5 Log message: Rewrite: ALL HAIL ELF Mention the KERN_NOSUIDCOREDUMP sysctl(3) ok deraadt@

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 22:28:31 Modified files: usr.bin/passwd : local_passwd.c Log message: Trust the login_getcaptime() declaration and don't cast the arguments to their own expected type

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 21:09:02 Modified files: libexec/ld.so/sh: Makefile.inc Log message: Drop -z nocombreloc. It was a rev 1.1 commit like on arm, so not clear why it was needed then; perhaps fixed by the bu

CVS: cvs.openbsd.org: www

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:www Changes by: guent...@cvs.openbsd.org2016/08/14 17:23:51 Modified files: faq: current.html Log message: Note removal of the qdiv(3) and qabs(3) manpages

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 17:18:03 Modified files: lib/libc/hidden: stdlib.h lib/libc/stdlib: Makefile.inc div.3 imaxdiv.3 labs.3 ldiv.3 llabs.c lldiv.3 lldiv.c Removed files:

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 17:08:09 Modified files: regress/lib/libutil/fmt_scaled: fmt_test.c Log message: Convert quad_t to long long

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 17:01:13 Modified files: regress/sys/arch/sparc64/emul-popc/reg: reg.c Log message: Convert %q to %ll

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 16:57:31 Modified files: libexec/ftpd : logutmp.c Log message: When upcasting to off_t for multiplication, the cast needs to be *before* the multiplication to avoid truncation/overflow

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 16:56:29 Modified files: libexec/ftpd : ftpcmd.y ftpd.c Log message: Convert %q to %ll with long long casts for printf() Delete pointless casts to off_t, void*, and uid_t ok krw@

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 16:54:56 Modified files: sbin/sysctl: sysctl.c Log message: Use int64_t and %ll for CTLTYPE_QUAD nodes. Use memcpy() instead of up-casting from char* to long long* ok krw@

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 16:47:26 Modified files: usr.bin/vmstat : vmstat.c usr.sbin/pstat : pstat.c Log message: Convert %q to %ll and cast opaque system values to long long. Use uint64_t for the KERN_IN

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 16:35:54 Modified files: sbin/fsirand : fsirand.c Log message: Convert %q to %ll. Cast off_t to long long for printf-style args. Eliminate pointless casts to void* or off_t ok krw@

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 15:47:16 Modified files: usr.bin/vi/common: search.c Log message: Kill '#if defined(DEBUG) && 0' blocks that used %q ok bentley@ on principle

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 13:46:31 Modified files: bin/csh: func.c Log message: Don't reinvent rlim_t; when printing it use %llu and cast to unsigned long long ok natano@ tedu@

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 13:45:24 Modified files: bin/csh: misc.c Log message: Don't call sysconf() in a loop conditional when the loop won't affect it ok natano@ tedu@

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 12:46:03 Modified files: libexec/ld.so/arm: Makefile.inc Log message: Drop -z nocombreloc. That's a rev 1.1 commit so not clear why it was needed then; perhaps fixed by the bump in binuti

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 12:34:48 Modified files: games/factor : factor.c usr.bin/cmp: cmp.c usr.bin/ftp: cmds.c util.c usr.sbin/memconfig: memconfig.c usr.sbin/mtree :

CVS: cvs.openbsd.org: src

2016-08-14 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/14 12:30:33 Modified files: bin/pax: ar_io.c buf_subs.c cpio.c file_subs.c tables.c tar.c Log message: Remove many unnecessary casts. Verified by comparing

CVS: cvs.openbsd.org: src

2016-08-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/13 22:47:52 Modified files: bin/pax: cpio.c extern.h gen_subs.c options.c tar.c Log message: Replace u_quad_t with unsigned long long and replace "uqd" with "ull" in function names to

CVS: cvs.openbsd.org: src

2016-08-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/13 22:30:39 Modified files: libexec/ld.so : loader.c Log message: Mark the relro/got section as read-only before setting up the environment to minimize the amount of code run without it RO.

CVS: cvs.openbsd.org: src

2016-08-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/13 22:25:27 Modified files: gnu/usr.bin/binutils-2.17/ld/scripttempl: elf.sc Log message: Turning off relro shouldn't insert padding into the middle of the relro section; remove the PAD_GOT0

CVS: cvs.openbsd.org: src

2016-08-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/13 15:28:10 Modified files: sys/ufs/ext2fs : ext2fs_vfsops.c sys/ufs/ffs: ffs_vfsops.c Log message: Missed a couple qaddr_t casts

CVS: cvs.openbsd.org: src

2016-08-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/13 14:57:04 Modified files: libexec/ld.so : boot.c Log message: Passing in &_DYNAMIC appears to have stuck, so eliminate the extra variable

CVS: cvs.openbsd.org: src

2016-08-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/13 14:53:17 Modified files: sys/isofs/cd9660: cd9660_vfsops.c sys/isofs/udf : udf_vfsops.c sys/msdosfs: msdosfs_vfsops.c sys/nfs: nfs_vfsops.c s

CVS: cvs.openbsd.org: www

2016-08-11 Thread Philip Guenther
CVSROOT:/cvs Module name:www Changes by: guent...@cvs.openbsd.org2016/08/11 01:28:55 Modified files: faq: current.html Log message: No need for NOMAN in lib/csu

CVS: cvs.openbsd.org: www

2016-08-11 Thread Philip Guenther
CVSROOT:/cvs Module name:www Changes by: guent...@cvs.openbsd.org2016/08/11 01:25:09 Modified files: faq: current.html Log message: Rewrite RELRO entry to (hopefully) be clearer about the benefit, and explain how to upgrade over the change. Oh, and mi

CVS: cvs.openbsd.org: src

2016-08-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/10 21:05:53 Modified files: lib/libc : Symbols.list lib/libc/arch/m88k: Symbols.list Log message: Between relro and previous RWX work, the __{got,plt}_{start,end} symbols are n

CVS: cvs.openbsd.org: src

2016-08-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/10 14:54:35 Modified files: gnu/usr.bin/binutils-2.17/ld: ldmain.c gnu/usr.bin/binutils-2.17/ld/emulparams: elf64btsmip_obsd.sh elf64l

CVS: cvs.openbsd.org: src

2016-08-10 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/10 14:46:09 Modified files: gnu/usr.bin/binutils-2.17/bfd: elf.c gnu/usr.bin/binutils-2.17/binutils: readelf.c gnu/usr.bin/binutils-2.17/include/elf: common.h gnu/usr

CVS: cvs.openbsd.org: www

2016-08-09 Thread Philip Guenther
CVSROOT:/cvs Module name:www Changes by: guent...@cvs.openbsd.org2016/08/09 23:46:47 Modified files: faq: current.html Log message: Add RELRO

CVS: cvs.openbsd.org: src

2016-08-09 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/09 20:58:44 Modified files: gnu/usr.bin/binutils-2.17/ld: ldmain.c gnu/usr.bin/binutils-2.17/ld/emulparams: armelf_obsd.sh elf32ppc_ob

CVS: cvs.openbsd.org: src

2016-08-08 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/08 21:58:35 Modified files: libexec/ld.so/arm: ldasm.S libexec/ld.so : boot.c Log message: Teach arm to pass &_DYNAMIC to _dl_boot_bind(); can optimize later in tree

CVS: cvs.openbsd.org: src

2016-08-08 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/08 20:25:35 Modified files: sys/kern : uipc_syscalls.c regress/lib/libpthread/restart/connect: connect.c Log message: When interrupted, connect() should leave the socket connec

CVS: cvs.openbsd.org: src

2016-08-08 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/08 16:05:26 Modified files: lib/csu: boot.h Log message: Look for a PT_GNU_RELRO section and, if present, mprotect that range instead of the [__got_start, __got_end) range. Also, ins

CVS: cvs.openbsd.org: src

2016-08-08 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/08 15:59:20 Modified files: libexec/ld.so : library.c library_mquery.c loader.c resolve.c resolve.h Log message: Look for a PT_GNU_RELRO section per object and, if

CVS: cvs.openbsd.org: src

2016-08-07 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/07 14:00:39 Modified files: gnu/usr.bin/binutils-2.17/ld: genscripts.sh gnu/usr.bin/binutils-2.17/ld/emultempl: elf32.em Log message: Since we have kbind(2), we don't need -znow to u

CVS: cvs.openbsd.org: src

2016-08-07 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/07 13:59:07 Modified files: gnu/usr.bin/binutils-2.17/ld: ldlang.c Log message: If an output section is skipped because of a constraint, then skip it when generating the link map output (-M)

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 21:05:23 Modified files: libexec/ld.so : boot.c libexec/ld.so/alpha: ldasm.S Log message: As with csu, alpha passes &_DYNAMIC to _reloc_alpha_got(), so just save that and pass it

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 21:03:44 Modified files: libexec/ld.so : boot.c libexec/ld.so/i386: ldasm.S Log message: Teach i386 to pass &_DYNAMIC to _dl_boot_bind()

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 21:01:53 Modified files: libexec/ld.so/mips64: ldasm.S libexec/ld.so : boot.c Log message: Teach mips64 to pass &_DYNAMIC to _dl_boot_bind() mips64be testing by deraadt@

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 20:59:27 Modified files: libexec/ld.so : boot.c Log message: hahahah: amd64 has been passing &_DYNAMIC to _dl_boot_bind() for *149 months*

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 20:57:19 Modified files: libexec/ld.so : boot.c Log message: Flip the #ifdef logic: amd64, arm, i386, and mips64 are the only archs using the #else case

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 20:44:00 Modified files: lib/csu/mips64 : md_init.h lib/csu: boot.h Log message: Teach mips64 to pass &_DYNAMIC to _dl_boot_bind(). mips64be testing by deraadt@

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 20:34:52 Modified files: lib/csu: boot.h lib/csu/alpha : md_init.h Log message: alpha already calculates &_DYNAMIC for the _reloc_alpha_got() call, so save that and pass

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 20:30:04 Modified files: lib/csu: boot.h Log message: Psych: amd64 has been passing &_DYNAMIC to _dl_boot_bind() for 19 months

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 20:30:55 Modified files: lib/csu/i386 : md_init.h lib/csu: boot.h Log message: Teach i386 to pass &_DYNAMIC to _dl_boot_bind()

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 20:28:12 Modified files: lib/csu: boot.h Log message: Flip the #ifdef logic: amd64, i386, and mips64 were the only static PIE archs using the #else case

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 20:02:57 Modified files: sys/arch/arm/include: setjmp.h lib/libc/arch/arm/gen: _setjmp.S setjmp.S Log message: Add XOR cookies for lr and sp. Stop saving/restoring r12 to/from th

CVS: cvs.openbsd.org: src

2016-08-06 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/08/06 13:16:09 Modified files: lib/libc/arch/arm: SYS.h lib/libc/arch/arm/gen: _setjmp.S divsi3.S setjmp.S sigsetjmp.S lib/libc/arch/arm/string: _memcpy.S bcopy.S bzero.S ffs.S

CVS: cvs.openbsd.org: src

2016-07-29 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/29 21:25:49 Modified files: sys/arch/alpha/stand/boot: Makefile sys/arch/alpha/stand/bootxx: Makefile sys/arch/alpha/stand/netboot: Makefile sys/arch/amd64/stand/bios

CVS: cvs.openbsd.org: src

2016-07-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/26 13:07:09 Modified files: lib/libc/arch/powerpc/gen: flt_rounds.c fpgetround.c lib/libc/arch/sh/gen: flt_rounds.c fpgetround.c lib/libc/arch/alpha/gen: fpgetround.c

CVS: cvs.openbsd.org: src

2016-07-25 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/25 20:38:12 Modified files: gnu/usr.bin/binutils-2.17/bfd: elf.c Log message: Make sure there's space for the PT_OPENBSD_WXNEEDED segment, if requested problem noted by Juan Francisco Canter

CVS: cvs.openbsd.org: www

2016-07-21 Thread Philip Guenther
CVSROOT:/cvs Module name:www Changes by: guent...@cvs.openbsd.org2016/07/21 03:57:48 Modified files: . : 60.html Log message: Add stuff

CVS: cvs.openbsd.org: www

2016-07-21 Thread Philip Guenther
CVSROOT:/cvs Module name:www Changes by: guent...@cvs.openbsd.org2016/07/21 03:12:20 Modified files: . : lyrics.html Log message: Put the accent in vis-à-vis

CVS: cvs.openbsd.org: src

2016-07-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/18 13:05:22 Modified files: lib/libc/softfloat: fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c fpsetround.c fpsetsticky.c Log message: We have __weak_alias()

CVS: cvs.openbsd.org: src

2016-07-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/18 05:48:55 Modified files: usr.sbin/pstat : pstat.c Log message: Fix VFLAG formatting ok bluhm@

CVS: cvs.openbsd.org: src

2016-07-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/18 03:37:50 Modified files: usr.sbin/mopd/mopchk: Makefile usr.sbin/mopd/mopd: Makefile usr.sbin/mopd/mopprobe: Makefile usr.sbin/mopd/moptrace: Makefile Log messag

CVS: cvs.openbsd.org: src

2016-07-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/18 03:36:50 Modified files: usr.bin/ktrace : extern.h ktrace.1 ktrace.c ltrace.1 subr.c usr.bin/kdump : kdump.1 kdump.c Log message: Add 'p' trace point for KTRFAC_PLEDGE, as noted

CVS: cvs.openbsd.org: src

2016-07-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/18 02:43:16 Modified files: libexec/ld.so/m88k: ldasm.S Log message: Polish: - copy #define workaround from mips64 to avoid dangling __CERROR symbol - remove trap DL_SYSCALL2_NOERR() macro wi

CVS: cvs.openbsd.org: src

2016-07-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/17 22:35:57 Modified files: libexec/ld.so/m88k: ldasm.S Log message: Updated advice^Wcode from miod@ for passing &_DYNAMIC to _dl_boot_bind ok aoyama@

CVS: cvs.openbsd.org: src

2016-07-15 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/15 03:25:47 Modified files: libexec/ld.so : boot.c libexec/ld.so/m88k: ldasm.S Log message: Switch m88k to pass &_DYNAMIC to _dl_boot_bind() probably works: this ASM pattern is alr

CVS: cvs.openbsd.org: src

2016-07-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/14 00:03:46 Modified files: sys/sys: exec_elf.h Log message: Add PT_GNU_RELRO, for ld.so work ok millert@ kettenis@

CVS: cvs.openbsd.org: src

2016-07-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/13 23:55:08 Modified files: sys/kern : kern_event.c kern_sig.c regress/sys/kern/kqueue: kqueue-process.c kqueue-signal.c Log message: Prevent silly states via knotes on pids >

CVS: cvs.openbsd.org: src

2016-07-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/13 21:37:14 Modified files: sys/ufs/ufs: Tag: OPENBSD_5_9 ufs_vnops.c Log message: backport 1.129 ufs_readdir() buffer was meant to be limited to 64kB; reversed test permitted very big m

CVS: cvs.openbsd.org: src

2016-07-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/13 21:37:42 Modified files: sys/ufs/ufs: Tag: OPENBSD_5_8 ufs_vnops.c Log message: backport 1.129 ufs_readdir() buffer was meant to be limited to 64kB; reversed test permitted very big m

CVS: cvs.openbsd.org: src

2016-07-13 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/13 21:34:28 Modified files: sys/ufs/ufs: ufs_vnops.c Log message: ufs_readdir() buffer was meant to be limited to 64kB; reversed test permitted very big mallocs to panic the kernel. repo

CVS: cvs.openbsd.org: src

2016-07-12 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/13 00:17:11 Modified files: regress/lib/libc/regex: main.c Log message: Fix usage() output and getopt sorting

CVS: cvs.openbsd.org: src

2016-07-09 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/09 18:39:23 Modified files: sys/kern : kern_pledge.c Log message: Paranoia: check KTRPOINT() before calling ktrpledge() to guarantee we can't (in the future) loop from ktrace writing hi

CVS: cvs.openbsd.org: src

2016-07-05 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/05 22:35:12 Modified files: lib/libc/gen : devname.c Log message: Use fstatat() to avoid path surgery. bug catching and ok millert@

CVS: cvs.openbsd.org: src

2016-07-04 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/04 18:44:41 Modified files: lib/csu: boot.h Log message: Missed a reference to dl_prebind.h problem noted by Andrew Ngo (andrew.ngo (at) gmail.com)

CVS: cvs.openbsd.org: src

2016-07-04 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/04 15:15:07 Modified files: libexec/ld.so : Makefile ld.so.1 library.c library_mquery.c loader.c resolve.c resolve.h libexec/ld.so/alpha: syscall.h

CVS: cvs.openbsd.org: src

2016-07-04 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/04 12:01:44 Modified files: gnu/lib/libobjc: Makefile.bsd-wrapper lib/libc/sys : Makefile.inc lib/libcurses : Makefile lib/libform: Makefile lib/libme

CVS: cvs.openbsd.org: src

2016-07-04 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/04 11:56:54 Modified files: share/mk : bsd.own.mk Log message: gcc's -fvisibility=hidden isn't the behavior we wanted when cleaning up symbol exports, so delete ${VISIBILITY_HIDDEN} as

CVS: cvs.openbsd.org: src

2016-07-03 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/03 22:33:35 Modified files: libexec/ld.so/i386: rtld_machine.c Log message: The GOT has been initally mapped RW for *years*; ld.so doesn't need to mprotect it to RW when filling in the refere

CVS: cvs.openbsd.org: src

2016-07-03 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/03 22:05:29 Modified files: sbin/savecore : savecore.c Log message: Drop support for the undocumented second argument (same as -N option) ok deraadt@

CVS: cvs.openbsd.org: src

2016-07-03 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/07/03 21:24:48 Modified files: usr.bin/mg : fileio.c libexec/ftpd : ftpd.c Log message: Use fstatat() instead of crafting a filename to use with stat() ok millert@

Re: CVS: cvs.openbsd.org: src

2016-06-28 Thread Philip Guenther
s held and is always NULL when the malloc lock is release" ...and then to implement that do the full dance (transfer to local variable, set to NULL, then munmap after unlock) on *every* unlock, and maybe throw in an assert(umap_me == NULL) when locking. Other invariants are possible, but that one seems sufficient to get the desired optimization and simple to implement. Philip Guenther

CVS: cvs.openbsd.org: src

2016-06-20 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/20 20:55:57 Modified files: gnu/usr.bin/binutils-2.17/bfd: elflink.c gnu/usr.bin/binutils-2.17/include: bfdlink.h gnu/usr.bin/binutils-2.17/ld: ld.texinfo ldmain.c gn

CVS: cvs.openbsd.org: src

2016-06-19 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/19 16:57:53 Modified files: gnu/usr.bin/binutils-2.17/binutils: readelf.c gnu/usr.bin/binutils-2.17/include/elf: common.h Log message: At least display the DT_GNU_HASH tag nicely ok

CVS: cvs.openbsd.org: src

2016-06-19 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/19 16:35:43 Modified files: gnu/usr.bin/binutils-2.17/bfd/doc: bfdio.texi bfdt.texi Log message: Update docs to match our local time_t changes

CVS: cvs.openbsd.org: src

2016-06-19 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/19 15:41:51 Modified files: share/man/man9 : ktrace.9 Log message: KTRPOINT() takes a KTR_* value, not a KTRFAC_* value. problem noted and based on diff by Michal Mazurek (akfaew (at) jasmin

CVS: cvs.openbsd.org: www

2016-06-18 Thread Philip Guenther
CVSROOT:/cvs Module name:www Changes by: guent...@cvs.openbsd.org2016/06/18 11:42:02 Modified files: faq: current.html Log message: Extra work is required of those that skip some of the ABI steps

CVS: cvs.openbsd.org: src

2016-06-18 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/18 11:39:44 Modified files: sys/sys: ktrace.h Log message: KTRPOINT() is only useful in the kernel, so move it behind #ifdef _KERNEL ok mpi@ kettenis@

CVS: cvs.openbsd.org: src

2016-06-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/17 22:24:19 Modified files: lib/libc/sys : ktrace.2 Log message: Update column width decision

CVS: cvs.openbsd.org: src

2016-06-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/17 22:21:24 Modified files: lib/libc/sys : ktrace.2 Log message: Document KTRFAC_{PLEDGE,EXEC{ARGS,ENV}}

CVS: cvs.openbsd.org: src

2016-06-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/17 20:40:46 Modified files: libexec/ld.so/mips64: rtld_machine.c Log message: Make mips64 like all the others: only make mappings writable during relocation if DT_TEXTREL was set on the objec

CVS: cvs.openbsd.org: src

2016-06-17 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/17 13:20:19 Modified files: sys/conf : files Log message: urtwn device now needs rtwn.c, even if rtwn device isn't built ok mpi@ jca@ mglocker@

Re: CVS: cvs.openbsd.org: src

2016-06-17 Thread Philip Guenther
On Fri, Jun 17, 2016 at 9:40 AM, Marcus Glocker wrote: > On Fri, Jun 17, 2016 at 04:53:55AM -0600, Stefan Sperling wrote: > >> CVSROOT: /cvs >> Module name: src >> Changes by: s...@cvs.openbsd.org2016/06/17 04:53:55 >> >> Modified files: >> sys/dev/ic : rtwn.c rtwnvar.h >>

CVS: cvs.openbsd.org: src

2016-06-15 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/15 21:21:09 Modified files: lib/libc/arch/m88k: SYS.h Log message: PSEUDO_NOERROR() is used for syscalls that return now, so need to put a nop in the slot skipped by the kernel on success

CVS: cvs.openbsd.org: src

2016-06-12 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/06/12 22:59:56 Modified files: libexec/ld.so/powerpc: rtld_machine.c Log message: Only need to sync the icache on the GOT for the old BSS PLT format ok kettenis@

Re: CVS: cvs.openbsd.org: src

2016-06-06 Thread Philip Guenther
any dental problems caused by gritting one's teeth. Philip Guenther

CVS: cvs.openbsd.org: src

2016-05-31 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/05/31 23:09:27 Modified files: gnu/usr.bin/binutils-2.17/bfd: elflink.c Log message: Until we get relro working, we need the __{got,plt}_{start,end} symbols to always be exported so ld.so can us

CVS: cvs.openbsd.org: src

2016-05-31 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/05/31 22:53:54 Modified files: sys/sys: mman.h sys/uvm: uvm_mmap.c Log message: Delete the kernel compat bits for old mmap() MAP_OLD* flags ok deraadt@ matthew@ jca@

CVS: cvs.openbsd.org: src

2016-05-30 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/05/30 15:35:08 Modified files: lib/libc/sys : Makefile.inc Log message: Move __getcwd from ASM to HIDDEN: we don't want the literal __getcwd symbol ok millert@ deraadt@

CVS: cvs.openbsd.org: src

2016-05-29 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/05/30 00:48:21 Modified files: lib/libc/sys : syscall.2 Log message: We no longer have syscalls with multiple return values. Whine about long long alignment instead.

CVS: cvs.openbsd.org: src

2016-05-29 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/05/29 23:18:52 Modified files: lib/libc/arch/arm: Symbols.list lib/libc/arch/arm/sys: brk.S sbrk.S lib/libc/arch/hppa: Symbols.list lib/libc/arch/hppa/sys: brk.S sbrk.S

CVS: cvs.openbsd.org: src

2016-05-29 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2016/05/29 21:06:58 Modified files: lib/libc/stdlib: icdb.c Log message: The icdb magic number doesn't need to be visible to static links ok tedu@

<    5   6   7   8   9   10   11   12   13   14   >