Date: Wed, 29 May 2013 07:44:09 -0500 From: Bryan Drewery <bdrewery@FreeBSD.org> To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Pawel Jakub Dawidek <pjd@FreeBSD.org> Subject: Re: svn commit: r251088 - head/crypto/openssh Message-ID: <51A5F819.4070507@FreeBSD.org> In-Reply-To: <86zjve3qv2.fsf@nine.des.no> References: <201305290019.r4T0JxLE011755@svn.freebsd.org> <20130529070952.GA1400@garage.freebsd.pl> <86zjve3qv2.fsf@nine.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2TMUJULUDELVGEMIEOMUI Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 5/29/2013 7:36 AM, Dag-Erling Sm=C3=B8rgrav wrote: > Pawel Jakub Dawidek <pjd@FreeBSD.org> writes: >> Which library is needed for AES-NI? I don't see any engine in /usr/lib= / >> that implements AES-NI support. Could you be more specific? >=20 > Ah, you're right. Bryan (cc:ed) did the analysis and I misunderstood > his report. I just ran through the steps to reproduce the issue, and > what happens is that a CRIOGET ioctl cal (which is supposed to allocate= > and return a file descriptor) fails due to setrlimit(RLIMIT_FSIZE, 0): >=20 > 90344 sshd CALL setrlimit(RLIMIT_NOFILE,0x7fffffffca10) > 90344 sshd RET setrlimit 0 This is as far as I went. I wasn't able to debug it further with the RLIMIT_FSIZE set, as removing it allowed the functionality to work. I incorrectly assumed it was due to dynamic library loading later. Sorry for the miscommunication. > [...] > 90344 sshd CALL ioctl(0x3,CRIOGET,0x7fffffffcb4c) > 90344 sshd RET ioctl -1 errno 24 Too many open files >=20 > Note that you have to remove the setrlimit(RLIMIT_FSIZE, 0) call in > sandbox-rlimit.c to debug this, otherwise ktrace stops at that point: --=20 Regards, Bryan Drewery ------enig2TMUJULUDELVGEMIEOMUI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRpfgaAAoJEG54KsA8mwz5Kw0P/21pL5DbSsQpf60NkqJ//upY EgZ9VBkHl7TCtzd/b16OHSw618zgVYDuSCRGmalsZbHxn4v4Q98CYtzo3/O5OxKK 7g22bf1pyBE9XNHcVPFbcNGqKbRSz3ZHEgMb7n1oLgFeWwvtB/mYAqlCT77sSDje haUEkEzClRS4KZklxN0v7CEteCgHz4hfPXbBJNplxcOUqZxbwkRL2l/Mb+7hf0bU 2j0xtkxRhMI5SUUMw7zuRPkNwS+ogkQetRGrUp4qakzGpcnI8xMEYHOvonQc0XP9 +SEMt6bkacQb0pHpfTB5j/BAhXSQUr/4OjI6EIu2CJbbodRY4EKjMyqIGvRVFZQR IvExf9GNS5o3M7W7uI4KGNzr38XnXepBbDmVrpPRgm30ffa0le+7i7G+E/WnTCNp TNtg68ZD5SZVfJGB7NWu68n0n6nJt2PFC1gyFTWE23aKenlubxsigf7U/EPXnmVg iNzXqVsuzrib4wrbK5ZvZanNoXPsrTdaoCadGl/z2FflBEPqAcDWQyxFI6SaVe+b gvK/qilUO0jQn7hTHz97iGnlXjJFaiVpZQ485ZB9QsICYfJVW3nr08WRIGHpi3yP PRKaaiFA/GrXVn1P/4g+jhLIOIB1ccZkuy+a7jKysh4lX90A4l/lXuous3njkQdE VjbL4ufuBkaUqZVvog8B =Bg5Q -----END PGP SIGNATURE----- ------enig2TMUJULUDELVGEMIEOMUI--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51A5F819.4070507>