summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* networking: alignment exception in ioctl(SIOCGIFCONF)Till Straumann2015-02-231-11/+12
| | | | | Access memory using a byte stream when copying to avoid unaligned access. close #1401 update #2249
* Avoid buffer overflow and misaligned memory accessSebastian Huber2014-11-241-14/+24
|
* 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2014-11-241-1/+1
| | | | | * libnetworking/libc/gethostnamadr.c: Cast addr to uintptr_t instead of size_t.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2014-11-241-1/+1
| | | | | * libnetworking/libc/gethostnamadr.c: Try to make crazy address arithmetic more portable.
* ppp: PR1943: Avoid NULL pointer accessSebastian Huber2014-11-221-8/+2
| | | | | | | Waiting for mbufs at this level is a bad solution. It would be better to try to allocate a new mbuf chain before we hand over the current mbuf chain to the upper layer. In case the allocation fails we should drop the current packet and use its mbuf chain for a new packet.
* capture: back-port conversion from task_name to task_id (closes #1361)Nickolay Semyonov2014-11-221-3/+3
|
* posix: fix race condition between pthread_create and capture engineTill Strauman2014-04-111-7/+12
| | | | | | | Fix PR 2068: Reproducable crashes occur when using pthreads and the capture engine at the same time. 'pthread_create()' is the culprit. It creates a SCORE thread and then calls Thread_Start( ) without disabling thread-dispatching.
* 2001/shell - medit command argument parsing correctionJoel Sherrill2012-02-031-3/+1
| | | | | | | | | | | "medit" overran the argument list, choking on the NULL pointer following the last argument. Note that "medit" still only does byte-sized accesses, which limits its usefulness on most systems. Author: Werner Almesberger <werner@almesberger.net> Signed-off-by: Sebastien Bourdeauducq <sebastien@milkymist.org>
* Add .gitignore. Remove .cvsignore.Joel Sherrill2012-02-0342-107/+0
|
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-072-1/+7
| | | | | | PR 1983/networking * libnetworking/libc/gethostbyht.c (gethostent_r): Abort if (!hostf).
* 2011-11-28 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-282-5/+9
| | | | | | PR 1961/cpukit * score/src/coremsgsubmit.c: Close window caused by using message pending count rather than directly obtaining unused buffer.
* 2011-11-09 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-093-3/+10
| | | | | | | PR 1957/cpukit * score/include/rtems/score/coremutex.h, score/inline/rtems/score/threadmp.inl: Add parentheses to protect macro arguments.
* 2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>Joel Sherrill2011-11-072-0/+7
| | | | | | PR 1952/cpukit * libmisc/untar/untar.c: Add return code for failure when unable to write file.
* 2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-08-212-3/+12
| | | | | | PR 1890/cpukit * posix/src/mqueuerecvsupp.c: POSIX says msg_prio is allowed to be NULL.
* 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-315-18/+34
| | | | | | | | | | PR 1855/cpukit * posix/src/psignal.c, posix/src/psignalunblockthread.c, posix/src/pthread.c, posix/src/pthreadjoin.c: Correct signal processing during pthread_join. We are supposed to unblock the thread waiting on a pthread_join(), dispatch the signal handler, account for it potentially overwriting errno, and then have the thread return to blocking within pthread_join().
* 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-313-8/+53
| | | | | | | | PR 1867/cpukit * posix/src/pthreadexit.c, posix/src/pthreadjoin.c: Correct implementation of pthread_exit() and pthread_join() to support the case where a thread is joinable but calls pthread_exit() before a thread has attempted to join.
* Upgrade to 4.9.64.9.6Joel Sherrill2011-07-241-1/+1
|
* 2011-07-24 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-2410-28/+41
| | | | | | | | | | PR 1839/filesystem * libcsupport/include/rtems/libio_.h, libcsupport/src/fchdir.c, libcsupport/src/fdatasync.c, libcsupport/src/fpathconf.c, libcsupport/src/fsync.c, libcsupport/src/read.c, libcsupport/src/readv.c, libcsupport/src/write.c, libcsupport/src/writev.c: Some calls did not return proper status for permission errors or incorrectly permissions at all.
* 2011-07-19 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-192-3/+6
| | | | | | PR 1838/filesystem * libcsupport/src/fchmod.c: fchmod() does not need a writeable file descriptor.
* 2011-07-14 Gene Smith <gene.smith@siemens.com>Joel Sherrill2011-07-141-4/+6
| | | | | | | | | PR 1381/networking * netinet/ip_output.c: If a null or unreachable gateway is specified either statically in networkconfig.h or from dhcp/bootp, sendto() fails on multicast send with errno "118 Host is unreachable". The failure occurs in networking file ip_output.c since it currently requires all multicasts to have a valid route to the outside world.
* 2011-07-14 Gene Smith <gene.smith@siemens.com>Joel Sherrill2011-07-142-0/+16
| | | | | | | PR 1381/networking * libnetworking/netinet/ip_output.c: If a null or unreachable gateway is specified either statically in networkconfig.h or from dhcp/bootp, sendto() fails on multicast send with errno 118 Host
* 2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-06-102-0/+8
| | | | | | PR 1812/filesystem * libfs/src/imfs/imfs_stat.c: stat() implementation for IMFS did not set st_blksize field. Set it based upon user configuration.
* 2011-04-04 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>Joel Sherrill2011-04-042-18/+27
| | | | | | PR 1722/networking * ftpd/ftpd.c: FTPD fails to parse correctly FTP commands relating to filenames with spaces in them.
* 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-087-7/+15
| | | | | | | | PR 1759/cpukit * posix/src/cancel.c, posix/src/pthreaddetach.c, posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c, posix/src/pthreadkill.c: Some POSIX pthread services did not support using Classic API Task Ids.
* 2011-03-03 Chris Johns <chrisj@rtems.org>Joel Sherrill2011-03-032-2/+19
| | | | | | PR 1749/filesystem * libcsupport/src/mknod.c: Fix the incorrect handling of the file type in the mode value o reject invalid types as per the standard.
* Upgrade to 4.9.5Joel Sherrill2011-02-091-1/+1
|
* 2011-01-21 Eric Norum <wenorum@lbl.gov>Joel Sherrill2011-01-212-1/+7
| | | | * libmisc/capture/capture.c: Avoid using TCB of task just deleted.
* 2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-11-162-0/+8
| | | | | | | PR 1718/cpukit * sapi/include/confdefs.h: POSIX threads are allocated twice the minimum stack space by default. confdefs.h only accounts for one minimum -- not the 2x factor.
* 2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-11-162-0/+6
| | | | | PR 1717/cpukit * libcsupport/src/gxx_wrappers.c: Free memory on error.
* 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-272-1/+7
| | | | | | PR 1693/filesystem * libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was checking incorrect pointer and thus had dead code.
* 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-273-5/+9
| | | | | | PR 1692/filesystem * libcsupport/include/rtems/libio.h, libfs/src/imfs/imfs_eval.c: Fix implementation and use of rtems_libio_is_valid_perms().
* 2010-06-21 Peter Dufault <dufault@hda.com>Joel Sherrill2010-06-212-2/+8
| | | | | | PR 1570/cpukit * posix/src/semtimedwait.c: This routine is supposed to return -1/errno NOT the status directly.
* 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-212-0/+11
| | | | | | PR 1554/cpukit Coverity Id 17 * libi2c/libi2c.c: Fix memory leak on error.
* Upgrade to 4.9.44.9.4Joel Sherrill2010-03-181-1/+1
|
* 2010-03-17 Chris Johns <chrisj@rtems.org>Chris Johns2010-03-162-1/+6
| | | | | * libfs/src/dosfs/msdos_create.c: Fix the date/time call order to 'msdos_date_unix2dos'.
* 2009-12-11 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2009-12-112-4/+10
| | | | | | PR 1481/cpukit * rtems/src/ratemonperiod.c: Moved check for cpu usage being smaller than when period initiated.
* 2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-12-102-4/+13
| | | | | PR 1482 * posix/src/timersettime.c: Exit dispatching critical section.
* 2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-12-102-1/+8
| | | | | | | PR 1480/cpukit * rtems/src/ratemonperiod.c: Use _Rate_monotonic_Update_statistics() when period is expired, not _Rate_monotonic_Initiate_statistics(). The cound of missed periods was never updated.
* 2009-12-07 Cindy Cicalese <cicalese@mitre.org>Joel Sherrill2009-12-072-1/+8
| | | | | | PR 1477/cpukit * score/src/objectsetname.c: Ensure destination is NULL terminated. String copy was not getting the NULL.
* Upgrade to 4.9.34.9.3Joel Sherrill2009-11-131-1/+1
|
* 2009-11-11 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2009-11-112-2/+17
| | | | | | PR 1471/cpukit * libmisc/cpuuse/cpuusagereport.c: Rework statement to ensure 64-bit multiplication is used to avoid overflow with intermediate value.
* 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2009-11-102-1/+8
| | | | | | PR 1468/cpukit * score/src/timespecdividebyinteger.c: Rework statement to ensure 64-bit multiplication is used.
* 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2009-11-103-12/+31
| | | | | | PR 1462/cpukit * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c: Fine tune previous patch after analysis in application.
* 2009-11-09 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-11-102-0/+7
| | | | | | PR 1469/cpukit * cpu.c: Add dummy entry for (non-existing) exception #15. Otherwise all slots for vectors >= 16 are one element off.
* 2009-10-30 Glenn Humphrey <glenn.humphrey@oarcorp.com>Joel Sherrill2009-10-304-75/+118
| | | | | | PR pr1462/cpukit * rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c: Fix bugs in rate monotonic statistics.
* 2009-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-10-152-1/+6
| | | | | * sapi/include/confdefs.h: Correct type of rtems_malloc_dirty_helper so usable.
* 2009-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-10-152-1/+6
| | | | | * libcsupport/include/rtems/malloc.h: Correct type of rtems_malloc_dirty_helper so usable.
* 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-153-35/+10
| | | | | | | | | PR 1441/cpukit * libcsupport/src/tcgetprgrp.c: Remove. * libcsupport/src/tcgetpgrp.c: New (Renamed from libcsupport/src/tcgetprgrp.c). * libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c. Remove libcsupport/src/tcgetprgrp.c.
* This commit was manufactured by cvs2svn to create branch 'rtems-4-9-branch'.cvs2git2009-09-151-0/+28
| | | | | | | | | | | | | | | | | | | | | | Cherrypick from master 2009-09-15 05:32:49 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>': c/src/lib/libbsp/arm/gba/console/defaultfont.h c/src/lib/libbsp/arm/smdk2410/include/.cvsignore c/src/lib/libbsp/m68k/genmcf548x/include/.cvsignore c/src/lib/libbsp/m68k/mcf52235/include/.cvsignore c/src/lib/libbsp/m68k/mcf5329/include/.cvsignore c/src/lib/libbsp/mips/csb350/start/regs.h c/src/lib/libbsp/mips/genmongoosev/start/regs.h c/src/lib/libbsp/mips/hurricane/liblnk/regs.h c/src/lib/libbsp/mips/jmr3904/start/regs.h c/src/lib/libbsp/mips/rbtx4925/liblnk/regs.h c/src/lib/libbsp/mips/rbtx4938/liblnk/regs.h c/src/lib/libbsp/powerpc/mvme3100/include/.cvsignore c/src/lib/libbsp/powerpc/virtex/include/.cvsignore contrib/crossrpms/autotools/autoconf-sources.add contrib/crossrpms/autotools/automake-sources.add contrib/crossrpms/patches/gdb-6.5-bfinrtems-20090122.diff cpukit/libcsupport/src/tcgetpgrp.c Cherrypick from master 2008-09-28 16:36:13 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'New.': c/src/lib/libbsp/bare/preinstall.am
* 2009-06-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-06-031-0/+6
| | | | | | * libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/malloc.h: Add extern "C" {} guards. * libcsupport/include/rtems/libio_.h: Move extern "C" {} guards.