summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Filesystem: Add kernel event filter handlerSebastian Huber2013-11-046-0/+354
| | | | | | This handler is necessary to implement the KQUEUE(2) system calls. Add <sys/event.h> from FreeBSD 8.4.
* Filesystem: Add poll() handlerSebastian Huber2013-11-046-0/+175
| | | | | | | This handler is necessary to implement the SELECT(2) and POLL(2) system calls. Add <sys/poll.h> from FreeBSD 8.4.
* Filesystem: Use ENOTTY for default ioctl() handlerSebastian Huber2013-10-312-2/+2
| | | | This is in line with Linux and FreeBSD.
* Filesystem: DocumentationSebastian Huber2013-10-311-1/+1
|
* libmd: Change MD5Update() prototypeSebastian Huber2013-10-312-2/+5
| | | | | This is in line with the FreeBSD and OpenSSL prototypes. It helps to avoid superfluous compiler warnings.
* Filesystem: Clear open flag early in close()Sebastian Huber2013-10-311-0/+2
| | | | | This helps to prevent the usage of a file descriptor which is about to close in some situations.
* Filesystem: Zero flags in rtems_libio_free()Sebastian Huber2013-10-311-1/+1
|
* score: New state STATES_WAITING_FOR_BSD_WAKEUPSebastian Huber2013-10-311-0/+3
| | | | This state is necessery to implement the SLEEP(9) FreeBSD kernel API.
* IMFS: Use IMFS_mtime_ctime_update()Sebastian Huber2013-10-272-4/+2
|
* Filesystem: PR2146: DocumentationSebastian Huber2013-10-231-1/+3
|
* libmd: New defines for FreeBSD compatibilitySebastian Huber2013-10-221-0/+3
|
* dosfs: Ensure initially the sector size is used as bdbuf block sizeRalf Kirchner2013-10-181-0/+9
|
* Remove double count of start offsetRic Claus2013-10-171-5/+5
|
* libcsupport: Updates from latest FreeBSD versionSebastian Huber2013-10-161-11/+21
|
* RFS: Include missing header fileSebastian Huber2013-10-161-0/+1
|
* Filesystem: PR2146: DocumentationSebastian Huber2013-10-151-11/+28
|
* Return EINVAL in default ftruncate() handlerSebastian Huber2013-10-111-1/+1
| | | | | According to POSIX this case is implementation defined. Linux and FreeBSD return EINVAL.
* 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.