On Sun, Oct 17, 2004 at 08:54:57PM +1300, Sam Vilain wrote: > Herbert, Hey Sam!
> Could you please add this (and the equivalent to ext3_fs.h, > reiserfs_fs.h, etc) to the head branch? I'd like to keep using > my ioctl() based scripts, until vunify works as well as unify-dirs, > and there is a vserver-build.immucp hmm, the ioctl has major drawbacks (especially not being able to reach non-regular inode entries) but in the case of IUNLINK and IMMUTABLE that would not apply anyway ... > --- ext2_fs.h.orig 2004-10-17 20:29:10.000000000 +1300 > +++ ext2_fs.h 2004-10-17 20:26:47.000000000 +1300 > @@ -196,8 +196,13 @@ > #define EXT2_IUNLINK_FL 0x08000000 /* Immutable > unlink */ > #define EXT2_RESERVED_FL 0x80000000 /* reserved for ext2 > lib */ > > +#ifdef CONFIG_VSERVER_LEGACY > +#define EXT2_FL_USER_VISIBLE 0x0C03DFFF /* User visible flags */ > +#define EXT2_FL_USER_MODIFIABLE 0x0C0380FF /* User that would be defeating the purporse, as allowing to modify the barrier flag will certainly create new and wonderful exploit cases ... #define EXT2_FL_USER_MODIFIABLE 0x080380FF /* User ... otoh, might be something we could arrange, I think (patch is welcome) best, Herbert > modifiable flags */ > +#else > #define EXT2_FL_USER_VISIBLE 0x0003DFFF /* User visible flags */ > #define EXT2_FL_USER_MODIFIABLE 0x000380FF /* User > modifiable flags */ > +#endif > > /* > * ioctl commands > > > I've attached the immucp script that I find smashing > for building new vservers in seconds. Shortly (once I get > the vs1.9.3-rcX server I'm building up "the way I like it" ;-)), > it will be online. > > -- > Sam Vilain, sam /\T vilain |><>T net, PGP key ID: 0x05B52F13 > (include my PGP key ID in personal replies to avoid spam filtering) > _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
