summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into warningsJoel Sherrill2013-09-301-3/+17
|\
| * Fix building with RTEMS_DEBUG.Chris Johns2013-09-301-3/+17
| |
* | internal.h/main_mdump.c: Convert main methods to staticJoel Sherrill2013-09-232-5/+3
|/
* nfsclient/src/dirutils.c: Fix missing prototype warningsJoel Sherrill2013-09-221-0/+12
|
* getdents.c: Fix missing prototype warningsJoel Sherrill2013-09-221-1/+10
|
* ctermid.c: Fix missing prototype warningsJoel Sherrill2013-09-221-0/+1
|
* getpwent.c: Fix missing prototype warningsJoel Sherrill2013-09-221-0/+5
|
* newlibc_init.c: Fix missing prototype warningsJoel Sherrill2013-09-221-0/+1
|
* __times.c: Fix missing prototype warningsJoel Sherrill2013-09-221-1/+6
|
* stat.c: Fix missing prototype warningsJoel Sherrill2013-09-221-1/+15
|
* __gettod.c: Fix missing prototype warningsJoel Sherrill2013-09-221-3/+12
|
* __gitpid.c: Fix missing prototype warningsJoel Sherrill2013-09-221-0/+5
|
* __assert.c: Fix missing prototype warningsJoel Sherrill2013-09-221-1/+2
|
* issetugid.c: Fix missing prototype warningsJoel Sherrill2013-09-221-0/+5
|
* _execve.c: Fix missing prototype warningsJoel Sherrill2013-09-221-1/+7
|
* rtemsbuildname.c: Fix missing prototype warningsJoel Sherrill2013-09-221-1/+19
|
* intrbody.c: Fix missing prototype warningsJoel Sherrill2013-09-221-7/+19
|
* semopen.c: Switch to using RTEMS_COMPILER_UNUSED_ATTRIBUTEJoel Sherrill2013-09-221-11/+8
|
* mqueueopen.c: Switch to using RTEMS_COMPILER_UNUSED_ATTRIBUTEJoel Sherrill2013-09-221-11/+8
|
* basedefs.h: Add RTEMS_COMPILER_UNUSED_ATTRIBUTE.Joel Sherrill2013-09-221-0/+11
|
* semopen.c: Address set but unused variable warningJoel Sherrill2013-09-211-0/+9
|
* sigsuspend.c: Address set but unused variable warningJoel Sherrill2013-09-211-3/+6
|
* mqueueopen.c: Address set but unused variable warningJoel Sherrill2013-09-211-0/+10
|
* main_mv.c: Address set but not used warningJoel Sherrill2013-09-211-1/+5
| | | | | It looks like the paths that use tval are if 0'ed for RTEMS. Making all conditional on __rtems__ including the declaration.
* mouse_parser.c: Fix warning by properly checking return codeJoel Sherrill2013-09-211-1/+1
|
* JFFS2: Add RTEMS supportSebastian Huber2013-09-1924-2822/+1885
|
* JFFS2: Update Linux compatibility layerSebastian Huber2013-09-1925-66/+261
| | | | | Modify compatbility layer for RTEMS. Add support for Linux 3.11 based JFFS2.
* JFFS2: Import from eCosSebastian Huber2013-09-1938-0/+4843
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import of Linux compatibility layer and JFFS2 file system support from eCos. The files are imported from eCos CVS on 2013-09-16. cvs -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos login cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P ecos The files "ecos/packages/compat/linux/current/asm/atomic.h", "ecos/packages/compat/linux/current/asm/bug.h", "ecos/packages/compat/linux/current/asm/page.h", "ecos/packages/compat/linux/current/cyg/crc/crc.h", "ecos/packages/compat/linux/current/cyg/infra/cyg_type.h", "ecos/packages/compat/linux/current/linux/compiler.h", "ecos/packages/compat/linux/current/linux/completion.h", "ecos/packages/compat/linux/current/linux/config.h", "ecos/packages/compat/linux/current/linux/crc32.h", "ecos/packages/compat/linux/current/linux/errno.h", "ecos/packages/compat/linux/current/linux/fs.h", "ecos/packages/compat/linux/current/linux/kernel.h", "ecos/packages/compat/linux/current/linux/list.h", "ecos/packages/compat/linux/current/linux/mtd/compatmac.h", "ecos/packages/compat/linux/current/linux/mtd/mtd.h", "ecos/packages/compat/linux/current/linux/pagemap.h", "ecos/packages/compat/linux/current/linux/rbtree.h", "ecos/packages/compat/linux/current/linux/rwsem.h", "ecos/packages/compat/linux/current/linux/sched.h", "ecos/packages/compat/linux/current/linux/slab.h", "ecos/packages/compat/linux/current/linux/spinlock.h", "ecos/packages/compat/linux/current/linux/stat.h", "ecos/packages/compat/linux/current/linux/string.h", "ecos/packages/compat/linux/current/linux/timer.h", "ecos/packages/compat/linux/current/linux/types.h", "ecos/packages/compat/linux/current/linux/version.h", "ecos/packages/compat/linux/current/linux/vmalloc.h", "ecos/packages/compat/linux/current/linux/wait.h", "ecos/packages/compat/linux/current/linux/workqueue.h", and "ecos/packages/compat/linux/current/linux/zlib.h" "ecos/packages/compat/linux/current/linux/zutil.h" are copied to "cpukit/libfs/src/jffs2/include". The file "ecos/packages/services/crc/current/src/crc32.c" is copied to "cpukit/libfs/src/jffs2/src/compat-crc32.c". The file "ecos/packages/compat/linux/current/src/rbtree.c" is copied to "cpukit/libfs/src/jffs2/src/compat-rbtree.c". The file "ecos/packages/fs/jffs2/current/src/dir-ecos.c" is copied to "cpukit/libfs/src/jffs2/src/dir-rtems.c". The file "ecos/packages/fs/jffs2/current/src/flashio.c" is copied to "cpukit/libfs/src/jffs2/src/flashio.c". The file "ecos/packages/fs/jffs2/current/src/fs-ecos.c" is copied to "cpukit/libfs/src/jffs2/src/fs-rtems.c". The file "ecos/packages/fs/jffs2/current/src/malloc-ecos.c" is copied to "cpukit/libfs/src/jffs2/src/malloc-rtems.c". The file "ecos/packages/fs/jffs2/current/src/os-ecos.h" is copied to "cpukit/libfs/src/jffs2/src/os-rtems.h". The LICENSE file referenced in some files of this patch set is part of a previous patch set imported from Linux.
* JFFS2: Import from LinuxSebastian Huber2013-09-1924-0/+11350
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import of Journalling Flash File System, Version 2 from Linux 3.11. This part of the Linux kernel is under a separate license which is similar to the RTEMS license. The file "cpukit/libfs/src/jffs2/include/linux/jffs2.h" is a copy of "linux-3.11/include/uapi/linux/jffs2.h". The file "LICENSE.JFFS2" is a copy of "linux-3.11/fs/jffs2/LICENCE". The files "linux-3.11/fs/jffs2/LICENCE", "linux-3.11/fs/jffs2/acl.h", "linux-3.11/fs/jffs2/build.c", "linux-3.11/fs/jffs2/compr.c", "linux-3.11/fs/jffs2/compr.h", "linux-3.11/fs/jffs2/compr_rtime.c", "linux-3.11/fs/jffs2/compr_rubin.c", "linux-3.11/fs/jffs2/compr_zlib.c", "linux-3.11/fs/jffs2/debug.c", "linux-3.11/fs/jffs2/debug.h", "linux-3.11/fs/jffs2/erase.c", "linux-3.11/fs/jffs2/gc.c", "linux-3.11/fs/jffs2/jffs2_fs_i.h", "linux-3.11/fs/jffs2/jffs2_fs_sb.h", "linux-3.11/fs/jffs2/nodelist.c", "linux-3.11/fs/jffs2/nodelist.h", "linux-3.11/fs/jffs2/nodemgmt.c", "linux-3.11/fs/jffs2/read.c", "linux-3.11/fs/jffs2/readinode.c", "linux-3.11/fs/jffs2/scan.c", "linux-3.11/fs/jffs2/summary.h", "linux-3.11/fs/jffs2/write.c", and "linux-3.11/fs/jffs2/xattr.h" are copied to "cpukit/libfs/src/jffs2/src".
* libblock: PR2145: Limit maximum read-ahead blocksSebastian Huber2013-09-162-3/+14
| | | | This helps to prevent stack overflows due to configuration errors.
* IMFS: Fix truncate according to POSIXSebastian Huber2013-09-131-3/+2
| | | | | | | | | | | | | | | | | ftruncate() and open() with O_TRUNC shall upon successful completion mark for update the st_ctime and st_mtime fields of the file. truncate() shall upon successful completion, if the file size is changed, mark for update the st_ctime and st_mtime fields of the file. The POSIX standard "The Open Group Base Specifications Issue 7", IEEE Std 1003.1, 2013 Edition says nothing about the behaviour of truncate() if the file size remains unchanged. Future directions of the standard may mandate the behaviour specified in ftruncate(): http://austingroupbugs.net/view.php?id=489
* IMFS: Use inline functions instead of macrosSebastian Huber2013-09-131-28/+36
|
* Filesystem: Change rtems_filesystem_chown()Sebastian Huber2013-09-124-40/+59
| | | | | Implement POSIX requirements in the high-level file system layer. Use common implementation for all change owner variants.
* Filesystem: Add and use rtems_filesystem_chmod()Sebastian Huber2013-09-125-51/+49
| | | | Implement POSIX requirements in the high-level file system layer.
* dosfs: Correct handling of iconv() return valueRalf Kirchner2013-09-101-5/+16
|
* arm: Fix inconsistent define usageSebastian Huber2013-09-061-2/+3
|
* uuid: make integer arithmetic conversion explicitGedare Bloom2013-09-051-1/+1
| | | | Upcast multiplication to 64-bit integer arithmetic.
* imfs: use safe string functionsGedare Bloom2013-09-051-3/+5
| | | | Replace strcpy and strcat with counted variants.
* termios: check return value from semaphore obtain/releaseGedare Bloom2013-09-051-2/+7
| | | | Raise a fatal error in case of failure.
* flashdisk: swap arguments to checksum helperGedare Bloom2013-09-051-1/+1
| | | | | | | The arguments to rtems_fdisk_calc_crc16() are reversed when called from rtems_fdisk_page_checksum(). 26052 Operands don't affect result
* nvdisk: swap arguments to checksum helperGedare Bloom2013-09-051-1/+1
| | | | | | | The arguments to rtems_nvdisk_calc_crc16() are reversed when called from rtems_nvdisk_page_checksum(). 26053 Operands don't affect result
* sparse-disk: check return value from semaphore_obtain/releaseGedare Bloom2013-09-051-2/+9
| | | | In case obtain/release is unsuccessful, cause a fatal error.
* imfs: check return value from mkdirGedare Bloom2013-09-051-1/+1
|
* untar: check return value from mkdirGedare Bloom2013-09-051-1/+5
| | | | | | Check the return value from mkdir instead of failing silently. 1063857 Unchecked return value from library
* dosfs: Eliminate empty case statements that fall through to default.Gedare Bloom2013-09-051-2/+0
| | | | | | | Also eliminates possibly dead code in case the name_type can never actually be MSDOS_NAME_INVALID. 1063860 Logically dead code.
* nfs: Fix ln option processing.Gedare Bloom2013-09-051-1/+1
| | | | | | If opts is NULL, then strchr() will dereference it and search for 's'. 1063863 Dereference after null check
* bdpart: Argument cannot be negativeGedare Bloom2013-09-051-2/+3
| | | | If open(fd) fails then avoid the error path that calls close(fd).
* dosfs: Unsigned compared against 0Gedare Bloom2013-09-051-1/+1
| | | | Change the type for storing the return from iconv to be signed.
* dosfs: Unsigned compared against 0Gedare Bloom2013-09-051-1/+1
| | | | | Fix the type of "cmpltd" to be ssize_t so that assigning it to -1 will terminate processing as intended.
* dosfs: Unintentional integer overflowGedare Bloom2013-09-051-1/+1
| | | | Explicitly promote 32-bit integer to 64-bits for multiplication.