| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This value depends on the _Heap_Initialize() call sequence and carries
no useful information.
|
| |
|
|
|
|
|
|
|
|
| |
The Coverity issue was an ignored return value from a read()
in a loop which should have been a seek() since the data
read was ignored.
The file itself needed reformatting to conform to RTEMS style.
|
|
|
|
| |
This define was superfluous, undocumented and used inconsistently.
|
| |
|
|
|
|
| |
The use of __DATE__ prevents reproducible builds.
|
|
|
|
|
|
|
|
|
|
|
| |
The dummy.c was a de-facto default configuration. Rename it to
default-configuration.c. Use unlimited objects and the stack checker.
This makes it easier for new RTEMS users which will likely use this file
if they just work with the usual main() function as the application
entry point. Provide proper arguments for main() using the BSP command
line. Add spare user extensions and drivers.
Do not initialize the network by default. Delete bspinit.c.
|
| |
|
|
|
|
|
|
| |
The hack was a debug aid and is not needed.
Close #2203.
|
|
|
|
|
| |
Add lifetime bytes allocated and freed since they were present in the
malloc statistics. Add number of failed allocations.
|
|
|
|
| |
Print out heap statistics via the MALLOC and WKSPACE shell commands.
|
|
|
|
|
|
|
| |
Use the heap handler statistics instead. Add heap walk option to MALLOC
shell command.
close #1367
|
|
|
|
| |
close #2030
|
|
|
|
|
|
|
| |
CodeSonar flagged this as a case where the user could inject a format
string and cause issues. Since we were not printing anything but a
string, just switching to puts() rather than fprintf(stdout,...) was
sufficient to make this code safer.
|
|
|
|
|
|
|
|
|
|
| |
CodeSonar flagged this as a case where the user could inject a format
string and cause issues. Since we were not printing anything but a
string, just switching to puts() rather than fprintf(stdout,...) was
sufficient to make this code safer.
snprintf() places a limit on the length of the output from sprintf()
and avoids similar buffer overrun issues.
|
| |
|
| |
|
| |
|
|
|
|
| |
Coverity Id 1255320 spotted an unchecked return value.
|
|
|
|
| |
Coverity Id 1063887. File descriptor not freed on error path.
|
|
|
|
| |
Coverity Id 1255353. Read from pointer after free().
|
| |
|
| |
|
|
|
|
|
|
| |
To support smp data was broken into global and percpu capture data.
Capture control must be disabled prior to printing or setting of
watch points.
|
|
|
|
|
|
|
| |
Methods to print the data were moved from capture-cli into
a support area and are no longer static so that they can
be shared by test routines, or application code that wants
to use the capture engine without the shell interface.
|
|
|
|
|
|
|
| |
The catpture task record is now logged just prior to the first
log entry using that task instead of the first time the task
is seen. This involved splitting the record task method into
an initialize task and a record task.
|
|
|
|
| |
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
|
|
|
|
| |
This avoids a conflict with the global variable defines.
|
| |
|
| |
|
|
|
|
|
| |
Use this information to determine if a command is visible to the current
user and if the current user is allowed to execute this command.
|
|
|
|
|
|
| |
Use the UID and GID of the executing user for the real and effective UID
and GID of the shell task in case no login check is present. This
prevents privilege escalation via shell scripts.
|
| |
|
| |
|
| |
|
|
|
|
| |
Make tables read-only.
|
| |
|
|
|
|
| |
Use a normal command for shutdown via exit().
|
| |
|
|
|
|
| |
Avoid TOCTOU issues. Avoid pull in of global buffers.
|
| |
|
|
|
|
|
|
|
| |
Use '*" to disable shell login instead of '!' according to the Linux man
page. Use getpwnam_r() instead of getpwnam(). Do not access the user
environment directly. Update the user environment only after a
successful login check.
|
| |
|
| |
|
|
|
|
| |
rtems_cpu_usage_top should be used for this information.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch removes functionality for stack checking from
the capture engine and requiresi the use of existing rtems
functions for this information. It modifies ctload to use
functionality similar to rtems cpuusage. It removes the
capture task and stores a new capture task record the first
time the task is seen. The per task data that was still
needed is scaled down and stored in the tcb.
|
| |
|
|
|
|
|
|
| |
This is a small (21K on sparc) editor that provides some powerful
features useful when a file needs editing on an embedded
board. No need to copy files off, edit, copy back.
|