Cleaning up ink_gethostbyname_r and ink_gethostbyaddr_r

2012-03-25 Thread Brian Geffon
Hi all, In an effort to get ATS to build on OpenBSD, I noticed that we're using gethostbyname_r and gethostbyaddr_r (see ink_inet.cc), according to the manpage both of these APIs are obsolete and getaddrinfo should be used (which is reentrant by default), I only noticed this because OpenBSD 5.0 doe

Re: TS-857 and finer grained locking

2012-03-25 Thread John Plevyak
I found the problem and it has nothing to do with any of this. The problem, as quite rightly pointed out by weijin is that when the closed flag by one thread, another thread can delete the NetVC. This is expected and desirable, however, unfortunately do_io_close() is accessing the "nh" variable (

tighten security for systemd service

2012-03-25 Thread Jan-Frode Myklebust
What systemd security features should be used for ats? Ref: http://0pointer.de/blog/projects/security.html I would suggest: o "PrivateTmp=yes" to give the service a private /tmp. o "InaccessibleDirectories=/home /root /boot" to completely hide these. o "ReadOnlyDirectories=/

Re: Looking for volunteer to take over RM for 3.0.x

2012-03-25 Thread Jim Jagielski
Be more than happy to! On Mar 23, 2012, at 11:40 AM, Igor Galić wrote: > Hi folks, > > I'm looking for (a) volunteer(s) to take over the RM of 3.0.x, > because I'll be taking over 3.2 > Requirements: A signed GPG key, time. > Everything else you can learn on the job ;) > > Looking forward for y