Commit Graph

27647 Commits

Author SHA1 Message Date
Jennifer Averett
db44590c1d smpschedaffinity05: Change semaphore attributes.
Change semaphore attributes to resolve problem where semaphore is not
released upon a context switch.
2014-11-20 13:47:03 -06:00
Jennifer Averett
1960dcb9b2 smpschedaffinity04: Change semaphore attributes.
Change semaphore attributes to prevent semaphore from being
locked and never released upon a context switch.
2014-11-20 13:47:03 -06:00
Jennifer Averett
bc95f81699 smpschedaffinity02: Change semaphore attributes.
Change semaphore attributes to prevent semaphore from being
locked and never released upon a context switch.
2014-11-20 13:47:03 -06:00
Joel Sherrill
163519a055 libtests/malloctest/init.c: Fix warning
posix_memalign() is prototyped to take a non-NULL parameter. But our
test is deliberately passing one in. With the -Wnon-null warning flag
enabled, we will always get warnings on this test unless we disable
that warning for this single test case.
2014-11-20 12:57:33 -06:00
Joel Sherrill
a5201ea4d0 libdl/rtl-mdreloc-powerpc.c: Fix warnings
This patch addresses the following warnings:
  + The variable "target" was unused.
  + The parentheses in the expression around line 72 were ambiguous.
2014-11-20 12:57:33 -06:00
Joel Sherrill
287843f14c sys/mman.h: New file. Clean up and add supporting stubs
* Makefile.am updated and preinstall.am regenerated.
	* mprotect.c had a prototype removed now that we have mman.h
	* mmap.c, munmap.c: New stub files.
