rlimit sandbox on cygwin
vinschen at redhat.com
Fri Jul 6 18:24:40 EST 2012
On Jul 6 10:23, Darren Tucker wrote:
> On Tue, Jul 03, 2012 at 04:48:15PM +0200, Corinna Vinschen wrote:
> > Please use the latest one. We don't support sshd on any pre 1.7
> > version of Cygwin anymore.
> OK, I've updated it. (I didn't set out to deliberately keep it old, I'd
> just had not particular reason to update it.)
> > A function equivalent to setrlimit(RLIMIT_FSIZE) is not supported
> > by Windows. Therefore setting or checking this limit doesn't make
> > much sense.
> > > On second thought, it might be better to explicitly test RLIMIT_FSIZE in
> > > configure, like so.
> > Sounds good to me.
> Done. It'll test setrlimit(RLIMIT_FSIZE) at configure time, and if that
> fails we'll simply skip it at runtime. This means that
> UsePriviligeSeparation=sandbox now works on Cygwin (with the
> weak-but-better-than-nothing rlimit sandbox).
Cool! Thanks for doing that.
Cygwin Project Co-Leader
More information about the openssh-unix-dev