From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] nologin Date: Tue, 18 Mar 2008 03:56:26 +0300 Message-ID: <20080318005626.GA3641@wo.int.altlinux.org> (raw) In-Reply-To: <20080303165153.GA22214@wo.int.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1104 bytes --] On Mon, Mar 03, 2008 at 07:51:53PM +0300, Dmitry V. Levin wrote: > On Mon, Mar 03, 2008 at 06:52:39PM +0200, Kirill A. Shutemov wrote: > > On [Mon, 03.03.2008 14:16], Sergey Vlasov wrote: [...] > > > Статически собрать nologin с klibc? > > > > Дима, так сойдёт? > > Не знаю, давайте попробуем. Я посмотрел klibc/libc_init.c, там ничего опасного для nologin не просматривается. x86_64$ klcc -static -Wall -W nologin.c -o nologin && strip -R .comment -R .note nologin && size nologin && ./nologin text data bss dec hex filename 531 0 32 563 233 nologin This account is currently not available. Так что придётся собирать nologin с klibc, других вариантов нет. Между прочим, true/false снова стал нормально собираться с glibc: x86_64$ printf '%s\n%s\n' '#include <unistd.h>' 'void _start(void){_exit(0);}' |gcc -O2 -static -Wall -W -nostartfiles -xc - && strip -R .comment -R .note a.out && size a.out && ./a.out && echo $? text data bss dec hex filename 160 24 4 188 bc a.out 0 -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-03-18 0:56 UTC|newest] Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-09-11 14:43 [devel] kernel-headers-std Kirill A. Shutemov 2007-09-11 14:50 ` Led 2007-09-11 14:58 ` Kirill A. Shutemov 2007-09-11 18:51 ` Dmitry V. Levin 2007-09-11 15:28 ` Led 2007-09-11 19:49 ` Dmitry V. Levin 2007-09-11 16:13 ` Led 2007-09-11 16:51 ` Sergey Vlasov 2007-09-11 20:20 ` Dmitry V. Levin 2007-09-11 16:48 ` Led 2007-09-11 16:02 ` Sergey Vlasov 2007-09-11 20:48 ` Kirill A. Shutemov 2007-09-11 21:03 ` Led 2007-09-11 21:14 ` Kirill A. Shutemov 2007-09-11 21:27 ` Led 2007-09-11 21:51 ` Led 2007-09-12 9:07 ` Sergey Vlasov 2007-09-12 9:38 ` Kirill A. Shutemov 2007-09-11 18:48 ` Dmitry V. Levin 2007-09-11 14:53 ` Kirill A. Shutemov 2007-09-11 15:22 ` Kirill A. Shutemov 2007-09-11 15:38 ` Led 2007-09-11 19:51 ` Dmitry V. Levin 2007-09-12 12:09 ` Kirill A. Shutemov 2007-09-13 17:40 ` Kirill A. Shutemov 2007-09-13 23:10 ` Dmitry V. Levin 2007-09-17 9:12 ` Kirill A. Shutemov 2007-09-17 17:21 ` Dmitry V. Levin 2007-09-17 17:35 ` Kirill A. Shutemov 2007-09-18 21:40 ` Dmitry V. Levin 2007-09-19 13:14 ` Kirill A. Shutemov 2007-09-19 13:19 ` Dmitry V. Levin 2007-09-19 13:30 ` Kirill A. Shutemov 2007-09-19 13:31 ` Kirill A. Shutemov 2007-09-19 13:53 ` Dmitry V. Levin 2007-09-19 14:01 ` Kirill A. Shutemov 2007-09-19 15:20 ` Kirill A. Shutemov 2007-09-19 15:52 ` Dmitry V. Levin 2007-09-19 16:02 ` Kirill A. Shutemov 2007-09-20 11:36 ` Kirill A. Shutemov 2007-09-20 11:39 ` Kirill A. Shutemov 2007-09-21 9:23 ` Kirill A. Shutemov 2007-09-21 9:27 ` Dmitry V. Levin 2007-09-21 9:40 ` Kirill A. Shutemov 2007-09-21 9:49 ` Dmitry V. Levin 2008-03-03 10:38 ` Kirill A. Shutemov, Dmitry V. Levin 2008-03-03 10:40 ` [devel] nologin Dmitry V. Levin 2008-03-03 11:07 ` Kirill A. Shutemov 2008-03-03 11:16 ` Sergey Vlasov 2008-03-03 16:52 ` Kirill A. Shutemov 2008-03-03 16:51 ` Dmitry V. Levin 2008-03-18 0:56 ` Dmitry V. Levin [this message] 2007-09-18 21:41 ` [devel] kernel-headers-std Dmitry V. Levin 2007-09-19 11:44 ` Kirill A. Shutemov 2007-09-23 21:54 ` Dmitry V. Levin 2007-09-24 7:08 ` Kirill A. Shutemov 2007-09-26 17:30 ` Kirill A. Shutemov 2007-09-26 19:09 ` Dmitry V. Levin 2007-09-18 9:56 ` Michael Shigorin
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=20080318005626.GA3641@wo.int.altlinux.org \ --to=ldv@altlinux.org \ --cc=devel@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 Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git