User vs Kernel mode

Olivier Nicole on at cs.ait.ac.th
Tue Oct 17 02:35:14 UTC 2006


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



More information about the freebsd-questions mailing list