Sebastian Huber
2548d14b82
build: Include header.am in cpukit/Makefile.am
...
Include all cpukit/*/header.am files in cpukit/Makefile.am. This gets
rid of all subtree Makefile.am and the sudirs hack.
2018-10-10 14:06:28 +02:00
Sebastian Huber
629faf9504
telnetd: Remove keep stdio feature
...
The Telnet service started via rtems_telnetd_start() had a keep stdio
feature. This just created a task and executed the command function in
a loop. For this kind of service we do not library support. This can
be done by an application task on its own. Remove this feature and
provide only the real Telnet server functionality.
Use syslog() for error and status messages.
Add test program for the Telnet server.
Close #3542 .
2018-10-10 14:06:27 +02:00
Sebastian Huber
477bca2d61
build: Remove local.am
2018-10-10 07:57:47 +02:00
Sebastian Huber
9da5d5fd10
build: Directly reference libraries in tests
...
Remove use of TMPINSTALL_FILES.
2018-10-10 07:57:42 +02:00
Sebastian Huber
637546a659
build: Merge score/cpu/*/Makefile.am
2018-10-10 07:57:01 +02:00
Sebastian Huber
96ad2b284a
build: Merge libmisc/Makefile.am
2018-10-10 07:55:33 +02:00
Sebastian Huber
19b7db50b1
build: Merge libnetworking/Makefile.am
2018-10-10 07:55:31 +02:00
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