From owner-freebsd-questions@FreeBSD.ORG Tue Oct 17 02:35:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A8E816A403 for ; Tue, 17 Oct 2006 02:35:14 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B44B43D5C for ; Tue, 17 Oct 2006 02:35:12 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id k9H2YxLq082895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 17 Oct 2006 09:35:00 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.3/8.12.11) id k9H2ZElx012419; Tue, 17 Oct 2006 09:35:14 +0700 (ICT) Date: Tue, 17 Oct 2006 09:35:14 +0700 (ICT) Message-Id: <200610170235.k9H2ZElx012419@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: User vs Kernel mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 02:35:14 -0000 Hi, I have an application that is running on virtual tty 0, i start it the following way: /etc/ttys ttyv0 "/usr/libexec/getty Door" cons25 on secure /etc/gettytab Door: :ht:np:sp#115200:al=door: /etc/passwd door:*:0:0:Run the door program:/usr/local/door:/usr/local/door/door While the application is launched by getty, I would like to know if it is running in user mode or in kernel mode. I think in user mode, and so there is no reason why it should affect other processes, even if my application had some memory management problems. Best regards, Olivier