On Wed, Aug 15, 2012 at 10:00 AM, Priebe, Sebastian
<[email protected]> wrote:
> Hello,
>
> I get " getty: setsid: Operation not permitted" if calling "getty 921600
> tty0".
Please find this place in getty.c:
pid = getpid();
if (getsid(0) != pid)
bb_perror_msg_and_die("setsid");
and modify it to print this:
bb_perror_msg_and_die("setsid fails: pid %d ppid %d sid %d", pid,
getppid(), getsid(0));
> I want to call getty from init to provide a login.
Please post your iniitab and .config file
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox