Commit Graph
32209 Commits
Author SHA1 Message Date
ABR290B 3b930548a2 arm/altera-cyclone-v: update doxygen (GCI 2018) 2018-11-05 15:46:25 -05:00
Sebastian Huber fa0adf3618 ftpd: Avoid TOCTOU problem
Assume that opendir() returns only non-NULL if we actually open a
directory.

Update #3530.
2018-10-30 13:27:03 +01:00
Sebastian Huber 8c3cd1e81b ftpd: Deal with too long command lines
Update #3530.
2018-10-30 13:27:03 +01:00
Sebastian Huber 706802f870 ftpd: Make send_dirline() more robust
Account for large file names.

Update #3530.
2018-10-30 13:27:03 +01:00
Sebastian Huber 7e2aabd751 config: Fix check networking
This Autoconf macro used cache variables which are not longer present.

Update #3409.
2018-10-30 13:27:03 +01:00
Sebastian Huber bb3484c9ec posix: Enable more sptests test cases by default
Update #2514.
2018-10-29 10:52:48 +01:00
Sebastian Huber 8dc1ed135a posix: Enable more psxtests by default
Update #2514.
2018-10-29 10:52:48 +01:00
Sebastian Huber 24f3e8fd5b posix: Enable more smptests tests by default
Update #2514.
2018-10-29 10:52:48 +01:00
Sebastian Huber ef16a111c7 posix: Enable psxtmtests tests by default
Update #2514.
2018-10-29 10:52:48 +01:00
Sebastian Huber 54f3588831 posix: Provide threads by default
Update #2514.
2018-10-29 10:52:45 +01:00
Sebastian Huber 033f31c8af posix: Hide POSIX_API_Control by default
Update #2514.
2018-10-29 10:33:38 +01:00
Sebastian Huber fe7aefd516 posix: Provide message queues by default
Update #2514.
2018-10-29 10:33:37 +01:00
Sebastian Huber 701057e0b9 posix: Provide shared memory objects by default
Update #2514.
2018-10-29 10:33:37 +01:00
Sebastian Huber 9318cfb050 posix: Provide named semaphores by default
Update #2514.
2018-10-29 10:33:37 +01:00
Sebastian Huber e97806a5ff posix: Split posix_api_configuration_table
Use separate configuration variables to avoid false dependencies.

Update #2514.
2018-10-29 10:33:37 +01:00
Sebastian Huber 55b69ed28e Move default config to librtemsdefaultconfig.a
An RTEMS application default configuration is contained in
cpukit/libmisc/dummy/default-configuration.c.  This default
configuration was contained in librtemscpu.a.  This had at least two
problems:

1. Application configuration errors may have pulled in the default
   configuration which in turn lead to multiply define symbols error.
   This was quite confusing.  You had to consult the linker map file to
   figure out what cased the pull in of the default configuration.  You
   needed to know what a linker map file is and how you generate it with
   your build system.  This was not very user friendly.

2. It prevented the use of default configuration items for each subsystem
   in librtemscpu.a.  This may be used to reduce the size of the
   configuration itself.

Move the default configuration to the separate library
librtemsdefaultconfig.a.

Close #3551.
2018-10-29 10:33:37 +01:00
Sebastian Huber 7038271845 Remove RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES
Enable support for string objects names unconditionally.  Add const
qualifier throughout.  Split _Objects_Namespace_remove() into
_Objects_Namespace_remove_u32() and _Objects_Namespace_remove_string()
to avoid an unnecessary dependency on _Workspace_Free().

Update #2514.
2018-10-29 10:33:33 +01:00
Sebastian Huber 5090a71bf8 score: Remove bogus thread object name support
Update #2514.
2018-10-29 07:08:34 +01:00
Sebastian Huber 0dbf67b66e posix: Provide aio_suspend() by default
Update #2514.
2018-10-29 07:08:34 +01:00
Sebastian Huber 135cb10efa posix: Provide more functions by default
Update #2514.
2018-10-25 10:04:14 +02:00
Sebastian Huber 4a7be22b5a posix: Fix build with POSIX API disabled
Update #2514.
2018-10-25 10:03:46 +02:00
Sebastian Huber 24b58072ff config: Modify CONFIGURE_INTERRUPT_STACK_SIZE
Use CPU_STACK_MINIMUM_SIZE instead of CONFIGURE_MINIMUM_TASK_STACK_SIZE
to set the default value.

