From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Grigory Batalov" Subject: Re: IPX without suidroot Date: Mon, 5 Aug 2002 09:47:22 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20020805094722.3e17b227.grisxa@mail.ru> References: <3D4ABF2A.3040305@yahoo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3D4ABF2A.3040305@yahoo.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org On Fri, 02 Aug 2002 21:19:38 +0400 Stas Sergeev wrote: > So if adding route manually doesn't > help, could you please (only for testing > purposes) remove the > if (!capable(CAP_NET_ADMIN)) > return -EPERM; > from kernel's af_ipx.c:2403 > (ipx_ioctl() ). > I want to know if my patch > really works and if there is > nothing more standing in the way... Yes, it works. In 2.2.20 custom kernel it is in line 2283: case SIOCADDRT: case SIOCDELRT: // if(!capable(CAP_NET_ADMIN)) // return (-EPERM); return (ipxrtr_ioctl(cmd,(void *)arg)); Again, log is here: http://lrn.ru/~bga/dosemu/attached-boot.log.bz2 (131565) Now I can attach server and run needed programs. Thank you, Stas! One strange thing I noticed: login.exe eats CPU power (to 99%) about 20 seconds, but works after it as usual. -- Grigory Batalov.