Commit Graph

32135 Commits

Author SHA1 Message Date
Sebastian Huber
a40bb03d72 build: Merge zlib/Makefile.am 2018-10-10 07:55:12 +02:00
Sebastian Huber
7f0eac3047 build: Merge telnetd/Makefile.am 2018-10-10 07:55:12 +02:00
Sebastian Huber
1d93843a3a build: Merge score/Makefile.am 2018-10-10 07:55:12 +02:00
Sebastian Huber
640271f3bd build: Merge rtems/Makefile.am 2018-10-10 07:55:12 +02:00
Sebastian Huber
24312f3454 build: Merge pppd/Makefile.am 2018-10-10 07:55:10 +02:00
Sebastian Huber
b3ef89f931 build: Merge posix/Makefile.am 2018-10-10 07:54:45 +02:00
Sebastian Huber
028b0ced4c build: Merge mghttpd/Makefile.am 2018-10-10 07:54:43 +02:00
Sebastian Huber
a2a71b5900 build: Merge libstdthreads/Makefile.am 2018-10-10 07:54:14 +02:00
Sebastian Huber
5079524c6f build: Merge librpc/Makefile.am 2018-10-10 07:54:12 +02:00
Sebastian Huber
c38d5177a9 build: Merge libpci/Makefile.am 2018-10-10 07:53:50 +02:00
Sebastian Huber
e39642a468 build: Merge libmd/Makefile.am 2018-10-10 07:53:32 +02:00
Sebastian Huber
0c56264ea7 build: Merge libi2c/Makefile.am 2018-10-10 07:53:13 +02:00
Sebastian Huber
8d677cf009 build: Merge libgnat/Makefile.am 2018-10-10 07:53:11 +02:00
Sebastian Huber
b45a85322a build: Merge libfs/Makefile.am 2018-10-10 07:52:39 +02:00
Sebastian Huber
d3d1243487 build: Merge libdrvmgr/Makefile.am 2018-10-09 13:26:48 +02:00
Sebastian Huber
551f4736b3 build: Merge libdl/Makefile.am 2018-10-09 13:26:48 +02:00
Sebastian Huber
bab7a688fd build: Merge libdebugger/Makefile.am 2018-10-09 13:26:48 +02:00
Sebastian Huber
2532817c28 build: Merge libcsupport/Makefile.am 2018-10-09 13:26:48 +02:00
Sebastian Huber
94acbbf42d build: Merge libcrypt/Makefile.am 2018-10-09 13:26:48 +02:00
Sebastian Huber
9c0582870c build: Merge libblock/Makefile.am 2018-10-09 13:26:47 +02:00
Sebastian Huber
8fb3443b79 build: Merge libfdt/Makefile.am 2018-10-09 13:26:47 +02:00
Sebastian Huber
690718ab37 build: Merge ftpd/Makefile.am 2018-10-09 13:26:47 +02:00
Sebastian Huber
60c4ba1238 build: Merge dev/Makefile.am 2018-10-09 13:26:47 +02:00
Sebastian Huber
54c0b577a8 build: Move sapi/Makefile.am 2018-10-09 13:26:47 +02:00
Sebastian Huber
68e1ccc46d build: Remove specialized CPPFLAGS 2018-10-09 13:26:47 +02:00
Sebastian Huber
6cdaa850c8 shell: Use #include "..." for local header files
Update #3375.
2018-10-09 13:26:47 +02:00
Sebastian Huber
2806e10dc1 telnetd: Ignore setsockopt() return status
Update #3529.
2018-10-09 13:26:46 +02:00
Sebastian Huber
84a5921d33 ftpd: Restructure chroot() handling.
Remove superfluous setting of errno = 0.

Update #3530.
2018-10-09 13:26:46 +02:00
Daniel Hellstrom
dc32b6aa08 leon: do not use -mfix-{device} with Clang
Clang do not support -mfix-gr712rc, -mfix-ut700 and -mfix-ut699.
Therefore we adjust the CPU_CFLAGS to remove these when compiling with
Clang. Instead use
  GR712RC:      -mcpu=gr712rc
  GR740:        -mcpu=gr740
  UT699/UT700:  Not currently supported by clang, use LEON3 BSP.
