| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR 1697/cpukit
* rtems/score/cpu.h: lm32 really needs aligned stack. Recent changes
highlighted that this macro was incorrect.
|
|
|
|
| |
* libmd/md5.h: C++ compatibility.
|
|
|
|
|
|
| |
* configure.ac: Add checks for pthread_attr_getguardsize,
pthread_attr_setguardsize, pthread_attr_setstack,
pthread_attr_getstack.
|
|
|
|
|
|
| |
PR 1698/cpukit
* libcsupport/src/privateenv.c: Check return values of
rtems_filesystem_evaluate_path().
|
|
|
|
|
|
|
| |
PR 1696/networking:
* libnetworking/arpa/inet.h: Partial update from FreeBSD.
#include <rtems/endian.h>.
Remove addr2ascii, ascii2addr.
|
|
|
|
|
|
|
| |
* libnetworking/libc/addr2ascii.c,
libnetworking/libc/ascii2addr.c,
libnetworking/libc/addr2ascii.3: Remove.
* libnetworking/Makefile.am: Reflect changes above.
|
|
|
|
|
| |
* posix/include/devctl.h, posix/src/devctl.c: Remove.
* posix/Makefile.am: Remove devctl.
|
| |
|
| |
|
| |
|
|
|
|
| |
* posix/src/killinfo.c: Ensure interested is non-NULL before using it.
|
|
|
|
|
|
| |
* libcsupport/src/privateenv.c: Add macro to test status when
RTEMS_DEBUG is enabled. Note than evaluation of root directory should
always work.
|
|
|
|
| |
* libcsupport/src/getlogin.c: Modify to use strncpy() on all paths.
|
|
|
|
|
|
| |
PR 1694/shell
* libmisc/shell/main_setenv.c: Address memory leak identified by
Coverity.
|
| |
|
|
|
|
|
| |
* libfs/src/pipe/pipe.c: Remove unreachable line flagged by Coverity as
dead code.
|
| |
|
|
|
|
|
|
|
| |
* libcsupport/src/ctermid.c: Add comment explaining that this use of
strcpy() is a potential buffer overrun but because the API does not
provide a way to know the length of the user provided buffer, there
is nothing we can do about it.
|
|
|
|
| |
* libmisc/shell/main_date.c: Use snprintf() not sprintf().
|
|
|
|
|
|
| |
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/devfs/devfs_eval.c,
libfs/src/imfs/imfs_eval.c: Fix implementation and use of
rtems_libio_is_valid_perms().
|
|
|
|
|
|
| |
* libfs/src/defaults/default_evalpath.c,
libfs/src/defaults/default_evaluate_link.c: Removed superfluous
assignment.
|
|
|
|
|
| |
* libcsupport/src/mount.c, libcsupport/src/mount-mgr.c: Avoid
strcpy().
|
|
|
|
| |
* libcsupport/src/mount.c: Avoid strcpy().
|
|
|
|
|
| |
* libcsupport/src/sync.c: Add comment explaining why the return value
from fsync() and fdatasync() is not checked.
|
|
|
|
|
| |
* libmisc/monitor/mon-symbols.c: Fix length of buffer passed to
strncpy() so there is room for a NULL terminator.
|
|
|
|
|
| |
* libcsupport/src/eval.c: Make some filesystem implementation
correctness checks conditional on RTEMS_DEBUG.
|
|
|
|
|
|
|
|
|
| |
* libfs/src/defaults/default_evaluate_link.c: Remove assignment.
* libfs/src/rfs/rtems-rfs-file.c: Check then load the inode is not
present on the close.
* libfs/src/rfs/rtems-rfs-format.c: Initialise the buffer chain.
|
|
|
|
|
|
|
| |
Coverity Id 93/NO_EFFECT
Coverity Id 94/NO_EFFECT
* libcsupport/src/readv.c, libcsupport/src/writev.c: size_t is unsigned
so it is useless to check for < 0.
|
|
|
|
|
|
| |
Coverity Id 125
Coverity Id 126
* libi2c/libi2c.c: Use strncpy and snprintf.
|
|
|
|
| |
* score/src/coremsginsert.c: Fix typo.
|
|
|
|
|
| |
Coverity Id 148/STRAY_SEMICOLON
* score/src/coremsginsert.c: Slightly modify macro.
|
|
|
|
|
|
| |
Coverity Id 169
* libmisc/stackchk/check.c: Readd line accidentally deleted between
1.67 and 1.68.
|
|
|
|
|
| |
Coverity Id 163
* libmisc/stackchk/check.c: Adjust conditional compilation.
|
|
|
|
|
|
|
|
|
|
| |
Coverity Id 164/UNINIT
Coverity Id 165/UNINIT
* posix/src/prwlockinit.c, posix/src/pspininit.c,
score/include/rtems/score/corespinlock.h,
score/inline/rtems/score/corerwlock.inl,
score/inline/rtems/score/corespinlock.inl: Add initialization helpers
for score rwlock and spinlock. Use them from POSIX.
|
|
|
|
|
|
| |
* libcsupport/src/free.c, libcsupport/src/malloc.c,
libcsupport/src/malloc_initialize.c: Remove heap walks in case
RTEMS_DEBUG is defined.
|
|
|
|
|
|
|
|
|
| |
PR 1672/cpukit
* score/include/rtems/score/heap.h, score/src/heap.c,
score/src/heapallocate.c, score/src/heapextend.c,
score/src/heapfree.c, score/src/heapresizeblock.c,
score/src/heapsizeofuserarea.c: Added heap protection in case
RTEMS_DEBUG is defined.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libfs/src/imfs/imfs_fcntl.c: Removed file.
* libfs/Makefile.am: Reflect change from above.
* libfs/src/defaults/default_fcntl.c: Return 0 instead of -1 and errno.
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_fifo.c,
libfs/src/imfs/imfs_handlers_directory.c,
libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/nfsclient/src/nfs.c,
libfs/src/rfs/rtems-rfs-rtems-dir.c,
libfs/src/rfs/rtems-rfs-rtems-file.c, libfs/src/rfs/rtems-rfs-rtems.c,
libfs/src/rfs/rtems-rfs-rtems.h: Use default file system handlers.
|
|
|
|
|
| |
* libblock/include/rtems/media.h, libblock/src/media-server.c: Use
chains instead of a message queue.
|
|
|
|
|
| |
CID 114/SECURE_CODING
* libblock/src/media.c: Avoid strcpy().
|
|
|
|
|
|
| |
CID 113/SECURE_CODING
* libblock/src/media-path.c: Avoid strcpy(). Style. Use assert() to
avoid dead code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1673/cpukit
* sapi/src/chainappendnotify.c, sapi/src/chaingetnotify.c,
sapi/src/chaingetwait.c, sapi/src/chainprependnotify.c: New files.
* sapi/Makefile.am: Reflect changes above.
* sapi/include/rtems/chain.h: Declare
rtems_chain_append_with_notification(),
rtems_chain_prepend_with_notification(),
rtems_chain_get_with_notification(), and rtems_chain_get_with_wait().
* sapi/inline/rtems/chain.inl: Define
rtems_chain_append_with_empty_check(),
rtems_chain_prepend_with_empty_check(), and
rtems_chain_get_with_empty_check().
|
|
|
|
|
| |
* libmisc/untar/untar.c: Return if open fails.
Use ssize_t for read() return value.
|
|
|
|
| |
* posix/src/aio_cancel.c: Spray pthread_mutex_unlocks.
|
|
|
|
| |
* posix/src/aio_read.c: aio_nbytes is always >= 0.
|
|
|
|
|
| |
* posix/src/aio_write.c: aio_nbytes is always >= 0.
Fix typo in comment.
|
|
|
|
|
|
|
| |
* libcsupport/include/sys/utsname.h: Remove times().
Remove unnecessary includes.
Introduce SYS_NMLN (From freebsd).
* libcsupport/src/utsname.c: Rework uname().
|
|
|
|
|
| |
* libcsupport/src/read.c, libcsupport/src/write.c: Remove redundant
check for 0 size request.
|
|
|
|
| |
* libcsupport/src/open.c: Spacing.
|
|
|
|
| |
* libi2c/libi2c.c: Fix typo in va_end().
|