Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.unix.programmer > #8226

Re: Getting the saved set uid

From spud@potato.field
Newsgroups comp.unix.programmer
Subject Re: Getting the saved set uid
Date 2016-03-24 09:40 +0000
Organization Aioe.org NNTP Server
Message-ID <nd0cml$1iq6$1@gioia.aioe.org> (permalink)
References <ncucac$9ke$1@gioia.aioe.org> <ed114e77-047a-4c12-804a-6634339ed45f@googlegroups.com>

Show all headers | View raw


On Wed, 23 Mar 2016 10:01:14 -0700 (PDT)
Philip Guenther <guenther@gmail.com> wrote:
>On Wednesday, March 23, 2016 at 8:21:55 AM UTC-7, sp...@potato.field wrote:
>> Is there a way in C of getting the current saved set user id (as set by
>> seteuid()) ?
>
>Does your system have useful manpages?  If so, "man -k" (also called
>"apropos") can be a quick start to these questions:

$ man getresgid
No manual entry for getresgid
$ man getresuid
No manual entry for getresuid

So, hows that sarcasm working out for you?

Turns out those functions are non standard. Supported on Linux and hp-ux
but thats about it. Not OS/X as you can see above.

Are there posix functions that do the same? And yes I have googled already
otherwise I wouldn't asking.

--
Spud

Back to comp.unix.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Getting the saved set uid spud@potato.field - 2016-03-23 15:21 +0000
  Re: Getting the saved set uid Philip Guenther <guenther@gmail.com> - 2016-03-23 10:01 -0700
    Re: Getting the saved set uid spud@potato.field - 2016-03-24 09:40 +0000
      Re: Getting the saved set uid Philip Guenther <guenther@gmail.com> - 2016-03-24 09:10 -0700
        Re: Getting the saved set uid spud-u-dont-like@potato.field - 2016-03-25 12:50 +0000
          Re: Getting the saved set uid Barry Margolin <barmar@alum.mit.edu> - 2016-03-25 10:28 -0400
          Sarcasm in Usenet posts (Was: Getting the saved set uid) gazelle@shell.xmission.com (Kenny McCormack) - 2016-03-25 14:29 +0000
            Re: Sarcasm in Usenet posts (Was: Getting the saved set uid) Barry Margolin <barmar@alum.mit.edu> - 2016-03-25 11:49 -0400
              Re: Sarcasm in Usenet posts (Was: Getting the saved set uid) Ian Zimmerman <itz@buug.org> - 2016-03-26 09:41 -0700
            Re: Sarcasm in Usenet posts (Was: Getting the saved set uid) Philip Guenther <guenther@gmail.com> - 2016-03-25 10:10 -0700
      Re: Getting the saved set uid <william@wilbur.25thandClement.com> - 2016-03-24 13:16 -0700
        Re: Getting the saved set uid boon <fred900rbc@gmail.com> - 2016-04-01 04:42 -0700
          Re: Getting the saved set uid Noob <root@127.0.0.1> - 2016-04-01 19:16 +0200
            Re: Getting the saved set uid Barry Margolin <barmar@alum.mit.edu> - 2016-04-01 17:23 -0400
              Re: Getting the saved set uid boon <fred900rbc@gmail.com> - 2016-04-01 17:27 -0700
  Re: Getting the saved set uid boon <root@127.10.10.1> - 2016-03-24 12:08 +0100
    Re: Getting the saved set uid spud@potato.field - 2016-03-24 11:59 +0000
      Re: Getting the saved set uid boon <root@127.10.10.1> - 2016-03-24 13:19 +0100

csiph-web