lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0801031604130.26693@fbirervta.pbzchgretzou.qr>
Date:	Thu, 3 Jan 2008 16:04:47 +0100 (CET)
From:	Jan Engelhardt <jengelh@...putergmbh.de>
To:	devzero@....de
cc:	linux-kernel@...r.kernel.org
Subject: Re: serial console _after_ boot ? - was: Redirect kernel console


On Jan 3 2008 15:39, devzero@....de wrote:
>fantastic, thanks!
>
>unfortunately......
>
>opensuse103:/home/roland/serialcons # ./mytioccons
>ioctl: Device or resource busy
>
>but i`m not deep enough into programming to understand this.
>

>int main(void)
>{
>int fd = open("/dev/ttyS0", O_RDWR);
>int errno;

This errno is so out of place.

>
>ioctl(0, TIOCCONS, NULL);
>
>if (ioctl(fd, TIOCCONS, NULL) < 0)
>        printf("ioctl: %s\n", strerror(errno));
>}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