From: Alexey Tourbin <at@altlinux.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] После обновления пропали иконки на рабочем столе Date: Thu, 30 Aug 2012 22:16:28 +0400 Message-ID: <20120830181628.GD18053@altlinux.org> (raw) In-Reply-To: <20120830175537.GF7449@conflux.foliandre> On Thu, Aug 30, 2012 at 09:55:37PM +0400, Dmitry Chistikov wrote: > Dmitry Chistikov, Aug. 30, 2012, 21:30 +0400: > > Денис Смирнов, Aug. 30, 2012, 20:55 +0400: > > > Если у нас есть нечто с битом executable, оно обязано быть или известным > > > ядру форматом, или иметь шебанг в начале. > > > > Ага, мне именно молчаливая подмена семантики и не нравится... > > <<[...] Если файл является исполняемым и содержит текст, то оболочка > считает, что это файл с командами оболочки. Такой файл называется > *командным файлом оболочки*.>> Кажется, эта ситуация обрабатывается немного по-разному разными системными вызовами. Так, execvp(3) пробует запустить /bin/sh самостоятельно, если предыдущий пробный вызов execve(2) отвалился через ENOEXEC. Тогда как execv(3) не пробует запускать /bin/sh, надеясь что его запустит ядро. Попробуйте покопать эту тему, там не всё так просто, я до конца не разобрался, "кто на ком стоял". :-) > (выделение авторское; > Б. Керниган, Р. Пайк, "UNIX. Программное окружение", 1984, > пер. П. Шера, 2003) > > То есть в UPE это вообще *определение* (хотя, конечно, у них юникс > большими буквами).
next prev parent reply other threads:[~2012-08-30 18:16 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 [this message] 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 ` Денис Смирнов 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=20120830181628.GD18053@altlinux.org \ --to=at@altlinux.ru \ --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