CVS commit: src/usr.sbin/puffs/mount_psshfs

2010-01-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Jan 8 10:53:32 UTC 2010 Modified Files: src/usr.sbin/puffs/mount_psshfs: psbuf.c Log Message: Fix compilation with -Wsign-compare. Apparently 5.0 doesn't have -Wsign-compare enabled, which explains a thing or two ...

CVS commit: src/sys

2010-01-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Jan 8 11:35:12 UTC 2010 Modified Files: src/sys/compat/common: vfs_syscalls_43.c src/sys/compat/irix: irix_mman.c src/sys/fs/adosfs: adlookup.c src/sys/fs/cd9660: cd9660_lookup.c cd9660_vfsops.c

CVS commit: src/lib/libpuffs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 18:09:07 UTC 2010 Modified Files: src/lib/libpuffs: opdump.c puffsdump.h Log Message: * make indentation a little less ridiculous * note that interfaces provided by puffsdump.h are not stable and are to be used only

CVS commit: src/sys/kern

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 19:54:40 UTC 2010 Modified Files: src/sys/kern: vfs_subr.c Log Message: Make sure struct vattr contains no random bits of kernel memory after vattr_null(). This is especially nice considering things like puffs, where

CVS commit: src/lib/libpuffs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 20:47:48 UTC 2010 Modified Files: src/lib/libpuffs: opdump.c puffsdump.h Log Message: Dump contents of struct vattr -- i never remember which members the kernel passes when, so this helps tapping that info. To

CVS commit: src/usr.sbin/puffs/mount_psshfs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 21:05:50 UTC 2010 Modified Files: src/usr.sbin/puffs/mount_psshfs: mount_psshfs.8 node.c psbuf.c psshfs.c psshfs.h subr.c Log Message: Add -u and -g, which allow to remap one (local,remote) uidgid, i.e.

