Index: fs/rom//current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/fs/rom/current/ChangeLog,v retrieving revision 1.10 diff -r1.10 ChangeLog 0a1,5 > 2003-07-10 Andrew Lunn > > * support/mk_romfs.c: S_I[RWX]{USR|GRP|OTH} etc changed to match > the changes in sys/stat.h > Index: fs/rom//current/support/mk_romfs.c =================================================================== RCS file: /cvs/ecos/ecos/packages/fs/rom/current/support/mk_romfs.c,v retrieving revision 1.6 diff -r1.6 mk_romfs.c 270,280c270,280 < if ( posix_mode & S_IRUSR ) result |= 1<<8; < if ( posix_mode & S_IWUSR ) result |= 1<<9; < if ( posix_mode & S_IXUSR ) result |= 1<<10; < if ( posix_mode & S_IRGRP ) result |= 1<<11; < if ( posix_mode & S_IWGRP ) result |= 1<<12; < if ( posix_mode & S_IXGRP ) result |= 1<<13; < if ( posix_mode & S_IROTH ) result |= 1<<14; < if ( posix_mode & S_IWOTH ) result |= 1<<15; < if ( posix_mode & S_IXOTH ) result |= 1<<16; < if ( posix_mode & S_ISUID ) result |= 1<<17; < if ( posix_mode & S_ISGID ) result |= 1<<18; --- > if ( posix_mode & S_IRUSR ) result |= 1<<16; > if ( posix_mode & S_IWUSR ) result |= 1<<17; > if ( posix_mode & S_IXUSR ) result |= 1<<18; > if ( posix_mode & S_IRGRP ) result |= 1<<19; > if ( posix_mode & S_IWGRP ) result |= 1<<20; > if ( posix_mode & S_IXGRP ) result |= 1<<21; > if ( posix_mode & S_IROTH ) result |= 1<<22; > if ( posix_mode & S_IWOTH ) result |= 1<<23; > if ( posix_mode & S_IXOTH ) result |= 1<<24; > if ( posix_mode & S_ISUID ) result |= 1<<25; > if ( posix_mode & S_ISGID ) result |= 1<<26; Index: isoinfra/current//ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/isoinfra/current/ChangeLog,v retrieving revision 1.22 diff -r1.22 ChangeLog 0a1,6 > 2003-07-10 Andrew Lunn > > * include/sys/stat.h :S_I[RWX]{USR|GRP|OTH} etc changed so they > don't overlap with S_ISLINK and S_ISSOCK. Reported by Scott > Wilkinson. > Index: isoinfra/current//include/sys/stat.h =================================================================== RCS file: /cvs/ecos/ecos/packages/isoinfra/current/include/sys/stat.h,v retrieving revision 1.5 diff -r1.5 stat.h 110,112c110,112 < #define S_IRUSR (1<<8) < #define S_IWUSR (1<<9) < #define S_IXUSR (1<<10) --- > #define S_IRUSR (1<<16) > #define S_IWUSR (1<<17) > #define S_IXUSR (1<<18) 115,117c115,117 < #define S_IRGRP (1<<11) < #define S_IWGRP (1<<12) < #define S_IXGRP (1<<13) --- > #define S_IRGRP (1<<19) > #define S_IWGRP (1<<20) > #define S_IXGRP (1<<21) 120,122c120,122 < #define S_IROTH (1<<14) < #define S_IWOTH (1<<15) < #define S_IXOTH (1<<16) --- > #define S_IROTH (1<<22) > #define S_IWOTH (1<<23) > #define S_IXOTH (1<<24) 125,126c125,126 < #define S_ISUID (1<<17) < #define S_ISGID (1<<18) --- > #define S_ISUID (1<<25) > #define S_ISGID (1<<25)