- 23 Jul, 2015 1 commit
-
-
Stratos Psomadakis authored
-
- 17 Jul, 2015 8 commits
-
-
Stratos Psomadakis authored
-
Stratos Psomadakis authored
-
Stratos Psomadakis authored
-
Stratos Psomadakis authored
-
Stratos Psomadakis authored
-
Stratos Psomadakis authored
-
Stratos Psomadakis authored
-
Stratos Psomadakis authored
-
- 10 Nov, 2014 1 commit
-
-
Filippos Giannakos authored
-
- 31 Oct, 2014 1 commit
-
-
Chrysostomos Nanakos authored
The caller never uses the same allocated memory for the xseg context again. Instead calls xseg_join() to rejoin the segment. This introduces a memory leak every time the caller leaves and rejoins the shared memory segment on the same process address space.
-
- 24 Oct, 2014 1 commit
-
-
Chrysostomos Nanakos authored
-
- 10 Oct, 2014 2 commits
-
-
Chrysostomos Nanakos authored
* Remove retry loop in FIFO creation. If FIFO already exist's do not unlink and re-create the named pipe. Also note that mkfifo() is thread-safe and async-cancel-safe. * As it happens with pipes, writing to a FIFO with no connected readers will fail with EPIPE and also deliver a SIGPIPE signal to the writer. Reading from a FIFO with no connected writers will return an EOF to the reader. Setting the O_RDWR flag while opening the pipe will create an equal number of connected readers/writers to the kernel and will ensure that both are above zero. This implementation will NEVER block since the process can at least talk to itself. ** POSIX.1 leaves this case "undefined" when O_NONBLOCK is set. ** * Drain the pipe even if the call was interrupted by a signal before any data was read. Optimize drain loop to make the minimum number of read syscall's. * Write to the pipe even if the call was interrupted by a signal before any data was written.
-
Vangelis Koukis authored
Various libxeg improvements
-
- 02 Oct, 2014 1 commit
-
-
Filippos Giannakos authored
-
- 01 Oct, 2014 1 commit
-
-
Filippos Giannakos authored
Remove umask calls and make fifo mode 666. This way, we avoid calling umask from the librar and we rely on the umask of each process in order to create the pipes with the right permissions.
-
- 30 Sep, 2014 1 commit
-
-
Filippos Giannakos authored
-
- 18 Sep, 2014 1 commit
-
-
Filippos Giannakos authored
Propagate the correct errno to the caller of xseg_join function.
-
- 16 Sep, 2014 2 commits
-
-
Filippos Giannakos authored
Remove 'posixfd' segment type. This segment type was identical to 'posix' type and posed no added benefit. Moreover, it was never used by any xseg or Archipelago componenent.
-
Filippos Giannakos authored
Propagate errno when calling an operation on the 'posix' segment type.
-
- 15 Sep, 2014 7 commits
-
-
Filippos Giannakos authored
-
Filippos Giannakos authored
Replace getting the current program counter from labels, since it may break with different optimization settings. Since the previous implementations could be greatly influenced by the compiler's behavior, switch to an assembly-based approach.
-
Filippos Giannakos authored
Do not implicitly create posixfd directory. Instead, expect it to be already setup correctly and return an error otherwise.
-
Filippos Giannakos authored
Add S_ISGID bit to fifo's directory. This way each fifo created under this directory inherits the group id of the POSIXFD directory. This enables different Archipelago components to signal each other independently from their effective user id.
-
Filippos Giannakos authored
-
Filippos Giannakos authored
-
Filippos Giannakos authored
-
- 12 Sep, 2014 2 commits
-
-
Filippos Giannakos authored
Make sure that the new logfiles are readable and writable by the group of the process that creates them.
-
Filippos Giannakos authored
Make sure the pipes that are created, are readable/writable by the group of the process that creates them.
-
- 11 Sep, 2014 1 commit
-
-
Filippos Giannakos authored
-
- 10 Sep, 2014 10 commits
-
-
Vangelis Koukis authored
-
Vangelis Koukis authored
Improve xlock
-
Filippos Giannakos authored
-
Filippos Giannakos authored
-
Filippos Giannakos authored
-
Filippos Giannakos authored
-
Filippos Giannakos authored
-
Filippos Giannakos authored
-
Filippos Giannakos authored
-
Filippos Giannakos authored
-