2014-11-20 12:57:33 -06:00
Joel Sherrill
c8784667fb libdl/.../mips/machine/elf_machdep.h: Fix typo so compiles 2014-11-20 12:57:32 -06:00
Gedare Bloom
280f4ecc88 autotools: regenerate preinstall.am for pc386 2014-11-20 11:05:02 -05:00
Jan Dolezal
067da5c45d i386/pc386: VESA based frame buffer utilizing real mode interrupt 10h 2014-11-20 09:52:40 -05:00
Jan Dolezal
c5a74946ac i386/pc386/include: header files for VESA BIOS EXTENSIONS and VESA Extended Display Identification Data 2014-11-20 09:52:40 -05:00
Jan Dolezal
586c86c75a i386/shared/realmode_int: real mode interrupt interface 2014-11-20 09:52:39 -05:00
Jan Dolezal
74d2d94041 i386: global descriptor table manipulation functions 2014-11-20 09:52:39 -05:00
Jan Dolezal
b2db1f5c76 cpukit: basedefs: macro for packed attribute 2014-11-20 09:52:39 -05:00
Jan Dolezal
d885b2b213 i386: GDTR manipulation functions parameters changed to use explicit width types 2014-11-20 09:52:39 -05:00
Jan Dolezal
58af50d2e5 score: i386: functions converting real mode pointer to physical address and back 2014-11-20 09:52:38 -05:00
Jan Dolezal
ec494ffbfc i386/pc386: configurable size of descriptor tables 2014-11-20 09:52:38 -05:00
Sebastian Huber
a634febae4 dl01,dl02: Avoid non-runnable $(EXEEXT) files 2014-11-20 11:36:07 +01:00
Sebastian Huber
3bb9c61c58 bdbuf: Use rtems_cache_get_data_line_size() 2014-11-20 11:36:07 +01:00
Sebastian Huber
50440c065e bsps/arm: Enable L2C for Cortex-A9 MPCore BSPs 2014-11-20 11:36:03 +01:00
Sebastian Huber
d1eb7b1707 bsps/arm: L2C 310 drop exclusive cache support
Optimize locking.
2014-11-20 10:30:28 +01:00
Sebastian Huber
5f4f828259 bsps/arm: L1 cache support changes 2014-11-20 10:30:28 +01:00
Sebastian Huber
e492e7f8d8 bsps/arm: L2C 310 compile-time errata 588369 2014-11-20 10:30:28 +01:00
Sebastian Huber
52d24b00db bsps/arm: L2C 310 compile-time errata 753970 2014-11-20 10:30:28 +01:00
Sebastian Huber
5574188670 bsps/arm: L2C 310 exclusive config is fatal 2014-11-20 10:30:28 +01:00
Sebastian Huber
d53de34428 bsps/arm: L2C 310 use l2c_310_* prefix throughout 2014-11-20 10:30:27 +01:00
Sebastian Huber
861d315aa0 bsps/arm: L2C 310 use L2C_310_* prefix throughout 2014-11-20 10:30:27 +01:00
Sebastian Huber
f2fed0c197 bsps/arm: L2C 310 add compile time checks
Simplify initialization.  Replace some assert() with fatal errors.
2014-11-20 10:30:27 +01:00
Sebastian Huber
13f1462ff4 bsps/arm: L2C 310 delete invalid link 2014-11-20 10:30:27 +01:00
Sebastian Huber
a9d6c2091b bsps/arm: L2C 310 simplify and remove white space 2014-11-20 10:30:27 +01:00
Sebastian Huber
957c07575a bsps/arm: L2C 310 rename BSP_ARM_L2CC_BASE
Rename BSP_ARM_L2CC_BASE to BSP_ARM_L2C_310_BASE.
2014-11-20 10:30:26 +01:00
Sebastian Huber
6b4a22e383 shell: Include <rtems/shell.h> early
This avoids a conflict with the global variable defines.
2014-11-20 10:30:26 +01:00
Sebastian Huber
8dbc612246 shell: Documentation 2014-11-20 10:30:26 +01:00
Sebastian Huber
3fe5d01bc0 shell: Add CMDLS, CMDCHOWN, CMDCHMOD commands 2014-11-20 10:30:26 +01:00
Sebastian Huber
478455e0ea shell: Fix help topic header 2014-11-20 10:30:26 +01:00
Sebastian Huber
7eada71e1b shell: Add mode, UID and GID to shell commands
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.
2014-11-20 10:30:26 +01:00
Sebastian Huber
ffd5285844 shell: Inherit UID and GID if no login check
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.
2014-11-20 10:30:25 +01:00
Sebastian Huber
5c141d6a25 shell: Add and use rtems_shell_execute_cmd() 2014-11-20 10:30:25 +01:00
Sebastian Huber
12278585c6 shell: Make rtems_shell_main_joel() static 2014-11-20 10:30:25 +01:00
Sebastian Huber
66da4844f4 shell: Print to stderr in TIME command 2014-11-20 10:30:25 +01:00
Sebastian Huber
7840b66f74 shell: Add initial commands and aliases only once
Make tables read-only.
2014-11-20 10:30:25 +01:00
Sebastian Huber
7a2c30faee shell: Simplify rtems_shell_add_cmd_struct() 2014-11-20 10:30:24 +01:00
Sebastian Huber
bac3d6df35 shell: Rename HALT to SHUTDOWN command
Use a normal command for shutdown via exit().
2014-11-20 10:30:24 +01:00
Sebastian Huber
e02d5dd9b3 Ensure security of default user environment 2014-11-20 10:30:24 +01:00
Sebastian Huber
fa028bb2ef shell: Do chroot() after successful login 2014-11-20 10:30:24 +01:00
Sebastian Huber
373ccbb938 shell: Use exiting once initialization
Avoid TOCTOU issues.  Avoid pull in of global buffers.
2014-11-20 10:30:24 +01:00
Sebastian Huber
065d72ce7e shell: Get supplementary group IDs in login check 2014-11-20 10:30:23 +01:00
Sebastian Huber
b8bd90f68f Add supplementary groups to user environment 2014-11-20 10:30:23 +01:00
Sebastian Huber
0b3fcf5efe samples/fileio: Use unlimited objects 2014-11-20 10:30:23 +01:00
Sebastian Huber
ab085c92eb samples/fileio: Fix warning 2014-11-20 10:30:23 +01:00
Sebastian Huber
7bfa0970d4 dosfs: Avoid MIN() re-definition 2014-11-20 10:30:23 +01:00