CVS commit: src/doc

2021-07-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Jul 27 12:40:07 UTC 2021 Modified Files: src/doc: CHANGES Log Message: Tie the maximum file lock per unprivilegied uid to kern.maxfiles To generate a diff of this commit: cvs rdiff -u -r1.2815 -r1.2816 src/doc/CHANGES Please

CVS commit: src

2021-07-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Jul 27 09:32:55 UTC 2021 Modified Files: src/lib/libc/sys: fcntl.2 flock.2 src/share/man/man7: sysctl.7 src/sys/kern: vfs_lockf.c Log Message: Tie the maximum file lock per unprivilegied uid to kern.maxfiles Thi

CVS commit: src/external/mpl/dhcp/dist/common

2020-05-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri May 15 12:31:04 UTC 2020 Modified Files: src/external/mpl/dhcp/dist/common: bpf.c discover.c lpf.c packet.c raw.c socket.c Log Message: crunchgen fix Make sure local_port is not shared within a crunchgen binary. The

CVS commit: src/sys/dev/usb

2020-02-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Feb 15 02:14:02 UTC 2020 Modified Files: src/sys/dev/usb: u3g.c umodeswitch.c Log Message: Add support for D-Link DWM-157 3G USB modem To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/usb/u3g.c cvs rdi

CVS commit: src/sys/dev/usb

2020-02-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Feb 15 02:10:45 UTC 2020 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.765 -r1.766 src/sys/dev/usb/usbdevs.h \ src/sys/dev/usb/usbdevs_data

CVS commit: src/sys/dev/usb

2020-02-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Feb 15 02:08:54 UTC 2020 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add UE version of D-Link DWM-157 To generate a diff of this commit: cvs rdiff -u -r1.775 -r1.776 src/sys/dev/usb/usbdevs Please note that diffs ar

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

2020-01-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jan 30 01:49:44 UTC 2020 Modified Files: src/sys/arch/x86/x86: multiboot2.c Log Message: Insert memory map with its real size, not the maximum possible. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/

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

2020-01-28 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jan 29 01:54:34 UTC 2020 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Fix startup crashes caused by wrong memory map handling init_x86_vm() takes the memory map from BIOS and EFI and selects regions suitable

CVS commit: src/sys/arch/amd64

2020-01-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jan 9 00:42:24 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c src/sys/arch/amd64/conf: GENERIC files.amd64 kern.ldscript Log Message: Rollback multiboot2 for amd64, as requested by core To gener

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

2019-12-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Dec 17 01:37:53 UTC 2019 Modified Files: src/sys/arch/i386/stand/efiboot: efidisk.c src/sys/arch/i386/stand/lib: biosdisk.c Log Message: Do not use NAME=label syntax when label are empty When booting sysinst from UEFI,

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

2019-12-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Dec 15 02:58:22 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Fix typo that caused two instructions to be commented out Oddly, that did not break booting. To generate a diff of this commit: cvs rdi

CVS commit: src/sys/arch/amd64

2019-12-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Dec 15 02:56:40 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/amd64/conf: kern.ldscript Log Message: Restore multiboot 2 header in amd64 kernel The header must appear below 32k offset in the k

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

2019-12-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Dec 11 02:31:45 UTC 2019 Modified Files: src/sys/arch/amd64/conf: kern.ldscript Log Message: Rollback kernel link scrpt change for multiboot The multiboot section breaks BIOS boot. Rolling back the link script removes the secti

CVS commit: src/sys/arch

2019-12-09 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Dec 10 02:06:07 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c src/sys/arch/amd64/conf: GENERIC files.amd64 kern.ldscript src/sys/arch/x86/x86: efi.c multiboot2.c Log Message: Add multiboot

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

2019-12-09 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Dec 10 02:02:48 UTC 2019 Modified Files: src/sys/arch/i386/stand/boot: devopen.c src/sys/arch/i386/stand/efiboot: devopen.c src/sys/arch/i386/stand/lib: biosdisk.c Log Message: In-RAID partitions with no name can

CVS commit: src/sbin

2019-03-24 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Mar 25 02:13:01 UTC 2019 Modified Files: src/sbin/dump: dump.8 dump.h itime.c main.c src/sbin/dump_lfs: dump_lfs.8 Log Message: Add -U flag to dump(8) and dump_lfs(8) to specify dumpdates entry This address situations w

CVS commit: src/lib/libperfuse

2019-02-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Feb 9 02:22:45 UTC 2019 Modified Files: src/lib/libperfuse: ops.c Log Message: Fix directory filehandle usage with libufse. Fix lookup count libfuse does not use filehandle the same way for directories and other objects. As a

CVS commit: src/sys/kern

2019-01-30 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jan 31 02:27:06 UTC 2019 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Do not resolve fdat for openat(2) if path is absolute Opengroup says "The openat() function shall be equivalent to the open() function except i

CVS commit: src/lib/libperfuse

2018-11-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Nov 16 02:39:02 UTC 2018 Modified Files: src/lib/libperfuse: debug.c ops.c perfuse.c perfuse_priv.h Log Message: Use reclaim2 to fix reclaim/lookup race conditions The PUFFS reclaim operation had a race condition with lookups:

CVS commit: src/sys/dev/usb

2018-11-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Nov 16 00:34:51 UTC 2018 Modified Files: src/sys/dev/usb: usbdi.c Log Message: Build fix >From David H. Gutteridge To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/dev/usb/usbdi.c Please note that diff

CVS commit: src/sys/dev/usb

2018-11-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Nov 15 02:35:23 UTC 2018 Modified Files: src/sys/dev/usb: usb_quirks.c usb_quirks.h usbdi.c Log Message: Workaround NBP PN533 USB toggle bit bugs The PN533 is known to mishandle the USB toggle bit, causing replies to be filtere

CVS commit: src/sys/dev/usb

2018-11-07 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Nov 8 02:11:54 UTC 2018 Modified Files: src/sys/dev/usb: usb_quirks.c usb_quirks.h usbdi_util.c usbdi_util.h Log Message: Workaround PN533 USB descriptor corruption During normal operation, the PN533 chip may corrupt its USB c

CVS commit: src/sys/dev/usb

2018-11-07 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Nov 8 02:03:37 UTC 2018 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.752 -r1.753 src/sys/dev/usb/usbdevs.h \ src/sys/dev/usb/usbdevs_data

CVS commit: src/sys/dev/usb

2018-11-07 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Nov 8 02:01:28 UTC 2018 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add PN533 based NFC devices To generate a diff of this commit: cvs rdiff -u -r1.759 -r1.760 src/sys/dev/usb/usbdevs Please note that diffs are not

CVS commit: src/sys/dev/usb

2018-11-07 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Nov 8 01:59:53 UTC 2018 Modified Files: src/sys/dev/usb: ugen.c Log Message: Enfore USB timeout on ugen(4) write operations To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/dev/usb/ugen.c Please note t

CVS commit: src/sys/fs/puffs

2018-11-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Nov 6 02:39:49 UTC 2018 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Fix use after RECLAIM in PUFFS filesystems >From hannken@ When puffs_cookie2vnode() misses an entry and vrele() it operations puffs_vnop_rec

CVS commit: src/sys/fs/puffs

2018-11-04 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Nov 5 02:28:32 UTC 2018 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Add missing mutex pn->pn_sizemtx lock in puffs_vnop_open() puffs_vnop_open() calls flushvncache(), which calls dosetattr() if pn->pn_stat has

CVS commit: src/sys/dev/usb

2018-10-22 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Oct 23 01:49:37 UTC 2018 Modified Files: src/sys/dev/usb: uhub.c usb_subr.c Log Message: Make USB port iteration code consistent, always startint at port #1 This complements change in revision 1.140 To generate a diff of this

CVS commit: src/sys/dev/usb

2018-10-18 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 19 00:33:27 UTC 2018 Modified Files: src/sys/dev/usb: uhub.c Log Message: Make USB port numbers display consistent Make sure USB ports numbers are displayed with the first one as number one and not number zero when rescanni

CVS commit: src/sys/kern

2018-10-04 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 5 01:25:38 UTC 2018 Modified Files: src/sys/kern: vfs_trans.c Log Message: Back out sftchg/fstcnt deadlock workaround The change did prevent some system freeze, but caused spurious unmount failures reporter by bouyer@. ha

CVS commit: src/sys/dev/hdaudio

2018-09-26 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 27 01:18:11 UTC 2018 Modified Files: src/sys/dev/hdaudio: hdafg.c Log Message: Fix hdaudio device configuration When disabling unassociated devices, we have a special handling for pins of type COP_AWCAP_TYPE_PIN_COMPLEX, bu

CVS commit: src/sys/kern

2018-09-26 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 27 01:03:40 UTC 2018 Modified Files: src/sys/kern: vfs_trans.c Log Message: Work around deadlock between fstchg and fstcnt When suspending a filesystem in fstrans_setstate(), we wait on fstcnt for threads to finish transact

CVS commit: src/sys/kern

2018-02-07 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Feb 7 15:51:35 UTC 2018 Modified Files: src/sys/kern: subr_tftproot.c Log Message: Fix md(4) double attachment in TFTPROOT option The mdattach() call in tftproot_dhcpboot() has probably always been useless, but it seems it bec

CVS commit: src/sbin/route

2017-07-13 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jul 13 08:26:29 UTC 2017 Modified Files: src/sbin/route: rtutil.c Log Message: Fix route and netstat -r output when built with -DSMALL A missing \n caused the routing table to be printed all in one line if -DSMALL was used. T

CVS commit: src/external/bsd/dhcp/dist

2017-06-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jun 28 02:46:31 UTC 2017 Modified Files: src/external/bsd/dhcp/dist/client: dhclient.c src/external/bsd/dhcp/dist/common: bpf.c comapi.c discover.c dispatch.c dlpi.c execute.c lpf.c nit.c options.c packet.c pa

CVS commit: src/lib/libc/net

2017-06-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Jun 18 04:03:44 UTC 2017 Modified Files: src/lib/libc/net: Makefile.inc Log Message: Include IPv6 global variable in USE_INET6=no libc This ensures a binary built with USE_INET6=yes libc can still link at runtime with a USE_INE

CVS commit: src

2017-06-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Jun 18 03:56:39 UTC 2017 Modified Files: src/distrib/utils/libhack: Makefile Makefile.inc src/lib/libc/gen: getcap.c Log Message: Make shared -DSMALL libc buildable without breaking libhack We used -DSMALL to exclude co

CVS commit: src/sys/dev/hpc

2017-06-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Jun 12 09:23:39 UTC 2017 Modified Files: src/sys/dev/hpc: hpckbd.c Log Message: Restore wscons keymaps feature on hpcarm hpc ports need to alter keydesc data at runtime in order to load alternate keymaps. But since keydesc is c

CVS commit: src/external/bsd/dhcp/dist/relay

2017-06-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Jun 5 07:35:23 UTC 2017 Modified Files: src/external/bsd/dhcp/dist/relay: dhcrelay.c Log Message: Fix buggy dhcrelay(8) requirement to stay in foreground This version of dhcrelay(8) needed to stay inforeground with -d flag in

CVS commit: src/external/bsd/bind/lib/libdns

2017-05-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon May 15 13:38:34 UTC 2017 Modified Files: src/external/bsd/bind/lib/libdns: Makefile Log Message: Allow building with MKKERBEROS=no To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/bsd/bind/lib/libdns/

CVS commit: src/sys/compat/linux/arch

2017-01-02 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Jan 2 16:32:39 UTC 2017 Modified Files: src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h linux_syscalls.c linux_sysent.c src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.

CVS commit: src/sys/compat/linux

2017-01-02 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Jan 2 16:32:10 UTC 2017 Modified Files: src/sys/compat/linux/arch/alpha: syscalls.master src/sys/compat/linux/arch/amd64: syscalls.master src/sys/compat/linux/arch/arm: syscalls.master src/sys/compat/linu

CVS commit: src

2016-10-18 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Oct 18 15:06:17 UTC 2016 Modified Files: src/lib/libperfuse: libperfuse.3 perfuse.c src/usr.sbin/perfused: msg.c perfused.8 Log Message: Make FUSE socket buffer tunable When dealing with high I/O throughput, we could ru

CVS commit: src/sys/kern

2015-08-01 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Aug 2 03:29:22 UTC 2015 Modified Files: src/sys/kern: vfs_mount.c Log Message: Do not VFS_SYNC before VFS_UNMOUNT on force unmount VFS_SYNC does not consider whether we are performing a force unmount or not, and therefore it c

CVS commit: src/sys/nfs

2015-07-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jul 15 03:28:55 UTC 2015 Modified Files: src/sys/nfs: nfs_bio.c nfs_clntsocket.c nfs_iod.c nfs_socket.c nfs_var.h nfs_vfsops.c nfsmount.h Log Message: Fix soft NFS force unmount For many reasons, forcibly unmounting

CVS commit: src/sbin/umount

2015-06-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Jun 27 08:29:56 UTC 2015 Modified Files: src/sbin/umount: umount.c Log Message: Remove useless and harmful sync(2) call in umount(8) Remove sync(2) call before unmount(2) in umount(8). This sync(2) is useless since unmount(2) w

CVS commit: src/lib/libperfuse

2015-06-03 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jun 3 14:07:06 UTC 2015 Modified Files: src/lib/libperfuse: ops.c Log Message: Fix dot-lookup when readdir does not provide inodes Some filesystems do not provide inode numbers through readdir (FUSE mounts without -o use_ino).

CVS commit: src

2015-05-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri May 29 07:37:32 UTC 2015 Modified Files: src/include: limits.h src/lib/libpthread: pthread.c pthread_int.h pthread_key_create.3 pthread_tsd.c src/lib/libpthread_dbg: pthread_dbg.c Log Message: Make PT

CVS commit: src/sbin/raidctl

2015-05-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed May 27 15:31:15 UTC 2015 Modified Files: src/sbin/raidctl: raidctl.c Log Message: Better sanity check numbers given to raidctl(8) Replace atoi(3) by strtol(3), and check that numbers are valid, positive, and in int32_t range. T

CVS commit: src/usr.bin/make

2015-05-25 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon May 25 09:01:06 UTC 2015 Modified Files: src/usr.bin/make: targ.c Log Message: Fix warning about uninitialized variable This warning gets fatal when including make(1) as a crunchgen(1) binary. To generate a diff of this commi

CVS commit: src/usr.bin/netstat

2015-05-24 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon May 25 03:56:20 UTC 2015 Modified Files: src/usr.bin/netstat: route.c Log Message: Make sure netstat builds with -DSMALL src/usr.bin/netstat relies on code from src/sbin/route. WHen building with -DSMALL, some functions such as

CVS commit: src/bin/dd

2015-03-18 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Mar 18 13:23:49 UTC 2015 Modified Files: src/bin/dd: Makefile args.c dd.1 dd.c dd.h extern.h Log Message: Add iflag and oflag operands to dd(1) Like GNU dd(1) similar operands, iflag and oflag allow specifying the O_* flags giv

CVS commit: src/sys/fs/puffs

2015-02-25 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Feb 25 14:08:45 UTC 2015 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Update file size after write without metadata flush If we do not use metadata flush, we must make sure the size is updated in the filesystem

CVS commit: src

2015-02-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Feb 15 20:21:29 UTC 2015 Modified Files: src/lib/libperfuse: ops.c perfuse.c src/lib/libpuffs: puffs.3 src/sys/fs/puffs: puffs_msgif.h puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: Add PUFFS_K

CVS commit: src/lib/libc/gen

2015-01-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jan 29 15:55:22 UTC 2015 Modified Files: src/lib/libc/gen: fts.c Log Message: Fix double free in fts_read()/fts_close() When fts_read() gets an error on fchdir(), it exited with sp->fts_cur set to a freed structure. fts_close()

CVS commit: src/lib/libperfuse

2015-01-13 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Jan 13 16:51:30 UTC 2015 Modified Files: src/lib/libperfuse: ops.c Log Message: Fix atime update FUSE filesystems assume that SETATTR with atime is the result of utiimes() being called. As a result, atime and mtime will be upda

CVS commit: src/sys/fs/puffs

2015-01-13 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Jan 13 16:39:51 UTC 2015 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Make sure reads on empty files reach PUFFS filesystems Sending a read through the page cache will get the operation short-circuited. This is

CVS commit: src/lib/libpuffs

2014-12-22 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Dec 22 08:16:21 UTC 2014 Modified Files: src/lib/libpuffs: puffs.c Log Message: Do not warn about relative path because of trailing slash libpuffs calls realpath() to obtain an absolute path to use for mounting. If the obtained

CVS commit: src/sys/ufs/ufs

2014-12-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Dec 19 10:59:21 UTC 2014 Modified Files: src/sys/ufs/ufs: extattr.h Log Message: Bump UFS1 extended attribute max name length to 256 For extended attribute name max length, kernel filesystem-independant code use either EXTATTR_

CVS commit: src/usr.sbin/perfused

2014-12-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Dec 12 09:58:39 UTC 2014 Modified Files: src/usr.sbin/perfused: perfused.c Log Message: Survive if filesystem installs a signal handler We tested for signal(3) to return 0 for success, which is incorrect: signal(3) returns the

CVS commit: src/sys/kern

2014-11-26 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 26 10:50:36 UTC 2014 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Do not follow symlinks in sys_unmount() There are situations where the underlying filesystem is unreachable (e.g: NFS) causing symlink resolutio

CVS commit: src/sys/ufs/ufs

2014-11-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 19 16:26:47 UTC 2014 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix uninitialized mutex usage We use extended attribute mount mutex before testing if it had been initialized, and as reported by Christos, t

CVS commit: src/sys

2014-11-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Nov 16 16:01:43 UTC 2014 Modified Files: src/sys/arch/acorn26/conf: GENERIC src/sys/arch/acorn32/conf: GENERIC src/sys/arch/alpha/conf: GENERIC src/sys/arch/amd64/conf: ALL GENERIC XEN3_DOM0 XEN3_DOMU

CVS commit: src/sys/ufs/ufs

2014-11-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Nov 15 05:03:55 UTC 2014 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix UFS1 extended attribute backend autocreation deadlock UFS1 extended attribute backend autocration goes through a vn_open() to create the b

CVS commit: src/sys

2014-11-14 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Nov 14 10:09:50 UTC 2014 Modified Files: src/sys/kern: vfs_mount.c src/sys/ufs/ffs: ffs_vfsops.c src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix use-after-free on failed unmount with extended attribute enabled W

CVS commit: src/sys/arch

2014-11-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 12 10:47:24 UTC 2014 Modified Files: src/sys/arch/acorn26/conf: GENERIC src/sys/arch/acorn32/conf: GENERIC src/sys/arch/alpha/conf: GENERIC src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 XEN3_DOMU

CVS commit: src/lib/libperfuse

2014-11-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Nov 12 05:08:44 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Allow setxattr to be called with a NULL value, instead of crashing. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/lib/libperfu

CVS commit: src/lib/libperfuse

2014-11-04 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Nov 4 09:17:32 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Restore build with -DDEBUG, and avoid a spurious diagnostic error with -DDEBUG To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/l

CVS commit: src/sys/fs/puffs

2014-11-04 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Nov 4 09:14:42 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: PUFFS direct I/O cache fix There are a few situations where we must take care of the cache if direct I/O was enabled: - if we do direct I/O f

CVS commit: src/sys/fs/puffs

2014-11-04 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Nov 4 09:10:37 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: Fix PUFFS node use-after-reclaim When puffs_cookie2vnode() misses an entry, vcache_get() creates a new node (puffs_vfsop_loadvno

CVS commit: src/lib/libperfuse

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 15:20:08 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Avoid deadlocks on write errors On write errors, we failed to dequeue some operations, leading to rare but unpleasant deadlocks To generate a dif

CVS commit: src/lib/libperfuse

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 15:12:15 UTC 2014 Modified Files: src/lib/libperfuse: fuse.h ops.c perfuse.c perfuse_priv.h Log Message: FUSE fallocate support There seems to be no fdiscard FUSE operation at the moment, hence that one is left unused.

CVS commit: src/sys/fs/puffs

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 14:20:54 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_msgif.h Log Message: Add PUFFS_HAVE_FALLOCATE in puffs_msgif.h so that filesystem can decide at build time wether fallocate is usable To generate a diff of this

CVS commit: src/lib/libpuffs

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 13:56:04 UTC 2014 Modified Files: src/lib/libpuffs: dispatcher.c opdump.c puffs.c puffs.h puffs_ops.3 Log Message: libpuffs support for fallocate and fdiscard operations To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/sys/fs/puffs

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 13:52:41 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_msgif.h puffs_vnops.c Log Message: Add PUFFS support for fallocate and fdiscard operations To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/

CVS commit: src/sys/fs/puffs

2014-10-31 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 31 13:51:33 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: According to pooka@'s comment, a long time ago, VOP_STRATEGY could not fail without taking down the kernel. It seems this is not the case anym

CVS commit: src/lib/libperfuse

2014-10-28 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Oct 28 16:54:11 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Fix invalid free in deletextattr FUSE handler Do not free FUSE message on error as it was not allocated. To generate a diff of this commit: cvs r

CVS commit: src/lib/libperfuse

2014-10-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Oct 11 04:19:38 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Report allocated bytes on FS correctly, instead of using file size (which is wrong for sparse files) To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/fs/puffs

2014-10-06 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Oct 6 09:05:55 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Retore LP64 fix that was removed by mistake To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191 src/sys/fs/puffs/puffs_vnops.c

CVS commit: src/sys/fs/puffs

2014-10-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Oct 6 04:41:59 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Improve zero-fill of last page after shrink fix: 1) do it only if the file is open for writing, otherwise we send write requests to the FS on

CVS commit: src/sys/fs/puffs

2014-10-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Oct 5 07:53:22 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: If we truncate the file, make sure we zero-fill the end of the last page, otherwise if the file is later truncated to a larger size (creating

CVS commit: src/lib/libperfuse

2014-09-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Sep 30 00:06:19 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Do not trust the filesystem's readdir to give us nul-terminated file names To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/lib/l

CVS commit: src/lib/libc

2014-09-25 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 25 15:08:29 UTC 2014 Modified Files: src/lib/libc/include: namespace.h src/lib/libc/sys: Makefile.inc Added Files: src/lib/libc/sys: fdiscard.c posix_fallocate.c Log Message: Fix argument paddiing for posix_f

CVS commit: src/sys/fs/puffs

2014-09-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 11 07:59:14 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: PUFFS fixes for size update ater write plus read/write sanity checks - Always update kernel metadata cache for size when writing This fixes

CVS commit: src/lib/libperfuse

2014-09-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 11 04:05:52 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Avoid a file resize serialization deadlock when writing with PUFFS_IO_APPEND flag. The symptom was a hang when appending to a file with a null size.

CVS commit: src/sys/fs/puffs

2014-09-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 5 15:39:19 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: When changing a directory content, update the ctime/mtime in kernel cache, otherwise the updated ctime/mtime appears after the ca

CVS commit: src/lib/libperfuse

2014-09-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Sep 5 15:20:17 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: rmdir dir/.. must return an error. Use ENOTEMPRY like FFS does. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/lib/libperfuse/o

CVS commit: src/lib/libperfuse

2014-09-03 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Sep 3 16:01:45 UTC 2014 Modified Files: src/lib/libperfuse: ops.c perfuse.c Log Message: Improve POSIX compliance of FUSE filesystems through PERUSE - access denied is EPERM and not EACCES - access to file owned by someone else

CVS commit: src/usr.sbin/pcictl

2014-09-01 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 1 07:11:19 UTC 2014 Modified Files: src/usr.sbin/pcictl: pcictl.8 pcictl.c Log Message: read and write commands for pcictl, from riastradh@ and wiz@ http://mail-index.netbsd.org/tech-kern/2014/08/26/msg017572.html To gene

CVS commit: src/lib/libperfuse

2014-08-28 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Aug 29 04:58:40 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: We used to remove the trailing zeros in FUSE readlink replies, but it seems it does not always happen. Just remove them if present. To generate a

CVS commit: src/sys/kern

2014-08-26 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Aug 26 09:38:54 UTC 2014 Modified Files: src/sys/kern: subr_tftproot.c Log Message: Fix build with TFTPROOT option enabled To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/kern/subr_tftproot.c Please note

CVS commit: src/lib/libperfuse

2014-08-19 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Aug 19 15:29:14 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Remove usless warning that happens often with direct IO To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/lib/libperfuse/ops.c Pl

CVS commit: src/usr.sbin/perfused

2014-08-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 16 16:32:04 UTC 2014 Modified Files: src/usr.sbin/perfused: msg.c Log Message: Remove a warning that happens when the filesystem cleanly exits. Just display a message when running in debug mode. To generate a diff of this

CVS commit: src/lib/libperfuse

2014-08-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 16 16:31:16 UTC 2014 Modified Files: src/lib/libperfuse: ops.c perfuse.c perfuse_priv.h Log Message: Removed unimplemented mmap and seek method. seek's declaration caused seek request to be passed backand forth between kerne

CVS commit: src/lib/libperfuse

2014-08-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 16 16:28:43 UTC 2014 Modified Files: src/lib/libperfuse: ops.c perfuse.c perfuse_priv.h Log Message: Use just introduced open2 PUFFS method and its PUFFS_OPEN_IO_DIRECT oflag to implement FUSE's OPEN_IO_DIRECT, by which the

CVS commit: src/lib/libpuffs

2014-08-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 16 16:25:44 UTC 2014 Modified Files: src/lib/libpuffs: dispatcher.c puffs.h puffs_ops.3 Log Message: Add an open2 method, like open but with an additionnal oflags used by the filesystem to send back information about the fil

CVS commit: src/sys/fs/puffs

2014-08-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 16 16:19:41 UTC 2014 Modified Files: src/sys/fs/puffs: puffs_msgif.h puffs_sys.h puffs_vnops.c Log Message: Add a oflags input field to open requests so that the filesystem can pass back information about the file. Implement

CVS commit: src/lib/libperfuse

2014-08-09 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Aug 10 03:22:33 UTC 2014 Modified Files: src/lib/libperfuse: ops.c perfuse_priv.h subr.c Log Message: - Make sure non root users cannot access system namespace attributes - honour namespace specification when listing attributes

CVS commit: src/lib/libperfuse

2014-08-09 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 9 19:06:50 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: getextattr: fix attribute length being reported to caller. If buffer is too small, return ENORANGE. Caught by glusterFS regression tests To gener

CVS commit: src/lib/libperfuse

2014-08-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 9 03:17:11 UTC 2014 Modified Files: src/lib/libperfuse: ops.c Log Message: Send GETATTR to filesystem for removed but still-open files, as it is the expected behavior (bug caught by glusterFS regression tests) To generate

  1   2   3   >