| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Access memory using a byte stream when copying to avoid unaligned
access. close #1401 update #2249
|
| |
|
|
|
|
|
| |
* libnetworking/libc/gethostnamadr.c:
Cast addr to uintptr_t instead of size_t.
|
|
|
|
|
| |
* libnetworking/libc/gethostnamadr.c:
Try to make crazy address arithmetic more portable.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
"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>
|
| |
|
|
|
|
|
|
| |
PR 1983/networking
* libnetworking/libc/gethostbyht.c (gethostent_r):
Abort if (!hostf).
|
|
|
|
|
|
| |
PR 1961/cpukit
* score/src/coremsgsubmit.c: Close window caused by using message
pending count rather than directly obtaining unused buffer.
|
|
|
|
|
|
|
| |
PR 1957/cpukit
* score/include/rtems/score/coremutex.h,
score/inline/rtems/score/threadmp.inl: Add parentheses to protect
macro arguments.
|
|
|
|
|
|
| |
PR 1952/cpukit
* libmisc/untar/untar.c: Add return code for failure when unable to
write file.
|
|
|
|
|
|
| |
PR 1890/cpukit
* posix/src/mqueuerecvsupp.c: POSIX says msg_prio is allowed to be
NULL.
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1838/filesystem
* libcsupport/src/fchmod.c: fchmod() does not need a writeable file
descriptor.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1722/networking
* ftpd/ftpd.c: FTPD fails to parse correctly FTP commands relating to
filenames with spaces in them.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR 1717/cpukit
* libcsupport/src/gxx_wrappers.c: Free memory on error.
|
|
|
|
|
|
| |
PR 1693/filesystem
* libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was
checking incorrect pointer and thus had dead code.
|
|
|
|
|
|
| |
PR 1692/filesystem
* libcsupport/include/rtems/libio.h, libfs/src/imfs/imfs_eval.c: Fix
implementation and use of rtems_libio_is_valid_perms().
|
|
|
|
|
|
| |
PR 1570/cpukit
* posix/src/semtimedwait.c: This routine is supposed to return -1/errno
NOT the status directly.
|
|
|
|
|
|
| |
PR 1554/cpukit
Coverity Id 17
* libi2c/libi2c.c: Fix memory leak on error.
|
| |
|
|
|
|
|
| |
* libfs/src/dosfs/msdos_create.c: Fix the date/time call order to
'msdos_date_unix2dos'.
|
|
|
|
|
|
| |
PR 1481/cpukit
* rtems/src/ratemonperiod.c: Moved check for cpu usage being smaller
than when period initiated.
|
|
|
|
|
| |
PR 1482
* posix/src/timersettime.c: Exit dispatching critical section.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 1477/cpukit
* score/src/objectsetname.c: Ensure destination is NULL terminated.
String copy was not getting the NULL.
|
| |
|
|
|
|
|
|
| |
PR 1471/cpukit
* libmisc/cpuuse/cpuusagereport.c: Rework statement to ensure 64-bit
multiplication is used to avoid overflow with intermediate value.
|
|
|
|
|
|
| |
PR 1468/cpukit
* score/src/timespecdividebyinteger.c: Rework statement to ensure
64-bit multiplication is used.
|
|
|
|
|
|
| |
PR 1462/cpukit
* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c: Fine
tune previous patch after analysis in application.
|
|
|
|
|
|
| |
PR 1469/cpukit
* cpu.c: Add dummy entry for (non-existing) exception #15.
Otherwise all slots for vectors >= 16 are one element off.
|
|
|
|
|
|
| |
PR pr1462/cpukit
* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
rtems/src/ratemontimeout.c: Fix bugs in rate monotonic statistics.
|
|
|
|
|
| |
* sapi/include/confdefs.h: Correct type of rtems_malloc_dirty_helper so
usable.
|
|
|
|
|
| |
* libcsupport/include/rtems/malloc.h: Correct type of
rtems_malloc_dirty_helper so usable.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
* libcsupport/include/rtems/assoc.h,
libcsupport/include/rtems/malloc.h: Add extern "C" {} guards.
* libcsupport/include/rtems/libio_.h: Move extern "C" {} guards.
|