CVS commit: src/sys/net

2021-07-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jul 17 15:37:04 UTC 2021 Modified Files: src/sys/net: if_vlan.c Log Message: Mark vlan_safe_ifpromisc_locked() as "__unused" to appease LLVM. Maybe completely remove this short helper? To generate a diff of this commit: cv

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2021-07-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Jul 4 11:25:07 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c Log Message: Add VOP_PARSEPATH to zfs control dir vnode op table. To generate a diff of this commit: cvs rdiff -u -r1.12

CVS commit: src/sys/fs/union

2021-07-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Jul 4 11:24:09 UTC 2021 Modified Files: src/sys/fs/union: union_vnops.c Log Message: Fix union_parsepath(), either the upper or the lower dvp may be NULL. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/s

CVS commit: src/lib/libc/sys

2021-06-08 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jun 8 10:02:04 UTC 2021 Modified Files: src/lib/libc/sys: nfssvc.2 Log Message: Document NFSSVC_REPLACEEXPORTSLIST instead of NFSSVC_SETEXPORTSLIST. The latter is deprecated and kept only for backwards compatibility. To g

CVS commit: src/sbin/dump

2021-06-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jun 7 14:07:32 UTC 2021 Modified Files: src/sbin/dump: tape.c Log Message: Bitmaps (TS_BITS and TS_CLRI) dont use the "c_addr" array as they cannot have holes. As bitmaps are written without TS_ADDR records "c_count" may be

CVS commit: src/usr.sbin/mountd

2021-06-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jun 5 08:26:34 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.c Log Message: Fix typo, its the element not the array ... To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137 src/usr.sbin/mountd/mountd.c P

CVS commit: src/tests/fs/nfs

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jun 4 10:48:07 UTC 2021 Modified Files: src/tests/fs/nfs: t_mountd.c Log Message: Test "mountdhup" has to pass now. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/fs/nfs/t_mountd.c Please note that

CVS commit: src/usr.sbin/mountd

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jun 4 10:46:57 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.c Log Message: Change get_exportlist() to collect all exports and emit all exports for a single mount in one call to nfssvc(2). Should finally fix PR kern/

CVS commit: src/usr.sbin/mountd

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jun 4 10:46:01 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.c Log Message: Restructure do_nfssvc() and simplify the left cases GT_HOST and GT_NET. Add a helper add_export_arg() that emits a single export_args item a

CVS commit: src/sys/nfs

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jun 4 10:44:59 UTC 2021 Modified Files: src/sys/nfs: nfs.h nfs_export.c nfs_syscalls.c nfs_var.h Log Message: Add flag/command NFSSVC_REPLACEEXPORTSLIST to nfssvc(2) system call. Works like NFSSVC_SETEXPORTSLIST but support

CVS commit: src/external/cddl/osnet/dist/common/nvpair

2021-05-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 21 17:32:49 UTC 2021 Modified Files: src/external/cddl/osnet/dist/common/nvpair: nvpair.c Log Message: Replace the Solaris style endian check (exactly one of _LITTLE_ENDIAN or _BIG_ENDIAN is defined) with standard check "

CVS commit: src/sys/net/lagg

2021-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue May 18 11:02:58 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg_lacp.c Log Message: Make this compile without DIAGNOSTIC. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/net/lagg/if_lagg_lacp.c Pleas

CVS commit: src/sys/kern

2021-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue May 18 08:59:44 UTC 2021 Modified Files: src/sys/kern: exec_elf.c Log Message: Remove a superfluous VOP_GETATTR() from elf_load_interp() and replace the LK_EXCLUSIVE lock with a LK_SHARED lock. The attributes requested were

CVS commit: src/sys/fs/ntfs

2021-05-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu May 13 08:57:29 UTC 2021 Modified Files: src/sys/fs/ntfs: ntfs_subr.c Log Message: ntfs_loadntnode(): Use bread() when ntm_sysvn[NTFS_MFTINO] is NULL. May happen when loading node 0 (MFT) during mount and some attributes are

CVS commit: src/sys/dev/dm

