This patch adds support for throttling and unthrottling input when
the tty driver can't handle it.
Index: linux-2.6.15/arch/um/drivers/ssl.c
===
--- linux-2.6.15.orig/arch/um/drivers/ssl.c 2006-01-03 17:32:45.0
-0500
+++
This patch simplifies the opening and closing of host console
devices and the registration and deregistration of IRQs. The intent
is to make it obvious that an IRQ can't exist without an open file
descriptor.
chan_enable will now open the channel, and when both opening and IRQ
registration are des
This patch makes a bunch of non-functional changes -
return(foo); becomes return foo;
some statements are broken across lines for readability
some trailing whitespace is cleaned up
open_one_chan took four arguments, three of which could be
deduced from the first. Accordingly, they
When the tty flip_buf is full, it's a good idea to delay the input
processing for a jiffy, rather than just scheduling the tasklet
immediately.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/drivers/chan_kern.c
This patch changes when console devices are configured in order to
prepare the ground for the next patch.
parse_chan_pair is now done earlier, when initcalls are run, rather
than when the device is opened.
When a host device disappears, the channel list is closed, but not
freed. This is required b
line_setup is changed to return the device which it set up, rather
than just success or failure. This will be important in the
line-config patch.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/drivers/line.c
==
A bit of restructuring which eliminates the all_allowed argument
(which is mconsole-specific) to line_setup. That logic is moved to
the mconsole callback.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/drivers/line.c
There are a few functions which are declared to return something,
but don't. These are actually infinite loops which are forced to be
declared as non-void. This makes them all return 0.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/drivers/ubd_kern.c
=
Some structure fields were being dynamically initialized when they
could be initialized at compile-time instead.
This also makes some declarations static (in the C sense).
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/include/line.h
=
This removes a structure field which turned out to be pointless, and references
to it.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/drivers/chan_kern.c
===
--- linux-2.6.15.orig/arch/um/drivers/chan_kern.c
This patch replaces instances of "sizeof(foo)/sizeof(foo[0])" with
ARRAY_SIZE(foo), which expands to the same thing.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/drivers/ssl.c
===
--- linux-2.6.15.orig/ar
There were a bunch of calls to uml_strdup dating from before kstrdup
was introduced. This changes those calls. It doesn't eliminate the
definition since there is still a couple of calls in userspace code (which
should probably call the libc strdup).
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
There were some trivial merge problems when using the 2.6.14 patch.
Here is the same patch but without any offsets:
http://uml.nagafix.co.uk/skas-2.6.15-v9-pre7.patch.bz2
Antoine
---
This SF.net email is sponsored by: Splunk Inc. Do you grep t
On Tuesday 03 January 2006 14:55, Lubomir Host wrote:
> Hi guys,
>
> I have one question. It is possible to run grsecurity kernel with skas3
> UML (User Mode Linux) patch from
>
> http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.14-
>v8.2/skas-2.6.14-v8.2.patch.bz2
>
> ? I ha
Hi guys,
I have one question. It is possible to run grsecurity kernel with skas3
UML (User Mode Linux) patch from
http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.14-v8.2/skas-2.6.14-v8.2.patch.bz2
? I have tried to create kernel with following patches (apply in this
orde
15 matches
Mail list logo