Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Work continues in this area. -- DEC's SPR-Answering-Automaton


devel / comp.lang.ada / Re: best way of dropping privileges with setresuid

SubjectAuthor
* best way of dropping privileges with setresuidKevin Chadwick
`- Re: best way of dropping privileges with setresuidKevin Chadwick

1
best way of dropping privileges with setresuid

<2bcb8dd1-40b6-4125-b89d-01bf75c9bff2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5983&group=comp.lang.ada#5983

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a37:6683:: with SMTP id a125mr27177493qkc.351.1632231364972;
Tue, 21 Sep 2021 06:36:04 -0700 (PDT)
X-Received: by 2002:a25:7e46:: with SMTP id z67mr36569062ybc.166.1632231364813;
Tue, 21 Sep 2021 06:36:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 21 Sep 2021 06:36:04 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=84.92.86.82; posting-account=OCGnxwkAAADCyu751mus9xKbEvUSs9BP
NNTP-Posting-Host: 84.92.86.82
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2bcb8dd1-40b6-4125-b89d-01bf75c9bff2n@googlegroups.com>
Subject: best way of dropping privileges with setresuid
From: m8il1i...@gmail.com (Kevin Chadwick)
Injection-Date: Tue, 21 Sep 2021 13:36:04 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 6
 by: Kevin Chadwick - Tue, 21 Sep 2021 13:36 UTC

Hi,

I have found the Gnat Create_Socket_Pair procedure.

What is the best way of calling setresuid?

C interface?

Re: best way of dropping privileges with setresuid

<6203fa6d-40b8-43ac-af3d-8c0949600331n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5984&group=comp.lang.ada#5984

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:436b:: with SMTP id u11mr30776727qvt.26.1632233012488;
Tue, 21 Sep 2021 07:03:32 -0700 (PDT)
X-Received: by 2002:a05:6902:1549:: with SMTP id r9mr37654480ybu.204.1632233012290;
Tue, 21 Sep 2021 07:03:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 21 Sep 2021 07:03:32 -0700 (PDT)
In-Reply-To: <2bcb8dd1-40b6-4125-b89d-01bf75c9bff2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.92.86.82; posting-account=OCGnxwkAAADCyu751mus9xKbEvUSs9BP
NNTP-Posting-Host: 84.92.86.82
References: <2bcb8dd1-40b6-4125-b89d-01bf75c9bff2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6203fa6d-40b8-43ac-af3d-8c0949600331n@googlegroups.com>
Subject: Re: best way of dropping privileges with setresuid
From: m8il1i...@gmail.com (Kevin Chadwick)
Injection-Date: Tue, 21 Sep 2021 14:03:32 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 9
 by: Kevin Chadwick - Tue, 21 Sep 2021 14:03 UTC

On Tuesday, September 21, 2021 at 1:36:05 PM UTC, Kevin Chadwick wrote:
> Hi,
>
> I have found the Gnat Create_Socket_Pair procedure.
>
> What is the best way of calling setresuid?
>
> C interface?

Or should I be looking at isolation with Ada, completely differently to C and perhaps even not using any form of IPC?

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor