public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: "Grigory Batalov" <grisxa@mail.ru>
To: linux-msdos@vger.kernel.org
Subject: Re: IPX without suidroot
Date: Mon, 5 Aug 2002 09:47:22 +0400	[thread overview]
Message-ID: <20020805094722.3e17b227.grisxa@mail.ru> (raw)
In-Reply-To: <3D4ABF2A.3040305@yahoo.com>

On Fri, 02 Aug 2002 21:19:38 +0400
Stas Sergeev <stssppnn@yahoo.com> 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.

  parent reply	other threads:[~2002-08-05  5:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-02 17:19 IPX without suidroot Stas Sergeev
2002-08-02 21:43 ` Grigory Batalov
2002-08-05  5:47 ` Grigory Batalov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-02 14:37 Stas Sergeev
2002-08-02 15:52 ` Grigory Batalov
2002-08-02 12:38 Stas Sergeev
2002-08-02 13:47 ` Grigory Batalov
2002-08-01 14:02 Stas Sergeev
2002-08-02 10:52 ` Grigory Batalov
2002-08-01 10:36 Grigory Batalov
2002-08-01 11:58 ` Reinhard Karcher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020805094722.3e17b227.grisxa@mail.ru \
    --to=grisxa@mail.ru \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox