From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@altlinux.ru> Subject: Re: [devel] Re: IA: /usr/sbin/gnome-pty-helper Date: Tue, 8 Oct 2002 12:54:31 +0400 Message-ID: <20021008085430.GA9052@basalt.office.altlinux.ru> (raw) In-Reply-To: <20021008083846.GH11539@pyro.hopawar.private.net> [-- Attachment #1: Type: text/plain, Size: 1248 bytes --] On Tue, Oct 08, 2002 at 03:38:46PM +0700, Alexey Morozov wrote: > > > 1. запуск терминала (egid == utempter, gid == user_gid) > > > | > > > \_ 2. запуск pty-helper > > > 3. сброс привилегий в _gid_ (не в egid!). > > > 4. инициализация GTK+ и всяких прочих там виджетсетов/библиотек и > > > всего остального. > > Выполнение пункта 2 до пункта 4, скорее всего, потребует серьезного > > изменения в коде эмуляторов. > Хм... Очень странно. Это ж в ровности один вызов utempter_add_record? Дело в том, что нельзя c помощью utempter'а внести информацию о терминале, которого еще нет. А некоторые эмуляторы (i.e. screen) создают терминалы по мере надобности. > > > плюсы: достаточная простота реализации, минимизация изменений в > > > сравнении с vanilla sources. > > > минус: существуют проблемы с отслеживанием момента закрытия > > Сформулирую иначе: нет способа внести запись о закрытии терминала. > :-) > > > > Кстати, возможно, идея с долгоживущим utempter'ом или привилегированным > > > процессом его запускающим, возможно, заслуживает рассмотрения... > > Можно даже сервер сделать. :) > Ну, сервер не сервер... Долгоживущий процесс... Можно и сервер, с авторизацией через unix domain socket. Но это не меняет сути дела. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-10-08 8:54 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-05 10:52 morozov 2002-10-06 20:19 ` Dmitry V. Levin 2002-10-07 7:15 ` Alexey Morozov 2002-10-07 9:36 ` Dmitry V. Levin 2002-10-08 6:31 ` Alexey Morozov 2002-10-08 7:49 ` Dmitry V. Levin 2002-10-08 8:38 ` Alexey Morozov 2002-10-08 8:54 ` Dmitry V. Levin [this message] 2002-10-08 13:16 ` [devel] а оно _вообще_ -- нужно? (was: IA: /usr/sbin/gnome-pty-helper) 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=20021008085430.GA9052@basalt.office.altlinux.ru \ --to=ldv@altlinux.org \ --cc=devel@altlinux.ru \ /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