From: "Денис Смирнов" <mithraen@freesource.info> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] После обновления пропали иконки на рабочем столе Date: Fri, 31 Aug 2012 10:49:16 +0400 Message-ID: <20120831064916.GA10923@t60p.mithraen.ru> (raw) In-Reply-To: <20120831054612.GD7701@conflux.foliandre> [-- Attachment #1: Type: text/plain, Size: 1229 bytes --] On Fri, Aug 31, 2012 at 09:46:12AM +0400, Dmitry Chistikov wrote: DC> Или Вы про вот эту особенность: DC> If the header of a file isn't recognized (the attempted execve(2) failed with DC> the error ENOEXEC), these functions will execute the shell (/bin/sh) with the DC> path of the file as its first argument. (If this attempt fails, no further DC> searching is done.) Именно. DC> Короче говоря, если файл не является "настоящим" бинарником (a.out DC> dynamically linked binary executable, dynamically linked ELF executable) DC> и не является сценарием оболочки (interpreter script в терминах execve(2); DC> грубо говоря, в первой строке должен быть корректная #!-строка), DC> то системный вызов для него оболочку запускать и не будет. Заниматься DC> этой самодеятельностью будут разве что функции стандартной библиотеки - DC> или же пользовательские программы (возможно, и сами оболочки). Если я правильно понял последние две предложения, то execve попытается сам вызвать дефолтный /bin/sh, и только если обломается -- дальнейшеие попытки выполинть завершаться. -- С уважением, Денис http://mithraen.ru/ ---------------------------------------------------------------------------- [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-08-31 6:49 UTC|newest] Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-26 15:49 Chernetsky Andrey 2012-08-27 8:00 ` Андрей Черепанов 2012-08-27 9:27 ` Chernetsky Andrey 2012-08-28 9:25 ` Michael Shigorin 2012-08-28 10:14 ` Андрей Черепанов 2012-08-28 19:13 ` Chernetsky Andrey 2012-08-29 6:36 ` Dmitry Chistikov 2012-08-29 9:56 ` Андрей Черепанов 2012-08-29 10:06 ` Dmitry Chistikov 2012-08-29 10:37 ` Андрей Черепанов 2012-08-29 12:23 ` Dmitry Chistikov 2012-08-29 11:00 ` Sergey V Turchin 2012-08-29 12:24 ` Dmitry Chistikov 2012-08-29 12:42 ` Sergey V Turchin 2012-08-29 14:43 ` Dmitry Chistikov 2012-08-30 12:09 ` Sergey V Turchin 2012-08-30 15:17 ` Dmitry Chistikov 2012-08-30 15:47 ` Sergey V Turchin 2012-08-30 16:40 ` Dmitry Chistikov 2012-08-30 16:58 ` Денис Смирнов 2012-08-30 17:23 ` Dmitry Chistikov 2012-08-31 9:53 ` Sergey V Turchin 2012-09-01 8:44 ` [Comm] +x on non-executables, was: " Dmitry Chistikov 2012-09-24 15:00 ` Sergey V Turchin 2012-08-30 16:55 ` [Comm] " Денис Смирнов 2012-08-30 17:30 ` Dmitry Chistikov 2012-08-30 17:55 ` Dmitry Chistikov 2012-08-30 18:16 ` Alexey Tourbin 2012-08-30 18:37 ` [Comm] shell scripts, was: " Dmitry Chistikov 2012-08-31 13:23 ` Alexey Tourbin 2012-08-31 13:38 ` Alexey Borisenkov 2012-08-31 21:59 ` Dmitry Chistikov 2012-08-30 18:50 ` [Comm] " Денис Смирнов 2012-08-31 5:46 ` Dmitry Chistikov 2012-08-31 6:49 ` Денис Смирнов [this message] 2012-08-31 7:18 ` [Comm] no-shebang scripts, was: " Dmitry Chistikov 2012-08-31 9:07 ` Денис Смирнов 2012-08-31 9:55 ` [Comm] " Sergey V Turchin 2012-08-31 16:40 ` Денис Смирнов 2012-08-29 12:47 ` Sergey V Turchin 2012-08-27 18:00 ` Michael Shigorin 2012-08-27 20:31 ` Андрей Черепанов
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=20120831064916.GA10923@t60p.mithraen.ru \ --to=mithraen@freesource.info \ --cc=community@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git