[PATCH 3/4] reiserfs: private inode abstracted to static inline

2005-03-07 Thread Jeffrey Mahoney
Sorry for the (again) updated diff. This past week doesn't seem to have been my best for quality control; somewhere the xattr disabled case for reiserfs_mark_inode_private was dropped. Here's the updated patch. -Jeff This patch moves the assignment of i_priv_object to a static inline. This is in

[PATCH 3/4] reiserfs: private inode abstracted to static inline

2005-03-07 Thread Jeffrey Mahoney
Sorry for the (again) updated diff. This past week doesn't seem to have been my best for quality control; somewhere the xattr disabled case for reiserfs_mark_inode_private was dropped. Here's the updated patch. -Jeff This patch moves the assignment of i_priv_object to a static inline. This is in

[PATCH] blockdev: fixes race between mount/umount

2005-03-04 Thread Jeffrey Mahoney
This patch fixes a race between mount and umount in set_blocksize. The results can vary between buffer errors and infinite loops in __getblk_slow, and possibly others. The patch makes set_blocksize run under the bdev_lock if it is the sole holder of the block device. Changes: - Added missing

[PATCH 1/4] vfs: adds the S_PRIVATE flag and adds use to security

2005-03-04 Thread Jeffrey Mahoney
This patch adds an S_PRIVATE flag to inode->i_flags to mark an inode as filesystem-internal. As such, it should be excepted from the security infrastructure to allow the filesystem to perform its own access control. Changes: - Post-operations for calls that generally instantiate the dentry

[PATCH 1/4] vfs: adds the S_PRIVATE flag and adds use to security

2005-03-04 Thread Jeffrey Mahoney
This patch adds an S_PRIVATE flag to inode-i_flags to mark an inode as filesystem-internal. As such, it should be excepted from the security infrastructure to allow the filesystem to perform its own access control. Changes: - Post-operations for calls that generally instantiate the dentry but

[PATCH] blockdev: fixes race between mount/umount

2005-03-04 Thread Jeffrey Mahoney
This patch fixes a race between mount and umount in set_blocksize. The results can vary between buffer errors and infinite loops in __getblk_slow, and possibly others. The patch makes set_blocksize run under the bdev_lock if it is the sole holder of the block device. Changes: - Added missing

[PATCH 3/3] openfirmware: implements hotplug for macio devices

2005-03-01 Thread Jeffrey Mahoney
This patch adds the hotplug routine for generating hotplug events when devices are seen on the macio bus. It uses the attributed created by the sysfs nodes to generate the hotplug environment vars for userspace. In order for hotplug to work with macio devices, patches to module-init-tools and

[PATCH 1/3] openfirmware: generate device table for userspace

2005-03-01 Thread Jeffrey Mahoney
This patch converts the usage of struct of_match to struct of_device_id, similar to pci_device_id. This allows a device table to be generated, which can be parsed by depmod(8) to generate a map file for module loading. In order for hotplug to work with macio devices, patches to module-init-tools

[PATCH 2/3] openfirmware: adds sysfs nodes for openfirmware devices

2005-03-01 Thread Jeffrey Mahoney
This patch adds sysfs nodes that the hotplug userspace can use to load the appropriate modules. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/

[PATCH 0/3] openfirmware/macio: implements hotplug for macio devices

2005-03-01 Thread Jeffrey Mahoney
Hello all - I posted these patches a while ago, and let them fall by the wayside. The following 3 patches, combined with the userspace patches referenced below, implement hotplug events for open firmware/macio devices such as apple airport wireless ethernet cards. *

[PATCH 0/4] Allow reiserfs to work with selinux

2005-03-01 Thread Jeffrey Mahoney
Hello all - I sent out these patches in December, but they were dropped somewhere along the way. There was only a simple reject from the switch from dentry to inode in get/set/listsecurity which has been fixed. I'm posting the following patches against 2.6.11-rc5: * 01-vfs-private-flag.diff -

[PATCH 4/4] reiserfs: change reiserfs to use S_PRIVATE

2005-03-01 Thread Jeffrey Mahoney
This patch changes reiserfs to use the VFS level private inode flags, and eliminates the old reiserfs private inode flag. Signed-off-by: Jeff Mahoney <[EMAIL PROTECTED]> diff -ruNpX dontdiff linux-2.6.9.base/include/linux/reiserfs_xattr.h linux-2.6.9.private/include/linux/reiserfs_xattr.h ---

[PATCH 3/4] reiserfs: private inode abstracted to static inline

2005-03-01 Thread Jeffrey Mahoney
This patch moves the assignment of i_priv_object to a static inline. This is in preparation for selinux support in reiserfs. Signed-off-by: Jeff Mahoney <[EMAIL PROTECTED]> diff -ruNpX dontdiff linux-2.6.9/fs/reiserfs/inode.c linux-2.6.9.base/fs/reiserfs/inode.c ---

