RTEMS | libmisc/stackchk: Add stack smashing protection (!277)

Mohamed Hassan (@Hamzi) gitlab at rtems.org
Thu Nov 14 04:04:04 UTC 2024




Mohamed Hassan commented on a discussion on testsuites/libtests/stackchk05/system.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114907

 > +
 > +/* configuration information */
 > +
 > +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
 > +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 > +
 > +#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3)
 > +
 > +#define CONFIGURE_MAXIMUM_TASKS               4
 > +#define CONFIGURE_EXTRA_TASK_STACKS (3 * (RTEMS_MINIMUM_STACK_SIZE * 2))
 > +
 > +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 > +
 > +#define CONFIGURE_STACK_CHECKER_ENABLED
 > +
 > +#define CONFIGURE_STACK_CHECKER_REPORTER  rtems_stack_checker_reporter_print_details

Note, will be used.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114907
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241114/9d88f1a8/attachment.htm>


More information about the bugs mailing list