Close #3480.
2018-10-24 10:19:14 +02:00
Sebastian Huber 4b801acc20 posix: Provide simple thread functions by default
Update #2514.
2018-10-24 10:19:14 +02:00
Sebastian Huber c1ce9a20f3 posix: Provide get thread attributes by default
Update #2514.
2018-10-24 10:19:14 +02:00
Sebastian Huber 522d4b9186 malloctest: Hide NULL pointer from compiler
Disabling a warning does not prevent the compiler from reasoning what it
is supposed to do with a somewhat undefined function call.
2018-10-24 10:19:14 +02:00
Sebastian Huber 01595a4f32 bsp/imx: Adjust workspace according to device tree 2018-10-24 10:19:14 +02:00
Sebastian Huber 8ba76b9e28 tmonetoone: Add yield test case 2018-10-22 08:08:10 +02:00
Sebastian Huber 8d816221c1 posix: Provide non-thread functions by default
Update #2514.
2018-10-22 08:08:10 +02:00
Sebastian Huber 0b2808ce0b posix: Provide scheduler support by default
Update #2514.
2018-10-22 08:08:10 +02:00
Sebastian Huber dd804bb16f posix: Provide cancel state/type by default
Sort POSIX sources lexicographically in Makefile.am

Update #2514.
2018-10-22 08:08:10 +02:00
Sebastian Huber 6da1bb046d Remove superfluous configure checks
The results of these checks are unused, covered by other checks or check
obvious things.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 167654e7f0 Remove checks for flockfile(), etc. declarations
Declarations provided by Newlib since 2002.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber f59edebf7e Remove getcwd()
This function is provided by Newlib since 2000.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 79d145a7a2 Remove optional getrusage() declaration
Declaration provided by Newlib since 2014.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber e161767e51 Remove ttyname()
This function is provided by Newlib since 2000.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 658ec757cf Remove __assert()
This function is provided by Newlib since 2000.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 87a9900f30 Remove isatty()
These functions are provided by Newlib since 2000.

Update #3409.
2018-10-22 08:06:06 +02:00
Sebastian Huber 3cf12c9c6a Remove strlcat(), strlcpy(), strsep(), readdir_r()
These functions are provided by Newlib since 2002.

Update #3409.
2018-10-22 08:06:05 +02:00
Sebastian Huber 1ad26cdcf7 Support O_NOFOLLOW open() flag
Close #3546.
2018-10-22 08:06:05 +02:00
Sebastian Huber 3825926601 Support O_CLOEXEC open() flag
Make sure this flag is ignored and does not prevent a successful open.

Close #3547.
2018-10-22 08:06:05 +02:00
Sebastian Huber 92e0eedc0a psxreaddir: Adjust test due to opendir() changes
Update #3545.
2018-10-22 08:06:05 +02:00
Joel Sherrill b4043ead0b check-networking.m4: Disable legacy stack for x86_64 and epiphany
x86_64 is 64-bits and too new for the legacy stack to support.
epiphany is a small target and cannot compile the legacy (or new) stack.
2018-10-18 12:05:41 -05:00
Joel Sherrill 28fb5b71f8 mpc8260ads/start/bspstart.c: Fix unused function warning 2018-10-18 12:05:41 -05:00
Joel Sherrill c1233a334b qemuppc/start/cmain.c: Cast args to memcpy and bzero to fix warnings 2018-10-18 12:05:41 -05:00
Joel Sherrill 156b77a064 gen5200/mscan/mscan.c: Fix printf() format warning 2018-10-18 12:05:40 -05:00
Joel Sherrill 023bd1d431 or1k/shared/cache/cache.c: Remove unused methods 2018-10-18 12:05:40 -05:00
Joel Sherrill 35eab84294 gdbarmsim/include/bsp.h: Include <sys/stat.h> to fix warning 2018-10-18 12:05:40 -05:00
Sebastian Huber 4af18b34f4 Support O_DIRECTORY open() flag
Close #3545.
2018-10-18 11:11:24 +02:00
Sebastian Huber 68799dac67 bsp/atsam: Add const qualifier to AES_SetInput() 2018-10-18 07:23:29 +02:00
Sebastian Huber c980eaff1d console: Be fair in simple console read
Wait for one tick in case no character is available after a call to
getchark().  Otherwise the system is constantly busy within an input
loop (for example in the RTEMS shell).  The polled Termios driver uses
the same approach.
2018-10-18 07:23:29 +02:00