[PATCH 2/4] selinux: internal inode loop needs IS_PRIVATE test

2005-03-01 Thread Jeffrey Mahoney
This patch applies the IS_PRIVATE test to the selinux internal inode loop. Signed-off-by: Jeff Mahoney <[EMAIL PROTECTED]> diff -ruNpX dontdiff linux-2.6.9.base/security/selinux/hooks.c linux-2.6.9.private/security/selinux/hooks.c --- linux-2.6.9.base/security/selinux/hooks.c 2004-11-19

[PATCH 1/4] vfs: adds the S_PRIVATE flag and adds use to security

2005-03-01 Thread Jeffrey Mahoney
This patch adds an S_PRIVATE flag to inode->i_flags to mark an inode as filesystem-internal. As such, it should be excepted from the security infrastructure to allow the filesystem to perform its own access control. Signed-off-by: Jeff Mahoney <[EMAIL PROTECTED]> diff -ruNpX dontdiff

[PATCH 1/4] vfs: adds the S_PRIVATE flag and adds use to security

2005-03-01 Thread Jeffrey Mahoney
This patch adds an S_PRIVATE flag to inode-i_flags to mark an inode as filesystem-internal. As such, it should be excepted from the security infrastructure to allow the filesystem to perform its own access control. Signed-off-by: Jeff Mahoney [EMAIL PROTECTED] diff -ruNpX dontdiff

[PATCH 2/4] selinux: internal inode loop needs IS_PRIVATE test

2005-03-01 Thread Jeffrey Mahoney
This patch applies the IS_PRIVATE test to the selinux internal inode loop. Signed-off-by: Jeff Mahoney [EMAIL PROTECTED] diff -ruNpX dontdiff linux-2.6.9.base/security/selinux/hooks.c linux-2.6.9.private/security/selinux/hooks.c --- linux-2.6.9.base/security/selinux/hooks.c 2004-11-19

[PATCH 4/4] reiserfs: change reiserfs to use S_PRIVATE

2005-03-01 Thread Jeffrey Mahoney
This patch changes reiserfs to use the VFS level private inode flags, and eliminates the old reiserfs private inode flag. Signed-off-by: Jeff Mahoney [EMAIL PROTECTED] diff -ruNpX dontdiff linux-2.6.9.base/include/linux/reiserfs_xattr.h linux-2.6.9.private/include/linux/reiserfs_xattr.h ---

[PATCH 3/4] reiserfs: private inode abstracted to static inline

2005-03-01 Thread Jeffrey Mahoney
This patch moves the assignment of i_priv_object to a static inline. This is in preparation for selinux support in reiserfs. Signed-off-by: Jeff Mahoney [EMAIL PROTECTED] diff -ruNpX dontdiff linux-2.6.9/fs/reiserfs/inode.c linux-2.6.9.base/fs/reiserfs/inode.c ---

[PATCH 0/4] Allow reiserfs to work with selinux

2005-03-01 Thread Jeffrey Mahoney
Hello all - I sent out these patches in December, but they were dropped somewhere along the way. There was only a simple reject from the switch from dentry to inode in get/set/listsecurity which has been fixed. I'm posting the following patches against 2.6.11-rc5: * 01-vfs-private-flag.diff -

[PATCH 0/3] openfirmware/macio: implements hotplug for macio devices

2005-03-01 Thread Jeffrey Mahoney
Hello all - I posted these patches a while ago, and let them fall by the wayside. The following 3 patches, combined with the userspace patches referenced below, implement hotplug events for open firmware/macio devices such as apple airport wireless ethernet cards. *

[PATCH 2/3] openfirmware: adds sysfs nodes for openfirmware devices

2005-03-01 Thread Jeffrey Mahoney
This patch adds sysfs nodes that the hotplug userspace can use to load the appropriate modules. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/

[PATCH 1/3] openfirmware: generate device table for userspace

2005-03-01 Thread Jeffrey Mahoney
This patch converts the usage of struct of_match to struct of_device_id, similar to pci_device_id. This allows a device table to be generated, which can be parsed by depmod(8) to generate a map file for module loading. In order for hotplug to work with macio devices, patches to module-init-tools

[PATCH 3/3] openfirmware: implements hotplug for macio devices

2005-03-01 Thread Jeffrey Mahoney
This patch adds the hotplug routine for generating hotplug events when devices are seen on the macio bus. It uses the attributed created by the sysfs nodes to generate the hotplug environment vars for userspace. In order for hotplug to work with macio devices, patches to module-init-tools and