27 Jun, 2006
15 commits
-
Cause the keys linked to a keyring to be unlinked from it when revoked and it
causes the data attached to a user-defined key to be discarded when revoked.This frees up most of the quota a key occupied at that point, rather than
waiting for the key to actually be destroyed.Signed-off-by: David Howells
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add the ability for key creation to overrun the user's quota in some
circumstances - notably when a session keyring is created and assigned to a
process that didn't previously have one.This means it's still possible to log in, should PAM require the creation of a
new session keyring, and fix an overburdened key quota.Signed-off-by: David Howells
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch converts the combination of list_del(A) and list_add(A, B) to
list_move(A, B) under fs/.Cc: Ian Kent
Acked-by: Joel Becker
Cc: Neil Brown
Cc: Hans Reiser
Cc: Urban Widmark
Acked-by: David Howells
Acked-by: Mark Fasheh
Signed-off-by: Akinobu Mita
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch converts the combination of list_del(A) and list_add(A, B) to
list_move(A, B) under drivers/.Acked-by: Corey Minyard
Cc: Ben Collins
Acked-by: Roland Dreier
Cc: Alasdair Kergon
Cc: Gerd Knorr
Cc: Paul Mackerras
Cc: Frank Pavlic
Acked-by: Matthew Wilcox
Cc: Andrew Vasquez
Cc: Mikael Starvik
Cc: Greg Kroah-Hartman
Signed-off-by: Akinobu Mita
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch converts the combination of list_del(A) and list_add(A, B) to
list_move(A, B) under net/rxrpc.Acked-by: David Howells
Signed-off-by: Akinobu Mita
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch converts the combination of list_del(A) and list_add(A, B) to
list_move(A, B).Cc: Greg Kroah-Hartman
Cc: Ram Pai
Signed-off-by: Akinobu Mita
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch converts the combination of list_del(A) and list_add(A, B) to
list_move(A, B) under arch/.Cc: Geert Uytterhoeven
Cc: "David S. Miller"
Signed-off-by: Akinobu Mita
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch converts list_add(A, B.prev) to list_add_tail(A, &B) for
readability.Acked-by: Karsten Keil
Cc: Jan Harkes
Acked-by: Jan Kara
AOLed-by: David Woodhouse
Cc: Sridhar Samudrala
Signed-off-by: Akinobu Mita
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This method died some time ago, so kill the doc for it.
Signed-off-by: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Magic sysrq fails to work on many keyboards, particulary most of notebook
keyboards. This patch fixes it.The idea is quite simple: Discard the SysRq break code if Alt is still being
held down. This way the broken keyboard can send the break code (or the user
with a normal keyboard can release the SysRq key) and the kernel waits until
the next key is pressed or the Alt key is released.Signed-off-by: Pavel Machek
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
nmi_create_files() in arch/i386/oprofile/nmi_int.c depends on
model->num_counters (number of performance counters) being less than 10.
While this is currently the case, it's too clever by half.Other archs aren't quite as clever: they assume 100. I suggest to
normalize them all to 1000.Cc: Philippe Elie
Cc: John Levon
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
There's a problem in drivers/bluetooth/dtl1_cs.c::dtl1_hci_send_frame()
If bt_skb_alloc() returns NULL, then skb_reserve(s, NSHL); will cause a
NULL pointer deref - ouch. If we can't allocate the resources we require
we need to tell the caller by returning -ENOMEM.Found by the coverity checker as bug #409
Signed-off-by: Jesper Juhl
Acked-by: Marcel Holtmann
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Convert kernel/cpu.c from semaphore to mutex.
I've reviewed all lock_cpu_hotplug() critical sections, and they all seem to
fit mutex semantics.Signed-off-by: Ingo Molnar
Cc: Rusty Russell
Cc: Ashok Raj
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
It seems ppc64 wants to lock mutexes in early bootup code, with interrupts
disabled, and they expect interrupts to stay disabled, else they crash.Work around this bug by making mutex debugging variants save/restore irq
flags.Signed-off-by: Ingo Molnar
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Update this driver for recent header file movement.
Cc: David Brownell
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
26 Jun, 2006
25 commits
-
binfmt_flat.c calls set_personality with PER_LINUX as the personality.
On the arm architecture this results in the program running in 26bit
usermode. PER_LINUX_32BIT should be used instead. This doesn't affect
other architectures that use binfmt_flat.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Change enable_irq() macro to be a statement, not expression.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Fix PLL setting for the Coldfire 5249 CPU. This brings it into line with
the new style frequency configuration of m68knommu parts.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Fix flush code for the ColdFire 5206/5206e/5272 cases.
Add support for the new ColdFire 532x CPU familySigned-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Here is a patch to the system call handling for 5307/5272/etc to:
- fix the strace support (one tested the wrong bit)
- make all system calls a little bit faster by inlining set_esp0 and
supporting ENOSYS out of the critical path.
- remove extraneous spacesSigned-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
This patch solve a bug triggered by execvp (this function use calloc to
store the argument list and gcc 3.4.x align the stack to word, not to dword).
This situation aren't related to signal handling and all 2.6.x have the bug.
On ColdFire targets we must force the stack to be aligned.Original patch from Andrea Tarani ,
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Remove list of fixed clock frequency options used for configuring master
clock, and make field an int. Much more flexible this way, no need to add
more options for every new used freqency.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Remove list of fixed clock frequency options used for configuring master
clock, and make field an int. Much more flexible this way, no need to add
more options for every new used freqency.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add support for the AVNET 5282 board.
Patch submitted by Daniel Alomar .Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add configure support for the new Freescale 532x family of CPUs.
Patch submitted by Matt Waddel .Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
This reverts commits
3e3318dee0878d42ed62a19c292a2ac284135db3 [PATCH] swsusp: x86_64 mark special saveable/unsaveable pages
b6370d96e09944c6e3ae8d5743ca8a8ab1f79f6c [PATCH] swsusp: i386 mark special saveable/unsaveable pages
ce4ab0012b32c1a4a1d6e934aeb73bf3151c48d9 [PATCH] swsusp: add architecture special saveable pages supportbecause not only do they apparently cause page faults on x86, the
infrastructure doesn't compile on powerpc.Signed-off-by: Linus Torvalds
-
Add build support for the new Freescale 532x CPU platforms.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add support for the UART addressing on the new Freescale M532x CPU family.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add build support for new Freescale M532x CPU family timer.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
A cleanup of m68knommu/kernel/setup.c :
- No need to initialize global pointers to NULL, they will have that value
automatically, and they eat up space in my data segment image in FLASH.
- Remove get_cpuinfo. It has been replaced by show_cpuinfo.Signed-off-by: Philippe De Muyter
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Don't rely on DEBUG having a value, check for it being defined.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Include the ColdFire 532x support when including ColdFire peripharp
support definitions.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add cache init support for the new ColdFire 532x CPU family.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
ColdFire serial driver support for the new 532x CPU family UARTs.
Patch submitted by Matt Waddel .
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Register definitions for the new Freescale 532x Coldfire CPU family.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add kernel startup code for the new Freescale 532x CPU family.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Modify the m68knommu/ColdFire PIT timer code to use register offsets
with raw_read/raw_write access, instead of a mapped struct.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Remove use of rom_length. It serves not real purpose, and when we move
to new stye RAM configuration it will not be needed.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Switch to naming the architecture config options for the m68knommu branch
as "M68K", dropping "M68KNOMMU". The CONFIG_MMU separates the 2 now, and
the m68knommu branch is still strictly speaking an M68K (including the
ColdFire parts).Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Modify the m68knommu/ColdFire core timer code to use register offsets
with raw_read/raw_write access, instead of a mapped struct.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds