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/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/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/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 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/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/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/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/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/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/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/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/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/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-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-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/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/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/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/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/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/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/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

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/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/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/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/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/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

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/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/lib/libperfuse

2012-03-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Mar 8 14:58:58 UTC 2012 Modified Files: src/lib/libperfuse: ops.c perfuse_priv.h subr.c Log Message: The kernel can lookup the same node multiple time and will reclaim as many times it looked up. All reclaims but the last one m

CVS commit: src/sys/fs/puffs

2012-04-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Apr 8 15:04:41 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_msgif.h puffs_node.c puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: Add name and atttribute cache with filesytem provided TTL. lookup, create, m

CVS commit: src/lib/libpuffs

2012-04-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Apr 8 15:07:46 UTC 2012 Modified Files: src/lib/libpuffs: dispatcher.c pnode.c puffs.3 puffs.h Log Message: Add PUFFS_KFLAG_CACHE_FS_TTL flag to puffs_init(3) to use name and attribute cache with filesystem provided TTL. lookup

CVS commit: src/lib/libperfuse

2012-04-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Apr 8 15:13:06 UTC 2012 Modified Files: src/lib/libperfuse: ops.c perfuse.c perfuse_priv.h Log Message: Use new PUFFS_KFLAG_CACHE_FS_TTL option to puffs_init(3) so that FUSE TTL on name and attributes are used. This save many P

CVS commit: src/sys/fs/puffs

2012-04-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Apr 18 00:42:50 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: - Makesure update_va does not change vnode size when it should not. For instance when doing a fault-issued VOP_GETPAGES within VOP_WRITE, chan

CVS commit: src/lib

2012-04-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Apr 18 00:57:22 UTC 2012 Modified Files: src/lib/libperfuse: ops.c perfuse.c perfuse_priv.h subr.c src/lib/libpuffs: dispatcher.c pnode.c puffs.3 puffs.h puffs_ops.3 puffs_priv.h Log Message: - When using PUF

CVS commit: src/tests/fs/puffs

2012-04-20 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Apr 21 01:03:47 UTC 2012 Modified Files: src/tests/fs/puffs: t_fuzz.c Log Message: Do not set PUFFS_KFLAG_CACHE_FS_TTL for PUFFS tests To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/fs/puffs/t_fuzz.c Pl

CVS commit: src/sys/kern

2012-04-28 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Apr 28 17:30:20 UTC 2012 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Do not use vp after mount_domount() call as it sets it to NULL on success. This fixes a panic when starting extended attributes. To generate a

CVS commit: src/sys/kern

2012-04-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Apr 30 03:51:10 UTC 2012 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Fix mount -o extattr : previous patch fixed a panic but caused operation to happen on the mount point instead of the mounted filesystem. To gen

CVS commit: src/sys/kern

2012-04-30 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Apr 30 10:05:13 UTC 2012 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Fix the extattr start fix. Looking up the filesystemroot vnode again does not seems to be reliable. Instead save it before mount_domount() sets i

CVS commit: src/sys

2012-05-01 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue May 1 07:48:25 UTC 2012 Modified Files: src/sys/kern: vfs_xattr.c src/sys/ufs/ufs: ufs_extattr.c Log Message: Return ENODATA when no attribute is found, like Linux does. After all we decided to adopt the Linux API, ther

CVS commit: src/lib/libperfuse

2012-05-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon May 28 02:13:33 UTC 2012 Modified Files: src/lib/libperfuse: ops.c Log Message: Setting mode by fchmod(2) will break on glusterfs-3.3 is we attempt to set atime and mtime at the same time. Detect that situation just like we dete

CVS commit: src

2012-06-05 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Tue Jun 5 15:04:18 UTC 2012 Modified Files: src/lib/libperfuse: perfuse_if.h src/usr.sbin/perfused: perfused.c Log Message: Add placeholder so that we can later add allbacks without breaking the ABI To generate a diff of

CVS commit: src/lib/libperfuse

2012-06-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jun 13 01:45:56 UTC 2012 Modified Files: src/lib/libperfuse: ops.c Log Message: Fix memory leak on setattr To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/lib/libperfuse/ops.c Please note that diffs are not

CVS commit: src/lib/libperfuse

2012-06-13 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jun 14 05:58:22 UTC 2012 Modified Files: src/lib/libperfuse: ops.c Log Message: Fix memory leak when we discard a voided setattr operation To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/lib/libperfuse/ops.c

CVS commit: src/usr.bin/extattr

2012-06-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Jun 17 08:09:29 UTC 2012 Modified Files: src/usr.bin/extattr: getextattr.c Log Message: Fix off-by-one in hexdump display (getextattr -x), which displayed a trailing garbage byte. To generate a diff of this commit: cvs rdiff -

CVS commit: src/lib/libpuffs

2012-06-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jun 27 13:25:24 UTC 2012 Modified Files: src/lib/libpuffs: dispatcher.c puffs.h puffs_ops.3 Log Message: Pass the FAF flag to handlers: - setattr_ttl is updated to add a flag argument. Since it was not present in a previous re

CVS commit: src

2012-07-20 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Jul 21 05:17:11 UTC 2012 Modified Files: src/lib/libpuffs: dispatcher.c puffs.h src/sys/fs/puffs: puffs_msgif.c puffs_msgif.h puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: - Improve PUFFS_KFLAG_CACHE_

CVS commit: src

2012-07-20 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Jul 21 05:49:42 UTC 2012 Modified Files: src/lib/libperfuse: debug.c ops.c perfuse.c perfuse_if.h perfuse_priv.h subr.c src/usr.sbin/perfused: msg.c perfused.c Log Message: - Fix same vnodes associated with m

CVS commit: src/sys/fs/puffs

2012-07-22 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Jul 22 17:40:46 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_vfsops.c Log Message: Fix hang unmount bug introduced by last commit. We introduced a slow queue for delayed reclaims, while the existing queue for

CVS commit: src/sys/fs/puffs

2012-07-23 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Jul 23 12:15:31 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: Di not call cache_enter with path components bigger than NCHNAMLEN, as it panics the kernel. To generate a diff of this commit:

CVS commit: src/sys/fs/puffs

2012-07-23 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Jul 23 19:06:11 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_node.c puffs_vnops.c Log Message: Backout NCHNAMLEN check for cache_enter. That change collided with rmind's move of this exact check into cache_enter To generat

CVS commit: src/sys/fs/puffs

2012-07-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Jul 27 07:25:56 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vfsops.c To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/fs/puffs/puffs_vfsops.c Please note that diffs are not public domain; they are s

CVS commit: src/sys/fs/puffs

2012-07-27 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Jul 27 07:38:45 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_sys.h puffs_vfsops.c puffs_vnops.c Log Message: Rename slow sopreq queue into node sopreq queue, to refet the fact that is only intended

CVS commit: src/sys/fs/puffs

2012-08-09 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Aug 9 07:46:18 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vfsops.c Log Message: Backout previous bugfix attempt for unmounts. That changes did not address the real problem. To generate a diff of this commit: cvs rdiff -

CVS commit: src

2012-08-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Aug 10 08:42:11 UTC 2012 Modified Files: src/lib/libpuffs: dispatcher.c src/sys/fs/puffs: puffs_vnops.c Log Message: Fix race condition between (create|mknod|mkdir|symlino) and reclaim, just like we did it between lookup

CVS commit: src/sys/fs/puffs

2012-08-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Aug 10 14:52:57 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Missing bit in previous commit (prevent race between create|mknod|mkdir|symlink and reclaim) To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2012-08-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Aug 10 16:49:36 UTC 2012 Modified Files: src/lib/libperfuse: perfuse.c src/lib/libpuffs: puffs.3 src/sys/fs/puffs: puffs_msgif.h puffs_vnops.c Log Message: Add PUFFS_KFLAG_CACHE_DOTDOT so that vnodes hold a refer

CVS commit: src/sys/fs/puffs

2012-08-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Aug 11 01:10:11 UTC 2012 Modified Files: src/sys/fs/puffs: puffs_sys.h Log Message: Missing bit in previous commit (PUFFS_KFLAG_CACHE_DOTDOT option to avoid looking up ..) To generate a diff of this commit: cvs rdiff -u -r1.81

CVS commit: src/lib/libp2k

2012-08-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Aug 12 02:51:18 UTC 2012 Modified Files: src/lib/libp2k: p2k.c Log Message: libpuffs and libp2k both use the cookie to different structure, which now leads to struct p2k_node corruption now that libpuffs used pn_nlookup field in

CVS commit: src/crypto/dist/ipsec-tools/src/racoon

2012-08-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Aug 15 14:51:30 UTC 2012 Modified Files: src/crypto/dist/ipsec-tools/src/racoon: crypto_openssl.c Log Message: Fix make test on powermac G5. Patch from Nakano Takaharu To generate a diff of this commit: cvs rdiff -u -r1.20 -r1

CVS commit: src/lib

2012-08-16 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Aug 16 09:25:44 UTC 2012 Modified Files: src/lib/libp2k: p2k.c src/lib/libpuffs: dispatcher.c pnode.c puffs.3 puffs.h puffs_ops.3 Log Message: Fix regression that has been introduced when the lookup/reclaim race conditio

CVS commit: src/sys/ufs/ufs

2012-09-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Sep 9 04:27:49 UTC 2012 Modified Files: src/sys/ufs/ufs: ufs_quota.c Log Message: Temporary fix for quotactl authorization: it must use the effective UID and not the real UID. Further work is required to move the check to the

CVS commit: src/sys/ufs/ffs

2012-09-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 10 07:57:51 UTC 2012 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: Stop extended attributes at the appropriate place so that unmount does not fail with EBUSY on filesystem with extended attributes ensabled. To

CVS commit: src/lib/libperfuse

2012-09-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 10 13:56:18 UTC 2012 Modified Files: src/lib/libperfuse: perfuse.c Log Message: Turn a fatal error into a warning. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/lib/libperfuse/perfuse.c Please note tha

CVS commit: src/sys/ufs/ufs

2012-09-10 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Sep 10 14:00:15 UTC 2012 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: Fix unmount returnign EBUSY if an attribute was autocreated: we hold a useless reference that we never gave back To generate a diff of this c

CVS commit: src

2012-09-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Sep 12 02:00:55 UTC 2012 Modified Files: src/distrib/sets/lists/tests: mi src/lib/libc/arch/hppa/gen: swapcontext.S src/lib/libc/arch/mips/gen: _resumecontext.S swapcontext.S src/lib/libc/arch/powerpc64/ge

CVS commit: src/lib/libc/arch/alpha/gen

2012-09-12 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Sep 12 14:13:44 UTC 2012 Modified Files: src/lib/libc/arch/alpha/gen: _lwp.c Log Message: Fix the build, _UC_UNIQUE has been renamed _UC_TLSBASE To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/arch/alp

CVS commit: src/lib/libperfuse

2012-11-03 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Nov 3 15:43:20 UTC 2012 Modified Files: src/lib/libperfuse: ops.c Log Message: When lookup returns a node with null inode number, it means the ENOENT, with negative caching. We do not implement negative caching yet, but we hono

CVS commit: src

2012-11-18 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sun Nov 18 17:41:54 UTC 2012 Modified Files: src/distrib/sets/lists/comp: mi src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/include: limits.h unistd.h src/lib/libc/sys: Makefile.

CVS commit: src/sys/ufs/ufs

2012-12-08 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Sat Dec 8 13:42:36 UTC 2012 Modified Files: src/sys/ufs/ufs: ufs_extattr.c Log Message: Remove always-true condition and note that the current code is suboptimal. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/

CVS commit: src/crypto/external/bsd/openssl/dist/engines/ccgost

2013-02-03 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Mon Feb 4 01:44:47 UTC 2013 Modified Files: src/crypto/external/bsd/openssl/dist/engines/ccgost: gost_eng.c Log Message: Pull multiple free bua fix from upstream: http://git.openssl.org/gitweb/?p=openssl.git;a=patch;h=d21bf10dea658

CVS commit: src/sys/compat/netbsd32

2014-05-15 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu May 15 18:25:35 UTC 2014 Modified Files: src/sys/compat/netbsd32: netbsd32_netbsd.c Log Message: Fix cases where count <= 0 (thanks to Maxime Villard for raising this) To generate a diff of this commit: cvs rdiff -u -r1.186 -r

CVS commit: src/usr.bin/extattr

2014-06-20 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Jun 20 14:55:32 UTC 2014 Modified Files: src/usr.bin/extattr: getextattr.c Log Message: Do not record a trailing \0 >From Thomas Schmitt To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/extattr/getext

CVS commit: src/usr.bin/extattr

2014-06-20 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Jun 20 15:22:01 UTC 2014 Modified Files: src/usr.bin/extattr: getextattr.c Log Message: Use returned size and not buffer max length when displaying attribute >From Thomas Schmitt To generate a diff of this commit: cvs rdiff -

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

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-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/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/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/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/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/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-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/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-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/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-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/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/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-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-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/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/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/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/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-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/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/lib/libperfuse

2010-08-25 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Aug 25 07:16:00 UTC 2010 Added Files: src/lib/libperfuse: Makefile debug.c fuse.h libperfuse.3 ops.c perfuse.c perfuse.h perfuse_if.h perfuse_priv.h shlib_version subr.c Log Message: libperfuse(3) is a PU

  1   2   3   >