CVS commit: src/usr.sbin/puffs/mount_psshfs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 21:19:45 UTC 2010 Modified Files: src/usr.sbin/puffs/mount_psshfs: psbuf.c Log Message: Fix chgrp (and don't rely on VNOVAL being -1, however unlikely that is to be broken). To generate a diff of this commit: cvs

CVS commit: src/usr.sbin/puffs/mount_psshfs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 21:23:10 UTC 2010 Modified Files: src/usr.sbin/puffs/mount_psshfs: psshfs.c Log Message: Don't allow mangling of uid or gid -1, since they have a special meaning in the sftp protocol. To generate a diff of this

CVS commit: src/usr.sbin/puffs/mount_psshfs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 21:26:49 UTC 2010 Modified Files: src/usr.sbin/puffs/mount_psshfs: psshfs.c Log Message: errx() already contains progname ... To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys/fs/puffs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 22:45:31 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c puffs_msgif.h puffs_sys.h Log Message: Add a PUFFS_UNMOUNT server-kernel request, which causes the kernel to initiate self destruct, i.e.

CVS commit: src/lib/libpuffs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 22:46:11 UTC 2010 Modified Files: src/lib/libpuffs: opdump.c Log Message: Be slightly more forgiving about unknown operation types. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/fs/puffs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 22:59:27 UTC 2010 Modified Files: src/sys/fs/puffs: puffs_msgif.c Log Message: Fix variable name in my commit tree too. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/fs/puffs/puffs_msgif.c

CVS commit: src/lib/libpuffs

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 7 23:03:26 UTC 2010 Modified Files: src/lib/libpuffs: puffs.c Log Message: Use typecast instead of ULL for a less whiny lint on LP64. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104

CVS commit: src/sys/dev/dm

2010-01-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Jan 8 00:27:48 UTC 2010 Modified Files: src/sys/dev/dm: device-mapper.c Log Message: Fix this for non-module (which, i guess, is only i386/ALL). XXX: autoconfusion vs. modules is an intolerable mess of stepping on each

CVS commit: src/lib/libpuffs

2010-01-04 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Jan 4 22:04:50 UTC 2010 Modified Files: src/lib/libpuffs: puffs_framebuf.3 Log Message: fix typography To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/libpuffs/puffs_framebuf.3 Please note that diffs

Re: CVS commit: src

2009-12-07 Thread Antti Kantee
On Sun Dec 06 2009 at 22:18:24 +, David Holland wrote: On Sat, Dec 05, 2009 at 04:29:15PM +, Antti Kantee wrote: Log Message: Remove support for NetBSD/playstation2. Does this mean we can get rid of cross/mipsEEel-netbsd in pkgsrc? Fine by me. It didn't even pass make patch

Re: CVS commit: src/lib/libc/resolv

2009-10-24 Thread Antti Kantee
On Sat Oct 24 2009 at 01:35:37 -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sat Oct 24 05:35:37 UTC 2009 Modified Files: src/lib/libc/resolv: res_data.c res_init.c res_private.h res_send.c Log Message: Add a knote to keep track when

Re: CVS commit: src/sys/ufs/ufs

2009-09-22 Thread Antti Kantee
On Tue Sep 22 2009 at 20:06:40 +0200, Manuel Bouyer wrote: On Sun, Sep 20, 2009 at 08:23:38PM +0300, Antti Kantee wrote: In ufs_ihashget(), vget() can return a vnode that has been vclean'ed because vget() can sleep. After vget returns, check that vp is still connected with ip

Re: CVS commit: src/sys/ufs/ufs

2009-09-22 Thread Antti Kantee
On Tue Sep 22 2009 at 21:04:14 +0200, Manuel Bouyer wrote: that's not an issue with the reference count. It's an issue with vclean() calling VOP_RECLAIM() even if the refcount is greater than 1, and vrelel() calling vclean() even if the refcount is greater than 1, when the file has been

Re: CVS commit: src/sys/ufs/ufs

2009-09-22 Thread Antti Kantee
On Tue Sep 22 2009 at 21:58:02 +0200, Manuel Bouyer wrote: [explanations] This is starting to sound sensible now. You obviously have invested quite a bit of thought in investigating the problem. Blah, I didn't even want to think about this migrane-inducer now. Maybe people who have

Re: CVS commit: src/sys/ufs/ufs

2009-09-20 Thread Antti Kantee
On Sun Sep 20 2009 at 14:00:24 +, Manuel Bouyer wrote: Module Name: src Committed By: bouyer Date: Sun Sep 20 14:00:24 UTC 2009 Modified Files: src/sys/ufs/ufs: ufs_ihash.c Log Message: PR kern/41147: race between nfsd and local rm Note that the race also exists

Re: CVS commit: src/usr.sbin/puffs/rump_smbfs

2009-09-13 Thread Antti Kantee
On Fri Sep 11 2009 at 06:48:50 +, Nick Hudson wrote: Module Name: src Committed By: skrll Date: Fri Sep 11 06:48:50 UTC 2009 Modified Files: src/usr.sbin/puffs/rump_smbfs: Makefile Log Message: Allow this to build while link sets and rump are broken. Hi Nick, In the

Re: CVS commit: src/sys/rump

2009-09-08 Thread Antti Kantee
On Tue Sep 08 2009 at 13:02:55 +, Christos Zoulas wrote: In article 20090907174634.ga16...@cs.hut.fi, Antti Kantee po...@netbsd.org wrote: On Tue Sep 08 2009 at 03:28:35 +1000, matthew green wrote: Module Name:src Committed By: pooka Date: Mon Sep 7 13:02

Re: CVS commit: src/sys/rump

2009-09-08 Thread Antti Kantee
On Tue Sep 08 2009 at 13:25:39 +, David Holland wrote: On Tue, Sep 08, 2009 at 04:18:01PM +0300, Antti Kantee wrote: No, __NetBSD__ is right. For all purposes, code in the rump kernel *is* NetBSD. E.g. if you have #ifdef __NetBSD__ in a kernel driver which was imported from

Re: CVS commit: src/sys/dev

2009-09-08 Thread Antti Kantee
On Tue Sep 08 2009 at 20:57:59 +, Antti Kantee wrote: Module Name: src Committed By: pooka Date: Tue Sep 8 20:57:59 UTC 2009 Modified Files: src/sys/dev: rnd.c Log Message: rnd_wakeup_readers() uses rndpool_mtx for its own consistency management, so it cannot

Re: CVS commit: src/sys/rump

2009-09-07 Thread Antti Kantee
On Tue Sep 08 2009 at 03:28:35 +1000, matthew green wrote: Module Name: src Committed By: pooka Date: Mon Sep 7 13:02:37 UTC 2009 Modified Files: src/sys/rump: Makefile.rump Log Message: Always define __NetBSD__ (for builds on

Re: CVS commit: src/sys

2009-05-04 Thread Antti Kantee
On Mon May 04 2009 at 15:06:56 +, YAMAMOTO Takashi wrote: Log Message: when freeing cn_pnbuf, make it NULL if DIAGNOSTIC. Even better if PNBUF_PUT() does it so that we catch all violations? i don't like such a magic macro. I don't like namei ;) these #ifdef indicate that

Re: CVS commit: src/sys/fs/tmpfs

2009-04-28 Thread Antti Kantee
On Tue Apr 28 2009 at 00:29:05 +, YAMAMOTO Takashi wrote: Hmm, does this work correctly if you find the component via the cache_lookup() path? Ok, I dug into this a little. Short answer: no, but ... It seems that cache_lookup() always returns false if MAKEENTRY is not set.

Re: CVS commit: src/sys/fs/tmpfs

2009-04-24 Thread Antti Kantee
On Sat Apr 11 2009 at 20:42:59 +, Andrew Doran wrote: On Sat, Apr 11, 2009 at 12:21:57AM +, Perry E. Metzger wrote: Modified Files: src/sys/fs/tmpfs: tmpfs_vnops.c Log Message: SAVENAME was not set for rename and delete as required Patch from christos, fixes pr 41183

Re: CVS commit: src/sys/fs/tmpfs

2009-04-15 Thread Antti Kantee
On Fri Apr 10 2009 at 22:36:38 +, Andrew Doran wrote: On Sat, Apr 11, 2009 at 01:32:09AM +0300, Antti Kantee wrote: On Fri Apr 10 2009 at 21:34:10 +, Andrew Doran wrote: On Fri, Apr 10, 2009 at 06:57:45PM +0200, Frank Kardel wrote: It may be related: I am now seeing a tmpfs

<    1   2   3   4   5