3.0.25pre2-SVN-build-21871 and panic in vfs_full_audit.c

Thomas Bork tombork at web.de
Sun Mar 18 20:30:06 GMT 2007


I wrote:

> This was a clean build und the modules are in place:

Maybe this is the problem:
In vfs.h:

[...]
		struct vfs_handle_struct *readlink;
		struct vfs_handle_struct *link;
		struct vfs_handle_struct *mknod;
		struct vfs_handle_struct *realpath;
		struct vfs_handle_struct *notify_watch;
		struct vfs_handle_struct *chflags;

In vfs_full_audit.c:

/* The following array *must* be in the same order as defined in vfs.h */
[...]
	{ SMB_VFS_OP_READLINK,	"readlink" },
	{ SMB_VFS_OP_LINK,	"link" },
	{ SMB_VFS_OP_MKNOD,	"mknod" },
	{ SMB_VFS_OP_REALPATH,	"realpath" },
	{ SMB_VFS_OP_CHFLAGS,	"chflags" },


This is *not* the same order. In vfs.h there is 'notify_watch' between 
realpath and chflags. This is not in vfs_full_audit.c...



der tom


More information about the samba-technical mailing list