- 27 Mar, 2004 15 commits
-
-
Andrew Morton authored
From: James Morris <jmorris@redhat.com> This patch fixes a bug where the return value for a permission call is not checked. The bug was introduced when I added some code in the following changeset: <http://linux.bkbits.net:8080/linux-2.5/diffs/security/selinux/hooks.c@1.19?nav=index.html|src/|src/security|src/security/selinux|hist/security/selinux/hooks.c> Code was added after this line: err = avc_has_perm(isec->sid, node_sid, SECCLASS_NODE, node_perm, NULL, &ad); without adding an explicit check of 'err', which was previously returned from the function rather than being checked. i.e. it would drop through to: out: return err; } With the new code added, err can (and typically would) be overwritten with a successful value, causing the permission check to not deny permission if needed. The intended denial would have been logged. The patch below fixes this problem.
-
Andrew Morton authored
From: john stultz <johnstul@us.ibm.com> This patch ensures that cpu_khz is adjusted on cpufreq notifications even when the tsc timesource is not in use. It fixes the mostly cosmetic issue when using the ACPI PM timesource of /proc/cpuinfo not being properly updated when cpu frequency was lowered.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> System call speedup part 2.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> The purpose of this is to speed up system calls on s390. I managed to squeeze about 65 cycles from each system call. This improved e.g. getpid() from 232 to 157 cycles. As a nice side-effect it simplified the uaccess functions considerably.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> s390 tape driver changes: - Prevent offline while device is in use. - Do not use bus_id string in debug feature messages. - Check for IS_ERR(irb) error conditions in interrupt handler. - Fix removing tape discipline modules.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> s390 network driver changes: - ctc/lcs/qeth: prevent a ccw-device to be grouped multiple times. - icuv: clear correct field in iucv_register_program if no userid is specified. - lcs: fix online/offline cycle again. - lcs: fix ungrouping of lcs group device. The channels of the lcs card should be offline afterwards. - lcs: don't do netif_stop_queue if no tx buffer is available, just return -EBUSY and drop the packets.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> z/VM monitor stream changes: - Correct sysctl vs. module ref-counting.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> dasd device driver changes: - After a state change interrupt restart all running i/o on queue and reset device timer. - Improve some debug messages. - Lower timeout of reserve/release/steal_lock to 2 seconds. - Fix BIODASDPSRD ioctl. - Replace ro_flag, use_diag_flag and disconnect_error_flag words by bits. - Use BLKPG_DEL_PARTITION ioctl instead of a call to delete_partition because delete_partition is not an exported function. Since dasd_destroy_partitions can't do blkdev_get because dasd_open would fail, keep the block device open as long as partitions exist. This in turn requires a different approach to the open vs. offline race.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> s390 core changes: - Fix return type of some system call functions (long vs. int). - Fix prototypes for compat system call handlers. - Correct some bugs in the compat system call wrappers. - Fix broken pointer arithmetic which causes problems with gcc 3.4 and -march=z990 - Remove unnecessary #ifndef & optimize inline assemblies in spinlock.h. - Improve handling of deferred condition code 1. - New default configuration.
-
Andrew Morton authored
From: badari <pbadari@us.ibm.com> I ran into an ipc hang while trying to shutdown a database. The problem is due to missing sem_unlock() in find_undo().
-
Andrew Morton authored
copy_from_user() returns non-zero on faults..
-
Marcelo Tosatti authored
This fixes a problem where cy_wait_until_sent() miscalculates (calculate -1 on a unsigned long) the "char_time" parameter passed to schedule_timeout(). Fix that by making it a signed long, and checking for negative value.
-
Andi Kleen authored
This helps vmware users running vmware on x86-64 - vmnet tries to set up a bridge. Emulate these ioctls. The bridge has more ioctls on its bridge device, but these don't seem to be needed here.
-
Andi Kleen authored
Don't register disabled nodes. Hits on x86-64 when there is a node with no memory. X86-64 shares this code with i386.
-
Andi Kleen authored
The newest CVS glibc assumes that Linux >=2.6.4 always passes d_type. This patch adds this to the 32bit getdents on x86-64 too Patch originally from Marcus Meissner
-
- 26 Mar, 2004 12 commits
-
-
bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Len Brown authored
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5
-
Len Brown authored
"acpi_wake_gpes_always_on" boot flag for old GPE behaviour
-
Len Brown authored
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5
-
Len Brown authored
Implemented support for "wake" GPEs via interaction between GPEs and the _PRW methods. Every GPE that is pointed to by one or more _PRWs is identified as a WAKE GPE and by default will no longer be enabled at runtime. Previously, we were blindly enabling all GPEs with a corresponding _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway. We believe this has been the cause of thousands of "spurious" GPEs on some systems. This new GPE behavior is can be reverted to the original behavior (enable ALL GPEs at runtime) via a runtime flag. Fixed a problem where aliased control methods could not access objects properly. The proper scope within the namespace was not initialized (transferred to the target of the aliased method) before executing the target method. Fixed a potential race condition on internal object deletion on the return object in AcpiEvaluateObject. Integrated a fix for resource descriptors where both _MEM and _MTP were being extracted instead of just _MEM. (i.e. bitmask was incorrectly too wide, 0x0F instead of 0x03.) Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a fault in some cases. Updated Notify() values for debug statements in evmisc.c Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
-
Len Brown authored
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5
-
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
- 25 Mar, 2004 13 commits
-
-
Jens Axboe authored
Only allow get_last_written() to override get_capacity(), if it is bigger.
-
Benjamin Herrenschmidt authored
I figured the best way to stop beeing bothered by users trying to run preempt was to fix it ;) Here's a first batch that close some races we had when testing regs->msr for altivec or FPU enable, then doing the giveup_* function. A preempt in between those would have caused us to save a stale altivec or FPU context.
-
Benjamin Herrenschmidt authored
The dmasound driver occasionally hangs a process on exit. Apparently there is a possible case where the sound HW stops draining output samples and the driver waits forever in its release() callback. It should check for signals(), but it seems signal_pending() never returns 1 when the process is beeing killed (implicit release() of files on exit). This patch adds a safety timeout to the release() function to make sure we can at least close the driver. I'll try to find the reason we aren't driving samples later, but it is better to have a safety just incase the sound clock goes berserk for some reason.
-
Benjamin Herrenschmidt authored
This fixes some racy code in the management of asynchronous brightness and battery requests in the via-pmu driver used on powerbooks. This should fix some preempt related problems (there is no SMP powerbook yet :)
-
Benjamin Herrenschmidt authored
This fixes a few races in the LED code of the adbhid driver that would affect SMP or preempt.
-
Benjamin Herrenschmidt authored
The ppc32 syscall entry code could access the thread info flags in a racy way, thus potentially losing bits sets there at interrupt time or by another CPU, like NEED_RESCHED or SIGPENDING (ouch !). This fixes it by moving the potentially racy bit to a different field (I preferred that rather than turning the access into an atomic operation for performances reasons).
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
-
Russell King authored
Anakin has not been maintained since it was (partially) merged, and the maintainers appear to ignore mail about it. No one appears willing to maintain it either. However, some unrelated kernel maintainers have been updating various files while they've been working in the area - which is wasted work for something which isn't maintained. Therefore, this cset removes Anakin completely from the kernel.
-
Russell King authored
This adds AMBA and SA11xx support for dev->coherent_dma_mask.
-
bk://bk.arm.linux.org.uk/linux-2.6-pcmciaLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Len Brown authored
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5
-