<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/ipcpd/shim-udp, branch 0.2</title>
<subtitle>Ouroboros main repository</subtitle>
<id>http://133.ip-51-38-114.eu/cgit/ouroboros/atom?h=0.2</id>
<link rel='self' href='http://133.ip-51-38-114.eu/cgit/ouroboros/atom?h=0.2'/>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/'/>
<updated>2016-07-02T17:11:12+00:00</updated>
<entry>
<title>lib: robust locking in shared memory and crash recovery</title>
<updated>2016-07-02T17:11:12+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-30T21:14:14+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=79475a4742bc28e1737044f2300bcb601e6e10bf'/>
<id>urn:sha1:79475a4742bc28e1737044f2300bcb601e6e10bf</id>
<content type='text'>
This PR enhances the shared memory providing recovery if a process
crashes. It adds a SHM_DU_TIMEOUT_MICROS variable, setting an
expiration time for SDU's when shared memory is full. If an
application doesn't read a blocking SDU within this time, the shared
memory will be cleansed of all SDU's for this application and the
application's rbuff will be cleared.

Some refactoring of the API's. Fixed wrong pthread checks in IRMd.

Fixes #13
Fixes #14
</content>
</entry>
<entry>
<title>lib, irmd, ipcpd: Change pid to api</title>
<updated>2016-06-28T14:45:45+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-28T14:38:03+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=99d19307fae8f1370f52a62aee88fded624ad464'/>
<id>urn:sha1:99d19307fae8f1370f52a62aee88fded624ad464</id>
<content type='text'>
Changes the variable name as well to API instead of PID.
</content>
</entry>
<entry>
<title>lib, irmd, ipcpd: Change of IRM API</title>
<updated>2016-06-28T14:22:01+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-28T14:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=0d789ed8d938cc342c8f2138280795a1d5a61e3d'/>
<id>urn:sha1:0d789ed8d938cc342c8f2138280795a1d5a61e3d</id>
<content type='text'>
This changes the IRM API after discussions with Dimitri. The register
operation is now split into a bind and register operation. The same
for unregister; unbind and unregister. PIDs are now used as the
application instance name. A name for a PID is only provided for
scriptability in bash. It is therefore also no longer passed down to
the IPCP. Every operation on an IPCP through the IRM API has to use
the PID. Quering of the PIDs by name is possible. The IRM tool has
been updated to use this new API as well. A subcommand 'ipcp' has been
added for operations that take effect on IPCPs only.

Fixes #12
</content>
</entry>
<entry>
<title>ipcpd: fix deadlock in shim-udp</title>
<updated>2016-06-28T06:46:55+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-28T06:46:55+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=e9e4c6edab303bd725a4904c78ac3f853f8703ae'/>
<id>urn:sha1:e9e4c6edab303bd725a4904c78ac3f853f8703ae</id>
<content type='text'>
shim UDP would deadlock upon a dealloc call. fd_clr cannot be called
under wrlock.
</content>
</entry>
<entry>
<title>ipcpd: fixes to shim-udp</title>
<updated>2016-06-27T20:18:10+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-27T20:12:14+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=02210c5126ef5478753d252f7ae1fe726f972485'/>
<id>urn:sha1:02210c5126ef5478753d252f7ae1fe726f972485</id>
<content type='text'>
getsockname() can give bad behaviour when haphazardly looping fd's,
added check that the fd has a flow. Replaced LOG_DBGF with LOG_DBG.
</content>
</entry>
<entry>
<title>build: correct sandboxing</title>
<updated>2016-06-27T19:01:22+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-27T18:40:05+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=cffd94aae48dac005d820dd667498bbbb09ab117'/>
<id>urn:sha1:cffd94aae48dac005d820dd667498bbbb09ab117</id>
<content type='text'>
paths cannot start with "/" or PREFIX will be omitted. PREFIX must be
set before the project() call.
</content>
</entry>
<entry>
<title>build: Fix installation prefix</title>
<updated>2016-06-27T10:03:31+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-27T10:03:31+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=80765f1d6ea16892224be8da954e5b0a4c53303b'/>
<id>urn:sha1:80765f1d6ea16892224be8da954e5b0a4c53303b</id>
<content type='text'>
The installation prefix was taking a trailing backslash, while it is
common not to do so. Fixed it so that any trailing backslash is
removed by the compilation and installation scripts.
</content>
</entry>
<entry>
<title>lib, irmd, ipcp: robust mutexes</title>
<updated>2016-06-20T22:14:14+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-20T21:49:35+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=a46114ec01e8d174a41744f4f1b49905613847dc'/>
<id>urn:sha1:a46114ec01e8d174a41744f4f1b49905613847dc</id>
<content type='text'>
Update to POSIX 200112L to allow use of robust mutexes in the
shm_du_map. Removed the implementation of the rw_lock in favor of
pthread_rwlock_t.

Placeholder for the shm_du_map_sanitize function.
</content>
</entry>
<entry>
<title>build: Change install directories and set correct permissions</title>
<updated>2016-06-20T18:57:25+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-20T18:57:25+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=16323dcc9df15020e368d4324cf1c1d9dceac805'/>
<id>urn:sha1:16323dcc9df15020e368d4324cf1c1d9dceac805</id>
<content type='text'>
This sets the correct install directories for all the binaries,
library and header files. It also sets the right permissions on the
sockets and shared memory so that regular users can also use the
ouroboros library. Root privileges are required to run the irmd.

Fixes #7
</content>
</entry>
<entry>
<title>ipcpd: fixed missing unlock in shim UDP</title>
<updated>2016-06-16T17:51:51+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-16T17:45:55+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=d222a173f826c6bc4b32c3db8bac7ba610632c8e'/>
<id>urn:sha1:d222a173f826c6bc4b32c3db8bac7ba610632c8e</id>
<content type='text'>
Unlock missing when compiled without DNS support.
</content>
</entry>
</feed>