2021-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 7 09:54:43 UTC 2021 Modified Files: src/sys/dev/dm: device-mapper.c Log Message: Track the number of cdev and bdev opens and fail dm_detach() on open devices unless detach is forced. PR kern/54969 (Disk cache is no long

CVS commit: src/sys/dev/dm

2021-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 7 09:53:39 UTC 2021 Modified Files: src/sys/dev/dm: dm_ioctl.c Log Message: Make sure the unit number of device-mapper devices matches their minor number. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 s

CVS commit: src/sys/miscfs/fdesc

2021-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat May 1 15:08:14 UTC 2021 Modified Files: src/sys/miscfs/fdesc: fdesc_vnops.c Log Message: Make sure fdesc_lookup() never returns VNON vnodes. Should fix PR kern/56130 (fdescfs create nodes with wrong major number) To gener

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2021-04-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Apr 21 10:02:34 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: arc.c Log Message: Prevent blocking l2arc_feed_thread() forever, skip the cv_timedwait() for negative or zero ticks. To generate a dif

CVS commit: src/sys/uvm

2021-02-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 19 13:20:44 UTC 2021 Modified Files: src/sys/uvm: uvm_swap.c Log Message: When turning off swap during reboot we have to lock with LK_RETRY as regular files got reclaimed during unmount. Adresses PR kern/54969 (Disk cach

CVS commit: src/etc/rc.d

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 10:02:42 UTC 2021 Modified Files: src/etc/rc.d: mountall mountd Log Message: Enable "/etc/zfs/exports" from "zfs share" in rc.d/mountd and rc.d/mountall. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 10:00:27 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.8 mountd.c Log Message: Add support for multiple exports files. This will be useful for example for ZFS, where we have an automatically generated /etc/zfs/e

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:58:35 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.c Log Message: Split get_exportlist() into get_exportlist() and get_exportlist_one() in preparation to support multiple input files. No functional change i

CVS commit: src/sys

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:56:32 UTC 2021 Modified Files: src/sys/kern: vfs_mount.c src/sys/uvm: uvm_swap.c Log Message: Reorganize uvm_swap_shutdown() a bit, make sure the vnode gets locked and referenced across the call to swap_off(

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs/sys

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:54:17 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs_context.h Log Message: Use the right uid / gid for nobody:nobody like FreeBSD does. Prevents null pointer dereferences when ZFS

CVS commit: src/sys/coda

2020-11-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Nov 20 10:08:47 UTC 2020 Modified Files: src/sys/coda: coda_vfsops.c Log Message: When validating the mount device string make sure its length is below *data_len and below PATH_MAX. Reported-by: syzbot+2d3af801141509cc8...@s

CVS commit: src/sys/kern

2020-11-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Nov 19 10:47:47 UTC 2020 Modified Files: src/sys/kern: vfs_mount.c Log Message: We have to ignore interrupts when suspending here the same way we have to do with revoke. Reported-by: syzbot+0cfb253b382a98364...@syzkaller.app

CVS commit: src/libexec/httpd

2020-11-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Nov 19 10:45:37 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Bozohttpd clobbers files greater than 4GB on 32bit archs. Make sure the alignment mask derived from pagesize is an off_t. To generate a d

CVS commit: src/sys/arch/amd64/include

2020-11-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Nov 18 16:13:34 UTC 2020 Modified Files: src/sys/arch/amd64/include: msan.h Log Message: Make this at least compile. Looks like a missing part from "Round of uvm.h cleanup (2020-09-05 18:30)". To generate a diff of this com

CVS commit: src/sys/coda

2020-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Nov 14 11:42:56 UTC 2020 Modified Files: src/sys/coda: coda.h coda_vnops.c Log Message: Rewrite coda_readdir() to directly process the container file. Passing this operation down to the file system holding the container cann

CVS commit: src/sys/coda

2020-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Nov 14 11:41:29 UTC 2020 Modified Files: src/sys/coda: coda_vfsops.c Log Message: Respect "lktype" in all paths in coda_root(). To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/sys/coda/coda_vfsops.c Pleas

CVS commit: src/sys/coda

2020-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Nov 14 11:42:05 UTC 2020 Modified Files: src/sys/coda: coda_vnops.c coda_vnops.h Log Message: Add coda_pathconf() always returning EINVAL. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/coda/coda_vn

CVS commit: src/sys/kern

2020-10-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Oct 13 13:15:39 UTC 2020 Modified Files: src/sys/kern: vfs_mount.c Log Message: Suspend file system before unmounting in mount_domount() error path to prevent diagnostic assertions from unmount/flush. Reported-by: syzbot+8d5

CVS commit: src/external/cddl/osnet/sys/sys

2020-10-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Oct 12 08:21:21 UTC 2020 Modified Files: src/external/cddl/osnet/sys/sys: cred.h Log Message: Stub groupmember() has to test both group list and current group id. Fixes kern/55675: ZFS mounts do not work with setuid programs

CVS commit: src/external/cddl/osnet/sys/kern

2020-08-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 28 16:13:48 UTC 2020 Modified Files: src/external/cddl/osnet/sys/kern: policy.c Log Message: Glue operation secpolicy_fs_mount() passes wrong arguments to operation kauth_authorize_system(). KAUTH_SYSTEM_MOUNT / KAUTH_RE

CVS commit: src/share/man/man9

2020-08-28 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Aug 28 07:29:00 UTC 2020 Modified Files: src/share/man/man9: vfsops.9 Log Message: Another typo -- its vfs_newvnode(). To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/share/man/man9/vfsops.9 Please note t

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-08-27 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Aug 27 09:57:34 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vfsops.c zfs_vnops.c zfs_znode.c Log Message: Enable NCLOOKUP for ZFS. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/fs/union

2020-08-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Aug 18 09:44:07 UTC 2020 Modified Files: src/sys/fs/union: union.h union_subr.c union_vnops.c Log Message: Operation union_readdirhook() stores the lower directory as un_uppervp. This breaks the assumption that un_uppervp->v_

CVS commit: src/external/cddl/osnet

2020-05-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue May 26 08:39:27 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vfsops.c src/external/cddl/osnet/sys/sys: vnode.h Log Message: Replace vp->v_count with vrefcnt(vp) and remove now unneeded

CVS commit: src/sys

2020-05-24 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun May 24 10:42:28 UTC 2020 Modified Files: src/sys/arch/atari/dev: event_var.h src/sys/dev/sun: event_var.h Log Message: Change proc_lock -> &proc_lock. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src

CVS commit: src/sys/uvm

2020-05-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed May 20 12:47:36 UTC 2020 Modified Files: src/sys/uvm: uvm_aobj.c Log Message: Suppress GCC warnings and fix a UVMHIST_LOG() statement. Kernels ALL/amd64 and ALL/i386 and port sparc64 build again. To generate a diff of this

CVS commit: src/sys/kern

2020-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon May 18 08:30:06 UTC 2020 Modified Files: src/sys/kern: vnode_if.c Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/sys/kern/vnode_if.c Please note that diffs are not public domain; th

CVS commit: src/sys/kern

2020-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon May 18 08:29:34 UTC 2020 Modified Files: src/sys/kern: vnode_if.src Log Message: VOP_STRATEGY() may still deadlock with devices. Change FSTRANS from LAZY to NO. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

CVS commit: src/sys/ufs

2020-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon May 18 08:28:44 UTC 2020 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c src/sys/ufs/ufs: ufs_vnops.c Log Message: Assert ufs_strategy() always gets used while current thread holds a fstrans lock. To generate a diff o

CVS commit: src/sys/kern

2020-05-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon May 18 08:27:54 UTC 2020 Modified Files: src/sys/kern: vfs_vnode.c Log Message: vrele_flush(): yield() every 100ms like we do it in vflush(). To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122 src/sys/kern/vfs_

CVS commit: src/sys/kern

2020-05-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat May 16 17:42:07 UTC 2020 Modified Files: src/sys/kern: subr_kcov.c Log Message: Add __diagused, amd64 kernel ALL compiles again. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/kern/subr_kcov.c Please

CVS commit: src/sys

2020-05-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed May 13 09:21:30 UTC 2020 Modified Files: src/sys/kern: vfs_trans.c src/sys/sys: fstrans.h Log Message: Add operation fstrans_held(struct mount *), true if the current thread holds a fstrans lock. Ride 9.99.61 To ge

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu May 7 09:13:06 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_znode.c Log Message: Operation zfs_zget_cleaner() cannot fail, comment and add assertions. To generate a diff of this commit: cvs

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu May 7 09:12:32 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_znode.c Log Message: Revert Rev. 1.31 as it is no longer possible for the handle to be NULL. To generate a diff of this commit: cv

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu May 7 09:12:03 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Revert Rev. 1.63 and add a comment why we have to zil_commit() here: Operation zfs_znode.c::zfs_zget_cleaner()

CVS commit: src/sys/arch/x86/x86

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 14:16:15 UTC 2020 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Use PRIxPADDR for paddr_t to make i386/ALL compile. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/arch/x86/

CVS commit: src/sys/arch/i386/conf

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 14:15:41 UTC 2020 Modified Files: src/sys/arch/i386/conf: ALL Log Message: Remove wd* at umass?, it was dropped. To generate a diff of this commit: cvs rdiff -u -r1.490 -r1.491 src/sys/arch/i386/conf/ALL Please note

CVS commit: src/sys/kern

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 08:45:01 UTC 2020 Modified Files: src/sys/kern: vfs_mount.c Log Message: Undo Rev. 1.79, it breaks root-on-raid where it destroys the component disks before the raid: forcefully unmounting / (/dev/raid0a)... sd1:

CVS commit: src/sys/ufs/ufs

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 08:43:37 UTC 2020 Modified Files: src/sys/ufs/ufs: ufs_vfsops.c Log Message: There is no difference between a zero-sized and not yet reclaimed directory vnode and a non-existent vnode. Teach ufs_fhtovp() to treat zero

CVS commit: src/sys/nfs

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri May 1 08:43:00 UTC 2020 Modified Files: src/sys/nfs: nfs_node.c Log Message: Resolve delayed truncation from nfs_inactive() too. Should prevent "locking against self" from nfs_unlock(). To generate a diff of this commit:

CVS commit: src/sys/kern

2020-04-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Apr 19 13:26:18 UTC 2020 Modified Files: src/sys/kern: vfs_mount.c Log Message: Destroy anonymous device vnodes on reboot once the last file system got unmounted and the mount list is empty. PR kern/54969: Disk cache is no l

CVS commit: src/sys/kern

2020-04-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Apr 19 13:25:00 UTC 2020 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Take some pressure from vdrain lock: - Use cv_signal() instead of cv_broadcast(), there is only one waiter. - No need to signal if number of vno

CVS commit: src/sys/fs/udf

2020-04-06 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Apr 6 14:31:06 UTC 2020 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: udf_get_node(): fix typo and honor "lktype" argument. To generate a diff of this commit: cvs rdiff -u -r1.149 -r1.150 src/sys/fs/udf/udf_subr.

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-03-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Mar 20 08:26:01 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_znode.c Log Message: With zfs_netbsd_reclaim() no longer doing an unconditional zil commit dmu_buf_get_user() may return a NULL hand

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-02-13 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Feb 13 16:53:32 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: zfs_netbsd_setattr: ignore size changes on device nodes. To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/sys/arch/x86/x86

2019-12-03 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Dec 3 11:50:45 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Make sure the assignment to "idepth" is done inside the loop to prevent preemption between loop end and dereference of "l_cpu->ci_depth

CVS commit: src/sys/arch/x86/x86

2019-12-03 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Dec 3 11:50:16 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Make cpu_intr_p() work with "curlwp->l_cpu == NULL" and assert "curlwp == &lwp0" in this case. Prevents crash during early boot with "

CVS commit: src/tools

2019-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue May 7 10:22:54 UTC 2019 Modified Files: src/tools: Makefile Log Message: Fix build, "pax" must be built before "libprop". Ok: Matthew Green mrg@ To generate a diff of this commit: cvs rdiff -u -r1.202 -r1.203 src/tools/Ma

CVS commit: src

2019-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue May 7 08:51:10 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: spa_misc.c zfs_ioctl.c src/external/cddl/osnet/dist/uts/common/sys/fs: zfs.h src/external/cddl/osnet/sys/kern: mod.c

CVS commit: src/external/cddl/osnet

2019-05-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue May 7 08:49:59 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: spa.c zio.c src/external/cddl/osnet/dist/uts/common/sys: taskq.h src/external/cddl/osnet/sys/kern: taskq.c src/ex

CVS commit: src/sys/kern

2019-04-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Apr 15 13:01:08 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: Add reference counting to alias states to prevent them disappearing while still in use. To generate a diff of this commit: cvs rdiff -u -r1.58

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-04-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Apr 15 12:59:38 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vfsops.c zfs_vnops.c zfs_znode.c Log Message: Add support for fifos, character and block devices. To generate a diff o

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-03-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Mar 18 09:22:15 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c zfs_vfsops.c src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs_ctldir.h Log Message: Make ZFS exp

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-03-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Mar 18 09:21:31 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c Log Message: Implement zfsctl_lookup_objset() to look up "zfsvfs" of an mounted snapshot. To generate a diff of this comm

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-03-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Mar 18 09:20:58 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c zfs_vfsops.c zfs_vnops.c Log Message: Set "mnt_stat.f_fsid" and "mnt_stat.f_fsidx" from the objset guid like Fr

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-03-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Mar 18 09:20:15 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: As zfs_netbsd_getpages() ignores "a_count" and processes exactly one page return an error if "a_count != 1".

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-03-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Mar 18 09:19:39 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Change zfs_readdir() to use malloc() instead of kmem_alloc() to allocate cookies. Required by protocol, caller

CVS commit: src/sys/kern

2019-03-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Mar 17 10:14:52 UTC 2019 Modified Files: src/sys/kern: vfs_lookup.c Log Message: With TRYEMULROOT namei_getstartdir() gets used twice so have to vrele() "ni_rootdir" and "ni_erootdir" on entry. To generate a diff of this co

CVS commit: src/sys/kern

2019-03-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Mar 12 14:03:35 UTC 2019 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Take a reference on ndp->ni_rootdir and ndp->ni_erootdir. A multithreaded process may chroot during namei() and we end up with vn_under() tryin

CVS commit: src/sys/rump/librump/rumpkern

2019-03-09 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Mar 9 09:02:38 UTC 2019 Modified Files: src/sys/rump/librump/rumpkern: emul.c lwproc.c Log Message: Rumpkernel has its own thread deallocation. Add missing fstrans_lwp_dtor() to lwproc_freelwp(). PR bin/50350: rump/rumpker

CVS commit: src/sys/kern

2019-03-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Mar 7 11:09:48 UTC 2019 Modified Files: src/sys/kern: vfs_vnops.c Log Message: Change vn_openchk() to fail VNON and VBAD with error ENXIO. Reported-by: syzbot+d66b1be08516a4d2d...@syzkaller.appspotmail.com Reported-by: syzb

CVS commit: src/sys/kern

2019-03-07 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Mar 7 11:09:10 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: Change "fli_alias" to point to the corresponding "fstrans_lwp_info". Fix fstrans_clear_lwp_info() list traversal, remove already advanced the li

CVS commit: src/sys

2019-03-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Mar 1 09:02:03 UTC 2019 Modified Files: src/sys/kern: kern_exit.c kern_lwp.c vfs_trans.c src/sys/sys: fstrans.h lwp.h Log Message: Move pointer to fstrans private data into "struct lwp". Ride NetBSD 8.99.35 To gen

CVS commit: src/sys/kern

2019-02-24 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Feb 24 16:11:24 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: Clear per-lwp entries whose mount is gone before the first return from fstrans_done(). No longer leaks "struct mount" forever. To generate a d

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-02-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 22 09:01:32 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_replay.c Log Message: Always set "cn_namelen" in addition to "cn_nameptr". Fix vnode locking for REMOVE, RMDIR and RENAME. To gen

CVS commit: src/sys/kern

2019-02-21 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Feb 21 08:52:53 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: Fix bad assertion: vfs_suspend(dead_rootmount) may happen and must return EOPNOTSUPP. To generate a diff of this commit: cvs rdiff -u -r1.54 -r

CVS commit: src/sys/kern

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:09:45 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: - Make the fstrans mount info part of the per-lwp state and replace most accesses to the mount with fstrans mount info. - Add "fmi_gone" to be

CVS commit: src

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:08:38 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c src/sys/kern: vfs_mount.c vfs_trans.c Log Message: Move fstrans_unmount() to vfs_rele(), just before it would free

CVS commit: src/sys

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:07:27 UTC 2019 Modified Files: src/sys/kern: init_main.c vfs_mount.c vfs_trans.c vfs_vnode.c src/sys/miscfs/genfs: genfs_vfsops.c src/sys/rump/librump/rumpvfs: rump_vfs.c src/sys/sys: fstypes.

CVS commit: src/sys/kern

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:06:33 UTC 2019 Modified Files: src/sys/kern: vfs_vnode.c Log Message: Assign vnode to dead_rootmount before vcache_dealloc() releases it. Now v_mount is never NULL. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:06:00 UTC 2019 Modified Files: src/sys/fs/union: union_vfsops.c src/sys/miscfs/nullfs: null_vfsops.c src/sys/miscfs/overlay: overlay_vfsops.c src/sys/miscfs/umapfs: umap_vfsops.c Log Message:

CVS commit: src/sys

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:05:20 UTC 2019 Modified Files: src/sys/kern: vfs_syscalls.c src/sys/nfs: nfs_serv.c Log Message: Bracket do_sys_renameat() and nfsrv_rename() with fstrans. The v_mount field for vnodes on the same file syst

CVS commit: src/sys/dev/raidframe

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:04:28 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Fix vnode locking, must lock for VOP_OPEN() and VOP_UNLOCK() when done. To generate a diff of this commit: cvs rdiff -u -r1.374 -

CVS commit: src/sys/ufs/mfs

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:03:56 UTC 2019 Modified Files: src/sys/ufs/mfs: mfs_vnops.c Log Message: Remove superfluous VOP_UNLOCK(), vnode will be unlocked from spec_reclaim(). To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 s

CVS commit: src/sys/dev

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:03:25 UTC 2019 Modified Files: src/sys/dev: fss.c fssvar.h Log Message: Make FSS_ERROR a flag to prevent bogus fscow_disestablish() after error. To generate a diff of this commit: cvs rdiff -u -r1.106 -r1.107 src/

CVS commit: src/sys/kern

2019-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Feb 20 10:02:52 UTC 2019 Modified Files: src/sys/kern: subr_disk_open.c Log Message: Fix vnode locking for opendisk(), must lock for VOP_OPEN(). To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/kern/sub

CVS commit: src/sys/dev/hyperv

2019-02-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 15 16:37:54 UTC 2019 Modified Files: src/sys/dev/hyperv: vmbus.c Log Message: Add __diagused. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/hyperv/vmbus.c Please note that diffs are not public

CVS commit: src/sys/arch/sparc64/sparc64

2019-02-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 15 16:36:33 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: Add /* FALLTHROUGH */ for DEBUG kernel. To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191 src/sys/arch/sparc64/sparc64

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 5 09:55:48 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c Log Message: Implement the ZFS control directory ".zfs" and its subdirectory 'snapshot". Automatically mount snapshots on

CVS commit: src

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 5 09:54:36 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c zfs_ioctl.c zfs_vfsops.c zfs_vnops.c zfs_znode.c src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 5 09:50:18 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: zfs_netbsd_reclaim(): validate "z_log" before zil_commit(). To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/sys/kern

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 5 09:49:44 UTC 2019 Modified Files: src/sys/kern: vfs_mount.c Log Message: Allow dounmount() with file system already suspended. Remove no longer valid test for layered mounts, ZFS will unmount snapshots bottom up. To

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jan 30 10:11:11 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: netbsd32_machdep_13.c Log Message: Make this compile with "options DEBUG". To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/spar

CVS commit: src/sys/dev/pci

2019-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Jan 17 10:20:01 UTC 2019 Modified Files: src/sys/dev/pci: ld_virtio.c Log Message: Use cv_broadcast() on "sc_sync_wait" to prevent deadlock when more than one thread try to "DIOCCACHESYNC" at the same time. To generate a di

CVS commit: src/sys/kern

2019-01-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Jan 17 10:18:52 UTC 2019 Modified Files: src/sys/kern: kern_threadpool.c Log Message: Use PRIu64 for "uint64_t tp_refcnt". To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/kern/kern_threadpool.c Please

CVS commit: src/external/cddl/osnet/sys/sys

2019-01-12 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 12 10:44:36 UTC 2019 Modified Files: src/external/cddl/osnet/sys/sys: vnode.h Log Message: Allow zfs_vn_rdwr() with "rw == UIO_READ" too. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/cddl/o

  1   2   3   4   5   6   7   8   >