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>] [day] [month] [year] [list]
Date:	Wed, 16 Jan 2008 13:29:31 +0100
From:	Tilman Schmidt <tilman@...p.cc>
To:	linux-kernel@...r.kernel.org
Subject: assigning a line discipline to a serial device from inside the kernel

The Siemens Gigaset M101 driver (drivers/isdn/gigaset/ser_gigaset.ko)
is implemented as a serial line discipline N_GIGASET_M101, much like
the better-known N_SLIP and N_PPP LDs. It must therefore be "pushed"
onto a serial device in order to be used.

The classic approach is a trivial userspace daemon which opens the
device, sets the LD via ioctl(~,TIOCSETD,~), and must then sleep
indefinitely while keeping the device open, because closing it
would unload the LD.

Is there a clean and acceptable way to avoid this userspace daemon
and push the LD onto the serial device from within the kernel?

Thanks,
Tilman

-- 
Tilman Schmidt                    E-Mail: tilman@...p.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)


Download attachment "signature.asc" of type "application/pgp-signature" (251 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