2018-10-09 12:36:41 +02:00
Javier Jalle
6dc0b5f4c5 leon, spwtdp: Initial driver commit 2018-10-09 12:36:41 +02:00
Sebastian Huber
511ef83ce4 bsps/arm: Fix ctor/dtor invocation order
Remove obsolete .ctor and .dtor output sections.
2018-10-09 12:01:27 +02:00
Sebastian Huber
acb53d53c9 posix: Remove static assertion
Standard C does not allow pointer operands in an integer constant
expressions.  GCC issues only a -Wpedantic warning in the removed static
assertion.  However, clang is pedantic by default and issues an error.

Rely on the test case instead.
2018-10-09 08:48:25 +02:00
Sebastian Huber
5bd75823bb ftpd: Remove superfluous temporary buffer
Update #3530.
2018-10-08 10:06:44 +02:00
Sebastian Huber
2f784d72d3 ftpd: Check return status of getsockname()
Update #3530.
2018-10-08 08:15:13 +02:00
Sebastian Huber
be8de0ff46 ftpd: Fix insecure chroot() handling
Ensure that the rtems_libio_set_private_env() was successful before the
chroot().

Update #3530.
2018-10-05 15:16:46 +02:00
Sebastian Huber
df97c4d25f ftpd: Avoid resource leak
Update #3530.
2018-10-05 14:56:10 +02:00
Sebastian Huber
479a28e08c ftpd: Avoid use of uninitialized memory
Update #3530.
2018-10-05 14:54:49 +02:00
Sebastian Huber
51da629b2a ftpd: Avoid malloc() and sscanf()
Move the user name to the session information.

Update #3530.
2018-10-05 14:47:21 +02:00
Sebastian Huber
dcf42bb238 ftpd: Remove FTPD_SessionInfo_t::pass member
There is no need to keep the password throughout the session.

Update #3530.
2018-10-05 14:39:46 +02:00
Sebastian Huber
e761fb4dc0 ftpd: Avoid NULL pointer checks before free()
They are superfluous and just bloat the code.

Update #3530.
2018-10-05 14:05:54 +02:00
Sebastian Huber
05b5f9c0ea jffs2: Avoid use of constant register variable
Avoid the use of a constant register variable which is used in some
conditions.  This gets rid of a clang -Wsometimes-uninitialized warning.
2018-10-05 13:56:59 +02:00
Sebastian Huber
4a7c68675d Fix rbtree_postorder_for_each_entry_safe()
Use the non-standard typeof operator to avoid code generation errors
with clang and use of uninitialized variable warnings with GCC and
Coverity Scan.

Update #3465.
2018-10-05 13:41:07 +02:00
Sebastian Huber
1d39e96470 score: Fix legacy RTEMS_STATIC_ASSERT()
In standard C pointer operands are not allowed in integer constant
expressions.  Avoid a static assertion based on an array typedef since
this could lead to warnings ("variably modified 'x' at file scope" and
"typedef 'x' locally defined but not used");

This implementation requires unique messages.
2018-10-05 13:41:07 +02:00
Sebastian Huber
51b3cbca11 tests: Use rtems_task_exit()
Update #3533.
2018-10-05 13:41:07 +02:00
Sebastian Huber
8776bb9419 score: Remove CPU_PROVIDES_IDLE_THREAD_BODY
Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary
conditional compilation.

Close #3539.
2018-10-05 13:41:06 +02:00
Sebastian Huber
b38887ad22 dev/sc16is752: Deal with a baud of zero
Avoid division by zero and instead disable rx/tx in case of a zero baud
value.  Problem identified by Coverity Scan.
2018-10-05 13:41:06 +02:00
Sebastian Huber
8352d413ca spthreadlife01: A task exit must not return
Update #3533.
2018-10-05 07:31:39 +02:00
Sebastian Huber
b131cb2aa0 bsp/atsam: Use internal SRAM for stack area 2018-10-04 14:35:00 +02:00
Sebastian Huber
8777d4ccea Add rtems_interrupt_server_request_set_vector()
By default, the interrupt vector of an interrupt server request is set
to a special value which is outside the range of vectors supported by
the interrupt controller hardware.

Add rtems_interrupt_server_request_set_vector() to set the interrupt
vector in an interrupt server request.

Calls to rtems_interrupt_server_request_submit() will disable the interrupt
vector of the request.  After processing of the request by the interrupt
server the interrupt vector will be enabled again.
2018-10-04 11:32:25 +02:00
Sebastian Huber
313f897f10 Optimize calloc()
Use return value of memset() to enable tail call optimizations.
2018-10-04 08:02:29 +02:00