ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] dist-upgrade -> /bin/zsh: Permission denied
Date: Wed, 22 Mar 2006 15:24:35 +0300
Message-ID: <44214203.5060108@ats-manager.stc.donpac.ru> (raw)
In-Reply-To: <44213E62.6080403@ats-manager.stc.donpac.ru>

А что это вообще за системный вызов такой?

> [pid  5755] setuid32(500)               = 0

$ cat setuid.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>

int main(int argc, char **argv)
{
         setuid32(500);
         return 0;
}

$ gcc -o setuid setuid.c
/tmp/.private/test/ccCpYbFn.o: In function `main':setuid.c:(.text+0x25): 
undefined reference to `setuid32'
collect2: ld returned 1 exit status

$ grep -r setuid32 /usr/include/linux-2.6.14-std26-up/
/usr/include/linux-2.6.14-std26-up/include/asm/unistd.h:#define 
__NR_setuid32           213
/usr/include/linux-2.6.14-std26-up/include/asm-i386/unistd.h:#define 
__NR_setuid32              213


-- 
С уважением, Прокопьев Евгений



  reply	other threads:[~2006-03-22 12:24 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21  8:10 Eugene Prokopiev
2006-03-21 11:08 ` Eugene Prokopiev
2006-03-21 12:24   ` Michael Shigorin
2006-03-21 13:26     ` Eugene Prokopiev
2006-03-21 13:39 ` Epiphanov Sergei
2006-03-21 13:49   ` Eugene Prokopiev
2006-03-21 14:12     ` Epiphanov Sergei
2006-03-21 14:22       ` Eugene Prokopiev
2006-03-21 14:48         ` Epiphanov Sergei
2006-03-22 11:08           ` Eugene Prokopiev
2006-03-21 14:53         ` ABATAPA
2006-03-22 11:10           ` Eugene Prokopiev
2006-03-22 12:09           ` Eugene Prokopiev
2006-03-22 12:24             ` Eugene Prokopiev [this message]
2006-03-22 14:21               ` Eugene Prokopiev
2006-03-22 14:43                 ` Sergey Vlasov
2006-03-22 17:09                   ` Eugene Prokopiev
2006-03-21 14:16     ` Epiphanov Sergei
2006-03-21 14:20       ` Eugene Prokopiev
2006-03-22 11:11 ` Eugene Prokopiev
2006-03-22 15:51 ` Dmitry V. Levin
2006-03-22 17:11   ` Eugene Prokopiev
2006-03-22 17:16     ` Eugene Prokopiev

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=44214203.5060108@ats-manager.stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=sisyphus@lists.altlinux.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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git