| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* libnetworking/lib/ftpfs.c: Do not fall back to BOOTP server address
in case hostname was not specified.
|
|
|
|
|
| |
* libnetworking/lib/ftpfs.c: Fixed a special case with no username and
password.
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in
write. Return the error code in close.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libfs/src/rfs/rtems-rfs-trace.c,
libfs/src/rfs/rtems-rfs-trace.h: Add inode-delete.
* libfs/src/rfs/rtems-rfs-shell.c: Fix formatting.
* libfs/src/rfs/rtems-rfs-rtems-dir.c: Use ssize_t. Fix spelling.
* libfs/src/rfs/rtems-rfs-block.c: Fix rtems_rfs_block_get_bpos to
return the position correctly. A bpos does not have any special
processing. Do no reset the buffer handle when shrinking
indirectly.
* libfs/src/rfs/rtems-rfs-inode.c: Add trace.
* libfs/src/rfs/rtems-rfs-format.c: Fix comments.
* libfs/src/rfs/rtems-rfs-group.c: Limit the inodes to the blocks
in a group so the accounting works.
* libfs/src/rfs/rtems-rfs-dir.c: PR 1705. Fix handling the offsets
when deleting an entry.
* libfs/src/rfs/rtems-rfs-buffer.h: Remove
rtems_rfs_buffer_handle_reset. It is not needed and dangerous.
|
|
|
|
|
| |
* configure.ac: pthread_attr* functions are in <pthread.h>, not in
<pthreads.h>.
|
|
|
|
|
| |
* aclocal/check-func.m4: Linearize checks.
Add missing $2 to AC_CHECK_DECL.
|
|
|
|
|
| |
* Makefile.am, configure.ac: Revert accident commit adding libdbm to
build.
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, posix/Makefile.am, posix/src/pthread.c:
* posix/src/pthreadattrgetguardsize.c, posix/src/pthreadattrgetstack.c,
posix/src/pthreadattrsetguardsize.c, posix/src/pthreadattrsetstack.c:
New files.
|
|
|
|
| |
* posix/src/psignal.c: Fixed NULL pointer access.
|
|
|
|
|
| |
* libfs/src/defaults/default_close.c: Return 0 instead of an error
status.
|
|
|
|
| |
* 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.
|